Weird boot loader

Georgi Moskov moskov at telecoms.bg
Tue Apr 15 20:10:22 PDT 2003


> Is there a way so i can make it boot directly from the
> MBR of Disc0 without reinstalling the system.  There
> should be :))))
> I should be able to configure this like LILO in linux,
> I would expect.
>

Hi Georgi,

I thibk you should have a look at the boot0cfg(8) utility, and especialy
the following three options:

     -b boot0
             Specify which `boot0' image to use.  The default is /boot/boot0.

     -f file
             Specify that a backup copy of the preexisting MBR should be
writ-
             ten to file.  This file is created if it does not exist, and
replaced if it does.

(I surpose this backup file is /boot/mbr, so you can put it back)

     -s slice
             Set the default boot selection to slice.

(This one may help you preselect the partition you want to boot)

Yours,
Georgi Moskov.




More information about the freebsd-stable mailing list