9front - general discussion about 9front
 help / color / mirror / Atom feed
From: thinktankworkspaces@gmail.com
To: 9front@9front.org
Subject: Re: [9front]
Date: Tue, 11 Jan 2022 17:16:57 -0800	[thread overview]
Message-ID: <133F8ADF5C4C2F0F024B47DC463C7216@gmail.com> (raw)
In-Reply-To: <89cc4583-2f86-49f0-98b6-69dec8c45816@sirjofri.de>

[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]

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. 

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

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

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.

Honestly I would like to use the ec2 bare metal. Its already a 
hypervisor. I just don't know what to do to make that happen. I 
suspect I would need to dump the data into another EBS then force
the EC2 to load it. But i'm also not sure of the files required
beyond digging into inst/start and looking at the rc scripts. 

Or a docker would be nice. I saw a docker out there but it was two 
years old. It also ran on alpine linux, so someone manged to copy 
some files over. Maybe I don't want docker. Bare metal is better any thoughts would be much appreciated. 

[-- Attachment #2: Type: message/rfc822, Size: 4587 bytes --]

From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: 9front@9front.org
Subject: Re: [9front]
Date: Mon, 10 Jan 2022 23:33:38 +0000 (UTC)
Message-ID: <89cc4583-2f86-49f0-98b6-69dec8c45816@sirjofri.de>


10.01.2022 18:25:59 thinktankworkspaces@gmail.com:

> Okay this is where it get confusing. So I suspect I mount the 
> 9front-xxxx=i386.iso. Which is generally in read only mode. Copy the 
> contents into another directory and edit the plan9.ini file. Then
> repackage the iso with the altered .ini file and reset the boot
> record? Now I have a new but modified iso that has console=0. I can
> then try to install it on my target remote system via ssh/

I guess after dd'ing the iso to a usb drive you can just edit the 
plan9.ini file in the fat directory. It's not so easy when having to deal 
with CDs for obvious reasons.

However, you should have luck with mounting a copy of the iso, changing 
the file (and saving the iso), then overwriting the first sector(s) with 
the contents of the original iso. Make soure you don't overwrite the FAT 
and contents, the partition tables should be the same anyways.

It's also possible to generate a fresh iso with your settings if you have 
an installed 9front system. You wouldn't need to run sysupdates after 
installation, but this is definitely more work.

Disclaimer: I never did any of these things with 9front.

Good luck

sirjofri

  reply	other threads:[~2022-01-12  1:32 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       ` thinktankworkspaces [this message]
2022-01-12  8:30         ` [9front] sirjofri
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=133F8ADF5C4C2F0F024B47DC463C7216@gmail.com \
    --to=thinktankworkspaces@gmail.com \
    --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).