"gpart set -a active" not changing boot loader

Ask Bjørn Hansen ask at develooper.com
Mon Nov 28 09:10:04 UTC 2011


On Aug 17, 2011, at 0:31, Uffe Jakobsen wrote:

>> However, when booting I get:
>> 
>> 1   FreeBSD
>> 2   FreeBSD
>> 
>> Default: 1
>> 
>> … and `gpart show` now shows the first partition as the active one.
>> 
>> Is my boot loader too old or some such?   This is a NanoBSD system that might have been upgraded since some 6.x version.
>> 
> 
> boot0 setting and the active partition mark in the partition table is having the usual disagreements... I've never come around to get the completely picture of the problem - but see the problem it quite often.

I was fussing with a bit again now.  It seems that at least with boot0 v2.0 (as per boot0cfg -v) it does boot on the active (as per gpart) partition, but the output it shows when booting says the default is whatever number boot0cfg -v displays.


Ask


More information about the freebsd-embedded mailing list