* [9front] Free Carrots #5: MNT Reform
@ 2022-07-13 1:40 sl
2022-07-16 23:12 ` william
2022-07-18 10:31 ` romi
0 siblings, 2 replies; 18+ messages in thread
From: sl @ 2022-07-13 1:40 UTC (permalink / raw)
To: 9front
http://helpful.cat-v.org/Blog/2022/07/12/0/
sl
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-13 1:40 [9front] Free Carrots #5: MNT Reform sl
@ 2022-07-16 23:12 ` william
2022-07-16 23:47 ` sl
2022-07-18 10:31 ` romi
1 sibling, 1 reply; 18+ messages in thread
From: william @ 2022-07-16 23:12 UTC (permalink / raw)
To: 9front
Quoth sl@stanleylieber.com:
> http://helpful.cat-v.org/Blog/2022/07/12/0/
>
> sl
>
Nicely done! Thanks. Question
I tried to install in a bigger sd card using an usb to sd adapter
the NVMe card has not arrived but it would be nice to have it installed
on a larger sd card. I was not sure how to reclaim space. When I run
inst/start I can partion the new drive but having issues mounting the medium
Preparing menu...% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
mount: mount /n/dist: unknown format
% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
mount: mount /n/dist: unknown format
I can manually run the mount when I break out !rc but Its still the same
unknown format.
I tried multiple images including i386 and renamed them as well
9front-8963.f84cf1e60427675514fb056cc1723e45da01e043.386.iso.gz
9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz
9front.img
9front.iso
9front.iso.gz
I have multiple sd cards in usb adapters. I'm trying to build out
/dev/sdU7b121/data but the images are in /dev/sdU7b1211
anyways here is the controller
dev/sdM0: USDHC Host Controller
/dev/sdM0/data
/dev/sdM0/dos dos
/dev/sdM0/fs hjfs
/dev/sdM0/nvram
/dev/sdM0/plan9
/dev/sdU7b121: Generic Mass-Storage 1.11
/dev/sdU7b121/9fat
/dev/sdU7b121/data
/dev/sdU7b121/fs hjfs
/dev/sdU7b121/nvram
/dev/sdU7b121/plan9
/dev/sdU7b1211: Generic Mass-Storage 1.11
/dev/sdU7b1211/data
/dev/sdU7b1211/dos dos
/shr/sdU7b1211:
Please wait... Scanning storage devices...
/dev/sdM0/data
/dev/sdM0/dos
/dev/sdM0/fs
/dev/sdU7b121/9fat
/dev/sdU7b121/data
/dev/sdU7b121/fs
/dev/sdU7b1211/data
/dev/sdU7b1211/dos
The following storage media were detected.
Choose the one containing the distribution.
/dev/sdM0/dos (microsoft fat)
/dev/sdU7b1211/dos (microsoft fat)
Distribution disk (/dev/sdM0/dos, /dev/sdU7b1211/dos, /dev/sdU7b121/fs, /)[no default]: /dev/sdU7b1211/dos
% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
Which directory contains the distribution?
Any of the following will suffice (in order of preference):
- the root directory of the cd image
- the directory containing 9front.iso
- the directory containing 9front.iso.bz2
I might be going about this wrong
Regards,
-Will
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-16 23:12 ` william
@ 2022-07-16 23:47 ` sl
2022-07-17 3:23 ` william
0 siblings, 1 reply; 18+ messages in thread
From: sl @ 2022-07-16 23:47 UTC (permalink / raw)
To: 9front
> unknown format.
untested, but i think alien formats can confuse the install scripts.
try dd </dev/zero >/target/device/data before running the installer.
just be careful you write to the correct device!
sl
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-16 23:47 ` sl
@ 2022-07-17 3:23 ` william
2022-07-17 20:31 ` james palmer
0 siblings, 1 reply; 18+ messages in thread
From: william @ 2022-07-17 3:23 UTC (permalink / raw)
To: 9front
So what you are saying is inst/start should work but the fat32 device that holds the image could be
corrupted?
I booted using mnt.reform image below and ran
disk/fdisk -b /dev/sdU7b1211/data
disk/format -b pbs -d -r 2 /dev/sdU7b1211/dos
after that it automatically mounted in /shr/sdU7b1211
9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz
after that the goal was to read from that device and write to sdU7b121 the larger drive
I gave up and cat 9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz > /dev/sdU7b121/data
size never changes and fat32 should not be a problem if I can 'cat' the image to another drive
My partitions are always the same with the same size regardless of the size of the drive
Task to do [prepdisk]:
--------------------------------------
The following Plan 9 disk partitions were found.
/dev/sdM0/plan9
empty 0 2 (2 sectors, 1.00 KB)
nvram 2 3 (1 sectors, 512 B )
fs 3 3657023 (3657020 sectors, 1.74 GB)
empty 3657023 3657024 (1 sectors, 512 B )
/dev/sdU7b121/plan9
empty 0 2 (2 sectors, 1.00 KB)
nvram 2 3 (1 sectors, 512 B )
fs 3 3657023 (3657020 sectors, 1.74 GB)
empty 3657023 3657024 (1 sectors, 512 B )
Plan 9 partition to subdivide (/dev/sdM0/plan9, /dev/sdU7b121/plan9)[no default]:
Quoth sl@stanleylieber.com:
> > unknown format.
>
> untested, but i think alien formats can confuse the install scripts.
> try dd </dev/zero >/target/device/data before running the installer.
> just be careful you write to the correct device!
>
> sl
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-17 3:23 ` william
@ 2022-07-17 20:31 ` james palmer
2022-07-18 1:56 ` william
0 siblings, 1 reply; 18+ messages in thread
From: james palmer @ 2022-07-17 20:31 UTC (permalink / raw)
To: 9front
On 17 July 2022 04:23:01 BST, william@thinktankworkspaces.com wrote:
>I gave up and cat 9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz > /dev/sdU7b121/data
that is a gzip archive,
surely you want to unzip it first? try:
gunzip <9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz >/dev/sdU7b121/data
- james
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-17 20:31 ` james palmer
@ 2022-07-18 1:56 ` william
2022-07-18 2:25 ` Stanley Lieber
0 siblings, 1 reply; 18+ messages in thread
From: william @ 2022-07-18 1:56 UTC (permalink / raw)
To: 9front
Yes I made sure to unzip the archive which is obvious. I also made sure
to rename the image to 9fron.iso
I can cat the image to the sd drive and it boots up with 1.2G fs with
30G of unclaimed space or empty partition. Not sure how to reclaim that
extra space.
so inst/start was the plan to try to reclain that space but
after it does mountfs I run into the following
Preparing menu...% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
mount: mount /n/dist: unknown format
% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
mount: mount /n/dist: unknown format
This is an uncompressed image.
I also just tried to build the iso from scratch but ran into other issues.
mk /tmp/9fron.arm64.iso
mk: don't know how to make '/tmp/9fron.arm64.iso' in directory /sys/lib/dist
Next is to skip mountfs and go to copydist. I think I will need to make some modifcations
to /rc/bin/inst/copydist to get it working. But then I got a bit lost with
disk/mkfs -z 16372 -U -s /n/dist /n/newfs /sys/lib/sysconfig/proto/allproto
I guess bind the system root to /n/dist then try to run it or do something different
not sure of the proto. I read it might be better to run
disk/mkfs -a -s dist proto > arch but I think I got an error on that
Quoth james palmer <james@biobuf.link>:
> On 17 July 2022 04:23:01 BST, william@thinktankworkspaces.com wrote:
> >I gave up and cat 9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz > /dev/sdU7b121/data
>
> that is a gzip archive,
> surely you want to unzip it first? try:
>
> gunzip <9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz >/dev/sdU7b121/data
>
> - james
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 1:56 ` william
@ 2022-07-18 2:25 ` Stanley Lieber
2022-07-18 3:53 ` william
2022-07-18 8:46 ` cinap_lenrek
0 siblings, 2 replies; 18+ messages in thread
From: Stanley Lieber @ 2022-07-18 2:25 UTC (permalink / raw)
To: 9front
On July 17, 2022 9:56:24 PM EDT, william@thinktankworkspaces.com wrote:
>Yes I made sure to unzip the archive which is obvious. I also made sure
>to rename the image to 9fron.iso
>
>I can cat the image to the sd drive and it boots up with 1.2G fs with
>30G of unclaimed space or empty partition. Not sure how to reclaim that
>extra space.
>
>so inst/start was the plan to try to reclain that space but
>after it does mountfs I run into the following
>
>Preparing menu...% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
>mount: mount /n/dist: unknown format
>% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
>% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
>mount: mount /n/dist: unknown format
>
>This is an uncompressed image.
>
>I also just tried to build the iso from scratch but ran into other issues.
>
> mk /tmp/9fron.arm64.iso
>mk: don't know how to make '/tmp/9fron.arm64.iso' in directory /sys/lib/dist
>
>Next is to skip mountfs and go to copydist. I think I will need to make some modifcations
> to /rc/bin/inst/copydist to get it working. But then I got a bit lost with
>
>disk/mkfs -z 16372 -U -s /n/dist /n/newfs /sys/lib/sysconfig/proto/allproto
>
>I guess bind the system root to /n/dist then try to run it or do something different
>
>not sure of the proto. I read it might be better to run
>
>disk/mkfs -a -s dist proto > arch but I think I got an error on that
>
>
>
>
>Quoth james palmer <james@biobuf.link>:
>> On 17 July 2022 04:23:01 BST, william@thinktankworkspaces.com wrote:
>> >I gave up and cat 9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz > /dev/sdU7b121/data
>>
>> that is a gzip archive,
>> surely you want to unzip it first? try:
>>
>> gunzip <9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz >/dev/sdU7b121/data
>>
>> - james
>>
>
>
you can't expand the size of the sdcard .img, no matter how big your sdcard is. the purpose of running the installer is to install the operating system onto a separate device (nvme, usb, whatever). in the end you'll be booting the kernel from 9fat on the sdcard .img and the root file system from the other device. booting the kernel from anything besides sdcard requires more work nobody had done yet.
sl
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 2:25 ` Stanley Lieber
@ 2022-07-18 3:53 ` william
2022-07-18 4:59 ` ori
2022-07-18 8:46 ` cinap_lenrek
1 sibling, 1 reply; 18+ messages in thread
From: william @ 2022-07-18 3:53 UTC (permalink / raw)
To: 9front
I know that. The installer just does not recognize xxxxxx-reform.img.gz. Even when I uncompress
it and rename it to 9front.iso.
I have three sd cards.
currently sd1 boots up 9front perfectly
sd2 just contains fat32 with the reform.img its mounted inside a usb adapter. I renamed to 9front.iso
sd3 is a 64G card mounted inside of another usb adapter. inst/start will see it, mount it and partition
it just fine. The goal is to use that as the sd card and no usb. It fits inside the usb adapter. Its temporary
just for the installer
But the installer just doesn't recognize the xxxx-reform.img renamed to 9front.iso on the fat32 sd2-usb-drive.
So I get stuck.
i can escape !rc and see that the drive is mounted. I also see the contents in /shr/sdU7b1211/dos. I see multiple img's and iso's, some compressed and some uncompressed
I know its not corrupted.
Preparing menu...% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
> >mount: mount /n/dist: unknown format
> >% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
> >% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
> >mount: mount /n/dist: unknown format
What I'm doing should not be out of scope. inst/start should recognize 9660 type right?
Quoth Stanley Lieber <sl@stanleylieber.com>:
> On July 17, 2022 9:56:24 PM EDT, william@thinktankworkspaces.com wrote:
> >Yes I made sure to unzip the archive which is obvious. I also made sure
> >to rename the image to 9fron.iso
> >
> >I can cat the image to the sd drive and it boots up with 1.2G fs with
> >30G of unclaimed space or empty partition. Not sure how to reclaim that
> >extra space.
> >
> >so inst/start was the plan to try to reclain that space but
> >after it does mountfs I run into the following
> >
> >Preparing menu...% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
> >mount: mount /n/dist: unknown format
> >% mount /srv/dos /n/distmedia /dev/sdU7b1211/dos
> >% mount /srv/9660.dist /n/dist /n/distmedia///9front.iso
> >mount: mount /n/dist: unknown format
> >
> >This is an uncompressed image.
> >
> >I also just tried to build the iso from scratch but ran into other issues.
> >
> > mk /tmp/9fron.arm64.iso
> >mk: don't know how to make '/tmp/9fron.arm64.iso' in directory /sys/lib/dist
> >
> >Next is to skip mountfs and go to copydist. I think I will need to make some modifcations
> > to /rc/bin/inst/copydist to get it working. But then I got a bit lost with
> >
> >disk/mkfs -z 16372 -U -s /n/dist /n/newfs /sys/lib/sysconfig/proto/allproto
> >
> >I guess bind the system root to /n/dist then try to run it or do something different
> >
> >not sure of the proto. I read it might be better to run
> >
> >disk/mkfs -a -s dist proto > arch but I think I got an error on that
> >
> >
> >
> >
> >Quoth james palmer <james@biobuf.link>:
> >> On 17 July 2022 04:23:01 BST, william@thinktankworkspaces.com wrote:
> >> >I gave up and cat 9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz > /dev/sdU7b121/data
> >>
> >> that is a gzip archive,
> >> surely you want to unzip it first? try:
> >>
> >> gunzip <9front-c5cf9b3e26033272c5f57b9a860c335e63786045.reform.img.gz >/dev/sdU7b121/data
> >>
> >> - james
> >>
> >
> >
>
> you can't expand the size of the sdcard .img, no matter how big your sdcard is. the purpose of running the installer is to install the operating system onto a separate device (nvme, usb, whatever). in the end you'll be booting the kernel from 9fat on the sdcard .img and the root file system from the other device. booting the kernel from anything besides sdcard requires more work nobody had done yet.
>
> sl
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 3:53 ` william
@ 2022-07-18 4:59 ` ori
2022-07-18 5:12 ` william
2022-07-18 5:20 ` william
0 siblings, 2 replies; 18+ messages in thread
From: ori @ 2022-07-18 4:59 UTC (permalink / raw)
To: 9front
Quoth william@thinktankworkspaces.com:
>
> But the installer just doesn't recognize the xxxx-reform.img renamed to 9front.iso on the fat32 sd2-usb-drive.
> So I get stuck.
Yes, it's a usb disk image, not an iso.
You don't need to give it an image, a running system is
enough. Just enter / for the path to the distmedia.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 4:59 ` ori
@ 2022-07-18 5:12 ` william
2022-07-18 5:20 ` william
1 sibling, 0 replies; 18+ messages in thread
From: william @ 2022-07-18 5:12 UTC (permalink / raw)
To: 9front
Quoth ori@eigenstate.org:
> Quoth william@thinktankworkspaces.com:
> >
> > But the installer just doesn't recognize the xxxx-reform.img renamed to 9front.iso on the fat32 sd2-usb-drive.
> > So I get stuck.
>
> Yes, it's a usb disk image, not an iso.
>
> You don't need to give it an image, a running system is
> enough. Just enter / for the path to the distmedia.
>
>
okay now that I understand. It is an .img file and not an iso even though its bootable.
So I can point it back to my running system which is the sd card I booted from.
That does not seem to work.
Task to do [mountdist]:
--------------------------------------
Please wait... Scanning storage devices...
/dev/sdM0/data
/dev/sdM0/dos
/dev/sdM0/fs
/dev/sdU7b121/9fat
/dev/sdU7b121/data
/dev/sdU7b121/fs
/dev/sdU7b1211/data
/dev/sdU7b1211/dos
The following storage media were detected.
Choose the one containing the distribution.
/dev/sdM0/dos (microsoft fat)
/dev/sdU7b1211/dos (microsoft fat)
Distribution disk (/dev/sdM0/dos, /dev/sdU7b1211/dos, /dev/sdU7b121/fs, /)[no default]: /dev/sdM0/fs
Distribution disk (/dev/sdM0/dos, /dev/sdU7b1211/dos, /dev/sdU7b121/fs, /)[no default]: /dev/sdM0/dos
% mount /srv/dos /n/distmedia /dev/sdM0/dos
Which directory contains the distribution?
Any of the following will suffice (in order of preference):
- the root directory of the cd image
- the directory containing 9front.iso
- the directory containing 9front.iso.bz2
Location of archives [/]:
No distribution found in /
Location of archives [/]:
No distribution found in /
Location of archives [/]:
So that doesn't work and neither does /dev/sdU7b121/fs which is technically my destination
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 4:59 ` ori
2022-07-18 5:12 ` william
@ 2022-07-18 5:20 ` william
2022-07-18 5:49 ` william
1 sibling, 1 reply; 18+ messages in thread
From: william @ 2022-07-18 5:20 UTC (permalink / raw)
To: 9front
OMG I'm sorry
I really thought you had to pick one of those USB drives like it was the one listed
its doing it I think. I was to narrowly focused on the usb device thinking it had to be this specific image
that I downloaded and just not realizing / would pull from the local file system
--------------------------------------
Please wait... Scanning storage devices...
/dev/sdM0/data
/dev/sdM0/dos
/dev/sdM0/fs
/dev/sdU7b121/9fat
/dev/sdU7b121/data
/dev/sdU7b121/fs
/dev/sdU7b1211/data
/dev/sdU7b1211/dos
The following storage media were detected.
Choose the one containing the distribution.
/dev/sdM0/dos (microsoft fat)
/dev/sdU7b1211/dos (microsoft fat)
Distribution disk (/dev/sdM0/dos, /dev/sdU7b1211/dos, /dev/sdU7b121/fs, /)[no default]: /
% mount /srv/boot /n/distmedia
Which directory contains the distribution?
Any of the following will suffice (in order of preference):
- the root directory of the cd image
- the directory containing 9front.iso
- the directory containing 9front.iso.bz2
Location of archives [/]:
--------------------------------------
Preparing menu...
The following tasks are done:
configfs - choose the type of file system to install
partdisk - edit partition tables (e.g., to create a plan 9 partition)
prepdisk - subdivide plan 9 disk partition
mountfs - choose and mount file system partition
configdist - choose the source of the distribution archive
confignet - configure the network
mountdist - locate and mount the distribution
The following unfinished tasks are ready to be done:
copydist - copy the distribution into the file system
tzsetup - choose time zone
Task to do [copydist]:
--------------------------------------
processing /sys/lib/sysconfig/proto/allproto
Quoth ori@eigenstate.org:
> Quoth william@thinktankworkspaces.com:
> >
> > But the installer just doesn't recognize the xxxx-reform.img renamed to 9front.iso on the fat32 sd2-usb-drive.
> > So I get stuck.
>
> Yes, it's a usb disk image, not an iso.
>
> You don't need to give it an image, a running system is
> enough. Just enter / for the path to the distmedia.
>
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 5:20 ` william
@ 2022-07-18 5:49 ` william
0 siblings, 0 replies; 18+ messages in thread
From: william @ 2022-07-18 5:49 UTC (permalink / raw)
To: 9front
okay new problem. I think this is where I need to manually copy over the boot files etc.
9reform.u and boot.scr
Setup Plan 9 FAT boot partition (9fat)
Plan 9 FAT partition (/dev/sdU7b121/9fat)[/dev/sdU7b121/9fat]:
usage: basename [-d] string [suffix]
% dd -bs 512 -count 1 -if /dev/sdU7b121/9fat -of /tmp/pbs.bak
1+0 records in
1+0 records out
Initializing Plan 9 FAT partition.
% disk/format -r 2 -d -b /n/newfs/386/pbs -l PLAN9 /dev/sdU7b121/9fat
format: open /n/newfs/386/pbs: '/n/newfs/386/pbs' does not exist
% mount -c /srv/dos /n/9fat /dev/sdU7b121/9fat
mount: mount /n/9fat: unknown format
% rm -f /n/9fat/9bootfat /n/9fat/plan9.ini
% cp /n/newfs/386/9bootfat /n/9fat/9bootfat
cp: can't stat /n/newfs/386/9bootfat: '/n/newfs/386/9bootfat' does not exist
% chmod +al /n/9fat/9bootfat
chmod: can't stat /n/9fat/9bootfat: '/n/9fat/9bootfat' does not exist
% cp /tmp/plan9.ini /n/9fat/plan9.ini
cp: can't create /n/9fat/plan9.ini: '/n/9fat/plan9.ini' create prohibited
./bootsetup:96: null list in concatenation
--------------------------------------
Preparing menu...
The following tasks are done:
configfs - choose the type of file system to install
partdisk - edit partition tables (e.g., to create a plan 9 partition)
prepdisk - subdivide plan 9 disk partition
mountfs - choose and mount file system partition
configdist - choose the source of the distribution archive
confignet - configure the network
mountdist - locate and mount the distribution
copydist - copy the distribution into the file system
ndbsetup - setup network configuration
tzsetup - choose time zone
The following unfinished tasks are ready to be done:
bootsetup - configure hard disk to boot plan 9
Task to do [bootsetup]:
Quoth william@thinktankworkspaces.com:
> OMG I'm sorry
>
> I really thought you had to pick one of those USB drives like it was the one listed
>
> its doing it I think. I was to narrowly focused on the usb device thinking it had to be this specific image
> that I downloaded and just not realizing / would pull from the local file system
>
>
>
> --------------------------------------
> Please wait... Scanning storage devices...
> /dev/sdM0/data
> /dev/sdM0/dos
> /dev/sdM0/fs
> /dev/sdU7b121/9fat
> /dev/sdU7b121/data
> /dev/sdU7b121/fs
> /dev/sdU7b1211/data
> /dev/sdU7b1211/dos
>
> The following storage media were detected.
> Choose the one containing the distribution.
>
> /dev/sdM0/dos (microsoft fat)
> /dev/sdU7b1211/dos (microsoft fat)
>
> Distribution disk (/dev/sdM0/dos, /dev/sdU7b1211/dos, /dev/sdU7b121/fs, /)[no default]: /
> % mount /srv/boot /n/distmedia
>
> Which directory contains the distribution?
> Any of the following will suffice (in order of preference):
> - the root directory of the cd image
> - the directory containing 9front.iso
> - the directory containing 9front.iso.bz2
>
> Location of archives [/]:
>
> --------------------------------------
>
> Preparing menu...
> The following tasks are done:
> configfs - choose the type of file system to install
> partdisk - edit partition tables (e.g., to create a plan 9 partition)
> prepdisk - subdivide plan 9 disk partition
> mountfs - choose and mount file system partition
> configdist - choose the source of the distribution archive
> confignet - configure the network
> mountdist - locate and mount the distribution
>
> The following unfinished tasks are ready to be done:
> copydist - copy the distribution into the file system
> tzsetup - choose time zone
>
> Task to do [copydist]:
>
> --------------------------------------
> processing /sys/lib/sysconfig/proto/allproto
>
>
>
> Quoth ori@eigenstate.org:
> > Quoth william@thinktankworkspaces.com:
> > >
> > > But the installer just doesn't recognize the xxxx-reform.img renamed to 9front.iso on the fat32 sd2-usb-drive.
> > > So I get stuck.
> >
> > Yes, it's a usb disk image, not an iso.
> >
> > You don't need to give it an image, a running system is
> > enough. Just enter / for the path to the distmedia.
> >
> >
>
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 2:25 ` Stanley Lieber
2022-07-18 3:53 ` william
@ 2022-07-18 8:46 ` cinap_lenrek
1 sibling, 0 replies; 18+ messages in thread
From: cinap_lenrek @ 2022-07-18 8:46 UTC (permalink / raw)
To: 9front
the reform.img file is not a iso. it is a sdcard image containing the
flash.bin firmware stuff for the reform and a writable hjfs
root filesystem with 9front.
this gets you to bootargs prompt, where you then can choose between
a network fileserver, nvme, usb or the sdcard as your root filesystem.
> booting the kernel from anything besides sdcard requires more work nobody had done yet.
exactly.
the reform boot currently works like this:
1) boot ROM checks the bootcfg switch to boot either from sdcard or emmc
2) load the flash.bin from offset 33*1k from sdcard or emmc
3) flash.bin contains trusted firmware, ddr init code and uboot
4) uboot runs and searches for a boot.scr file on sdcard or emmc
5) boot.scr loads plan9.ini from sdcard dos partition (NOT 9fat!)
6) boot.scr loads 9reform.u from sdcard dos partition (NOT 9fat!)
7) boot.scr starts the kernel
8) 9front kernel takes over, initializes display, nvme, usb, ethernet ...
until step 8, theres no way to access the nvme drive and everything
runs blind unless you have a serial cable hooked up to the board.
the reform will always boot from sdcard unless someone writes
the drivers for uboot to access pcie and nvme and usb. but even
then, uboot itself will always come from sdcard (or internal emmc)
as we cannot change the cpu's boot rom.
fixing uboot is alot of work and also makes for a complicated
setup to test this during development, potentially needing a
sdcard mux/emulator to be effective (costs over 100 euro).
anyway...
once kernel is running, you can boot a different kernel file
using reboot!/path/to/9reform!method (which uses /dev/reboot
to start another kernel, skipping firmware).
to update the kernel, you can replace 9reform.u file in the sdcard
dos partition (NOT 9fat!).
you can also modify plan9.ini in the sdcard (NOT 9fat!) to set
bootargs= and user= to have different defaults.
--
cinap
PS:
also made a new image yesterday that has sigrids flickerfix
and makes inst/bootsetup stage not complain about not having
/386/mbr.
http://felloff.net/usr/cinap_lenrek/9front-23620b2e70e9de0ce31c6f4f21926a044c5deabc.reform.img.gz.torrent
the latest torrent (i make a new one kind of every weekend)
is always this link:
http://felloff.net/usr/cinap_lenrek/9front-reform.torrent
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-13 1:40 [9front] Free Carrots #5: MNT Reform sl
2022-07-16 23:12 ` william
@ 2022-07-18 10:31 ` romi
2022-07-18 14:29 ` cinap_lenrek
2022-07-18 15:42 ` Stanley Lieber
1 sibling, 2 replies; 18+ messages in thread
From: romi @ 2022-07-18 10:31 UTC (permalink / raw)
To: 9front
Quoth sl@stanleylieber.com:
> http://helpful.cat-v.org/Blog/2022/07/12/0/
>
> sl
How’s the battery life on the reform with 9front?
--
romi
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 10:31 ` romi
@ 2022-07-18 14:29 ` cinap_lenrek
2022-07-18 15:10 ` Alexander Shendi
2022-07-18 15:42 ` Stanley Lieber
1 sibling, 1 reply; 18+ messages in thread
From: cinap_lenrek @ 2022-07-18 14:29 UTC (permalink / raw)
To: 9front
i had it running idle for 5 hours on battery without
the nvme drive.
but back then, the processor was running at 1Ghz.
the current image runs now at 1.4Ghz, so i'd need to
re-test... but i dont have the time right now.
--
cinap
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 14:29 ` cinap_lenrek
@ 2022-07-18 15:10 ` Alexander Shendi
2022-07-18 15:18 ` Sigrid Solveig Haflínudóttir
0 siblings, 1 reply; 18+ messages in thread
From: Alexander Shendi @ 2022-07-18 15:10 UTC (permalink / raw)
To: 9front, cinap_lenrek
Hi 9fronters,
I'd like some opinions in general on the MNT Reform.
1. Which exact configuration are you using?
2. It does run OpenBSD too, dosen't it?
3. Which are the advantages compated to the Pinebook Pro?
a) More open HW design?
b) Easier to repair or upgrade?
c) ???
Thanks in advance and have a nice day.
Alexander
Am 18. Juli 2022 16:29:52 MESZ schrieb cinap_lenrek@felloff.net:
>i had it running idle for 5 hours on battery without
>the nvme drive.
>
>but back then, the processor was running at 1Ghz.
>
>the current image runs now at 1.4Ghz, so i'd need to
>re-test... but i dont have the time right now.
>
>--
>cinap
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 15:10 ` Alexander Shendi
@ 2022-07-18 15:18 ` Sigrid Solveig Haflínudóttir
0 siblings, 0 replies; 18+ messages in thread
From: Sigrid Solveig HaflÃnudóttir @ 2022-07-18 15:18 UTC (permalink / raw)
To: 9front
Quoth Alexander Shendi <Alexander.Shendi@web.de>:
> Hi 9fronters,
>
> I'd like some opinions in general on the MNT Reform.
>
> 1. Which exact configuration are you using?
There is only one generally available at this moment, imx8mq a53 (4
cores) SoC with 4Gb ram.
> 2. It does run OpenBSD too, dosen't it?
No.
> 3. Which are the advantages compated to the Pinebook Pro?
> a) More open HW design?
> b) Easier to repair or upgrade?
> c) ???
No clue, personally. Haven't touched a pinebook.
>
> Thanks in advance and have a nice day.
>
> Alexander
>
> Am 18. Juli 2022 16:29:52 MESZ schrieb cinap_lenrek@felloff.net:
> >i had it running idle for 5 hours on battery without
> >the nvme drive.
> >
> >but back then, the processor was running at 1Ghz.
> >
> >the current image runs now at 1.4Ghz, so i'd need to
> >re-test... but i dont have the time right now.
> >
> >--
> >cinap
>
> --
> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [9front] Free Carrots #5: MNT Reform
2022-07-18 10:31 ` romi
2022-07-18 14:29 ` cinap_lenrek
@ 2022-07-18 15:42 ` Stanley Lieber
1 sibling, 0 replies; 18+ messages in thread
From: Stanley Lieber @ 2022-07-18 15:42 UTC (permalink / raw)
To: 9front
On July 18, 2022 6:31:51 AM EDT, romi <romi@grtsk.net> wrote:
>Quoth sl@stanleylieber.com:
>> http://helpful.cat-v.org/Blog/2022/07/12/0/
>>
>> sl
>
>How’s the battery life on the reform with 9front?
>
haven't measured, but I get 2-3 hours out of the first 50% of the battery.
sl
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2022-07-18 15:44 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 1:40 [9front] Free Carrots #5: MNT Reform sl
2022-07-16 23:12 ` william
2022-07-16 23:47 ` sl
2022-07-17 3:23 ` william
2022-07-17 20:31 ` james palmer
2022-07-18 1:56 ` william
2022-07-18 2:25 ` Stanley Lieber
2022-07-18 3:53 ` william
2022-07-18 4:59 ` ori
2022-07-18 5:12 ` william
2022-07-18 5:20 ` william
2022-07-18 5:49 ` william
2022-07-18 8:46 ` cinap_lenrek
2022-07-18 10:31 ` romi
2022-07-18 14:29 ` cinap_lenrek
2022-07-18 15:10 ` Alexander Shendi
2022-07-18 15:18 ` Sigrid Solveig Haflínudóttir
2022-07-18 15:42 ` Stanley Lieber
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).