Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 23:30:37 +0700
From:      Pongthep Kulkrisada <ptkrisada@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem with boot0cfg
Message-ID:  <d22725a0903150930t37b607a3xab9bc639a5c7ad51@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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,



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?d22725a0903150930t37b607a3xab9bc639a5c7ad51>