Boot0cfg bug redux (Re: sys/boot/boot0/boot0.S - r186598)

Andrey V. Elsukov bu7cher at yandex.ru
Tue Jan 11 00:54:15 UTC 2011


On 11.01.2011 02:33, Luigi Rizzo wrote:
> As a consequence, if we reboot without pressing an F-key, the system
> boots from partition s1 even though the boot loader indicates F2.
<skip>
> So, to summarize, I guess that a possible fix (that does not involve
> using gpart, or even worse, modifying boot0.S, which probably does
> not have any spare space) is to modify boot0cfg so that it sets the
> 'active' flag for the partition corresponding to the default entry.
> 
> What do people think ?

I don't remember which behavior was before, but it seems that users
want to change "active" attribute when they use "boot0cfg -s".
And i think it is not so hard to add several lines of code to pass
"set" command to PART class.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110111/570fccab/signature.pgp


More information about the freebsd-hackers mailing list