Problem with boot0cfg

Pongthep Kulkrisada ptkrisada at gmail.com
Sun Mar 15 09:30:38 PDT 2009


Hi All,

Last week my harddisk was broken and wiped out the slice of FreeBSD 7.1R.
I decided to bring back my old harddisk with 3 partitions i.e.
Windows ME, Windows 2000 and a free partition.
It has a menu for selecting which Windows to boot and I have tested
booting them.
Then I installed FreeBSD-7.1R (from CD) on the free partition and
selected boot manager while installing.
After completion and reboot the following options presented.

F1    DOS
F2    DOS
F3    FreeBSD

But only F3 (FreeBSD) can boot, both Windows can't boot and just hanged.
The following is diagnostic.

# boot0cfg -v ad0

#   flag     start chs   type       end chs       offset         size
1   0x00      0:  1: 1   0x0b   1023:  9:63           63      4208967
2   0x00   1023:255:63   0x07   1023: 12:63      4209030     10490445
3   0x80   1023:255:63   0xa5   1023: 15:63     14699475     18983853

version=1.0  drive=0x80  mask=0x7  ticks=182
options=packet,update,nosetdrv
default_selection=F3 (Slice 3)

Any suggestion would be highly appreciated.

Please note that previously I used LILO for boot manager.
Now I want to use only FBSD tool but I know very little about boot0cfg.

Thanks,


More information about the freebsd-questions mailing list