cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

reading partition table in boot/boot #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the current kernel relies on the partition table
to be parsed by 9load. this is no more the case
and wont be continued on plan9front / 9bootfat
as it will not work with usb devices and is 
unreliable due to no mapping between bios drives
and plan9 sd device numbering.

proposed fix will be adding disk/fdisk and
disk/prep in boot/boot that scans all drives
and add the partition table entries for us.

if muzgo gets the boot/boot thing going, this is
like 2 lines of rc and we are done.

for now, one has to put the partition table
in plan9.ini in the form:

sdXX=name1 start end/name2 start end/...

note, this has only to be done for the partition
that are needed by the root filesystem, /bin/termrc
later does proper partition table parsing with
the described method.

Original issue reported on code.google.com by cinap_le...@felloff.net on 16 Apr 2011 at 9:36

GoogleCodeExporter commented 9 years ago
correction: 

sdXXpart=name1 start end/name2 start end/...

Original comment by cinap_le...@felloff.net on 16 Apr 2011 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by a...@phicode.de on 16 Apr 2011 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by cinap_le...@felloff.net on 18 Apr 2011 at 6:00

GoogleCodeExporter commented 9 years ago

Original comment by a...@phicode.de on 26 May 2011 at 5:20