From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8837 invoked from network); 12 Jan 2022 08:56:56 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 12 Jan 2022 08:56:56 -0000 Received: from sirjofri.de ([5.45.105.127]) by 4ess; Wed Jan 12 03:50:07 -0500 2022 Received: from sirjofri.de ([95.90.218.152]) by sirjofri.de; Wed Jan 12 09:30:49 +0100 2022 Date: Wed, 12 Jan 2022 08:30:46 +0000 (UTC) From: sirjofri To: 9front@9front.org Message-ID: <43f2820c-c15a-4e6f-a521-82d24d21c4a9@sirjofri.de> In-Reply-To: <133F8ADF5C4C2F0F024B47DC463C7216@gmail.com> References: <133F8ADF5C4C2F0F024B47DC463C7216@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Correlation-ID: <43f2820c-c15a-4e6f-a521-82d24d21c4a9@sirjofri.de> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: table-aware NoSQL locator Subject: Re: [9front] Reply-To: 9front@9front.org Precedence: bulk 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