9front - general discussion about 9front
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: 9front@9front.org
Subject: Re: [9front]
Date: Wed, 12 Jan 2022 08:30:46 +0000 (UTC)	[thread overview]
Message-ID: <43f2820c-c15a-4e6f-a521-82d24d21c4a9@sirjofri.de> (raw)
In-Reply-To: <133F8ADF5C4C2F0F024B47DC463C7216@gmail.com>


12.01.2022 02:16:57 thinktankworkspaces@gmail.com:

> Super frustrating. I'm sure I'm making it more difficult
>
> I tried following 4.2.2.1
>
> It seems like things should be easier. 9bootfat, 9pc, ini and 
> 9front.iso. I think the frustrating part was being stuck dealing with a
> usb device. I don't care about thumb drives. All of this should
> be accomplished with an iso or 9front.bin or something similar.
>
> I ended up doing a dd from /dev/SDUxxx -of cd.iso
>
> But it was exactly 32G image. I have a limitation because its on
> AWS with an EBS of 32G maximum.

Since you dd'd the iso to the usb drive before you can also just dd that 
amount of data back to an image file. I don't exactly know the parameter 
now, but the man page lists it.

> In theory I should have been mount the ISO and dump the data, then
> modify ini. But how in the world do you write the mbr you can't do
> that to a directory
>
> disk/mbr -r mbr /dev/sdUxxx

The sdUxxx directory contails lots of files for lowlevel interaction. E.g 
it contains a ctl and data, and a file for each partition you can mount.

In this case I'm pretty sure you can call the command on the data file 
(which is the disk ignoring all partitions).

> So really I'm not sure how iso's are created in 9front. I suspect
> some sort of rockridge format and a generic bootloader.

9front has its own bootloader, at least for x86/amd64 standard machines. 
However, some people got 9front booting with other linux bootloaders.

As for the iso, I can't really help you. I never created an iso (I 
planned to do it) on 9front with the 9front system.

However, there are commands and filesystem that support the generation of 
iso files in general. I did it some time ago since it is easier to burn 
an iso to cd than a whole directory of files.

lookman iso

> Here is what I ended up doing. I fired up qemu locally and performed
> the install. Then I logged in and changed the ini file and added
> console=0. Then I copied the 9front.img to the AWS ec2 instance.
> Everything came up fine text mode. Nice! and thak you for the help.

Have you tried dding the iso to a usb drive and edit the file in the fat 
directory? (And dding back)

It might even be possible that you can mount the iso somehow and change 
the file there. I'm not sure about it and I don't know how it handles the 
mbr then...

I hope this helps

sirjofri

  reply	other threads:[~2022-01-12  8:56 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10  8:44 [9front] thinktankworkspaces
2022-01-10 10:21 ` [9front] sirjofri
2022-01-10 17:25   ` [9front] thinktankworkspaces
2022-01-10 23:33     ` [9front] sirjofri
2022-01-12  1:16       ` [9front] thinktankworkspaces
2022-01-12  8:30         ` sirjofri [this message]
2022-01-12  9:29           ` [9front] Eckard Brauer
2022-01-12 13:09             ` [9front] sirjofri
2022-01-12 13:40               ` [9front] hiro
2022-01-12 14:59                 ` [9front] thinktankworkspaces
2022-01-12 16:56                   ` [9front] hiro
2022-01-14 11:45                   ` [9front] cinap_lenrek
2022-01-12 14:40             ` [9front] thinktankworkspaces
2022-01-12 14:18           ` [9front] Stanley Lieber
2022-01-12 15:04             ` [9front] thinktankworkspaces
2022-01-10 12:10 ` [9front] mkf
  -- strict thread matches above, loose matches on Subject: below --
2022-06-22 12:28 [9front] roy niang
2022-06-22 12:32 ` [9front] stefncb
2021-09-16 22:17 [9front] Drew Fargo
2021-08-24 19:25 [9front] Jonas
2021-06-09 14:33 [9front] adr
2021-03-31 16:32 [9front] cinap_lenrek
2021-04-01 18:33 ` [9front] Romano
2021-04-01 18:54   ` [9front] Romano
2021-04-01 19:03   ` [9front] cinap_lenrek
2021-04-01 23:16     ` [9front] Romano
2021-04-02 14:31       ` [9front] cinap_lenrek
2021-04-02 18:31         ` [9front] cinap_lenrek
2021-04-03  0:41           ` [9front] Romano
2021-04-02 21:24         ` [9front] Romano
2021-04-02 21:54           ` [9front] cinap_lenrek
2021-01-22 16:32 [9front] Марко М. Костић
2021-01-22 23:41 ` [9front] Tanami Muller
2021-01-23  0:29   ` [9front] Stuart Morrow
2021-01-23 13:38 ` [9front] Thaddeus Woskowiak
2021-01-23 14:12   ` [9front] hiro
2018-08-20 19:42 [9front] umbraticus
2018-08-20 12:11 [9front] Alex Musolino
2018-06-06 12:30 Stanislav Paskalev
2018-06-06 15:50 ` [9front] Kurt H Maier
2018-02-17  4:53 [9front] kokamoto
2016-12-28 23:31 sl
2016-12-28 23:33 ` [9front] cinap_lenrek
2015-10-02 11:43 Holger Sebert
2015-10-02 14:32 ` [9front] Kurt H Maier
2015-10-04 21:18   ` [9front] Stanley Lieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43f2820c-c15a-4e6f-a521-82d24d21c4a9@sirjofri.de \
    --to=sirjofri+ml-9front@sirjofri.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).