A few stupid questions regarding MBR and boot0

Julian Elischer julian at freebsd.org
Fri Apr 15 11:04:15 UTC 2016


On 14/04/2016 8:53 PM, Andrey V. Elsukov wrote:
> On 14.04.16 14:48, Aleksander Alekseev wrote:
>> 1) If I understand correctly first 512 bytes of /dev/ad0
>> and /boot/boot0 file should match, but they don't:
>>
>> http://afiskon.ru/s/31/665dc9755c_mbr.txt
>>
>> Could someone please explain why they don't match?
> https://www.freebsd.org/cgi/man.cgi?gpart#BOOTSTRAPPING
>
As Alan said, there two alternate boot sectors.. the original, and an 
enhanced one htat allow syou to select from a compiled in menu.
The one that has 'inux' 'reeBSD'  in it is the menu one.
man boot0cfg



More information about the freebsd-hackers mailing list