RFC - two more pending issues for boot0



It has been brought to my attention that there are two more
pending issues for the boot0 code:

1. allow booting from 'DOS Extended' partitions (type 0x5 and 0xf)
These partition types are currently in the 'kill list' with no
option to override them (other than poking into the bootsector).

According to http://www.freebsd.org/cgi/query-pr.cgi?pr=70531
LILO and GRUB _can_ be installed in those partitions so it
would make sense to allow them. The change is pretty trivial and safe
(boot0 already allows booting from any unknown partition) and
one can disable a particular partition using boot0cfg -m

This is a trivial change (actually a simplification of the code),
so I think it should go in unconditionally.

2. preserve the 'NT Disk UID', claimed to be used in Vista as well.

see http://www.freebsd.org/cgi/query-pr.cgi?pr=127764

This change, even though trivial in terms of code, is a bit more
intrusive as it requires to move the data area in boot0, and
as a consequence requires a patch (though a trivial one) to
boot0cfg to let it recognise and manipulate the boot sector.

I have implemented this (in a form slightly different from the PR),
and it can be conditionally compiled with -DNT_SERIAL ,
I plan to commit it, but not make it the default.

I would like to know how useful people consider this feature.

cheers
luigi
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Crashed gmirror, single disk marked SYNC and wont boot...
    ... Now I got same partition table on ad6s1 as on ad0s1... ... fdisk both with full partition on both, create a new gmirror between ad6s1/ad4s1, create slices, use dump | restore (of course with apps shutdown so no data is changed.. ... or at least nothing that I care about) to copy all files from ad2 to new mirror.. ... I checked md5 against boot0 and its not the same. ...
    (freebsd-stable)
  • Re: Simple Problem: No answer
    ... I have the boot monitor boot0 installed on freebsd 6.2. ... names, but still not Minix. ... and replace the 83 with the partition code for your Minix partition (it ...
    (comp.unix.bsd.freebsd.misc)
  • Re: 6.1-RELEASE wont boot on Compaq 1580
    ... The MBR menu displays but pressing F1 (the FreeBSD ... partition) just beeps. ... Pressing F3 (the Compaq configuration ... Rebuilding boot0 from the ...
    (freebsd-stable)
  • Re: RFC: making gpart default
    ... I'd like to switch all architectures to gpart for the reasons given ... we only look at the aspects that affect FreeBSD, ... stored in partition that previously contained a filesystem, ... partition types are abstracted so that the ...
    (freebsd-arch)
  • Re: Cannot see new HD
    ... has a partition of about 10Gb that contains the Restore files for the PC ... and what partitions and partition types might be present ... at what is on your disk. ... software and pointed it at the proper drives and let it run. ...
    (microsoft.public.windowsxp.hardware)