MBR problem

Vitalis vitalis at numericable.fr
Sat Sep 27 15:17:56 PDT 2003


Hello,

There are 2 partitions on my hard drive, one for FreeBSD and the other
one for XP. I had to reinstall Windows and of course it blew the MBR up.
I've reinstalled FreeBSD's boot manager with:
boot0cfg -B ad0

Now when I boot, the manager lists the 2 OS, but when I choose to boot
FreeBSD, nothing happens.

Any idea?


#FreeBSD 5.1-CURRENT

bash-2.05b# fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
 
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
 
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 117210177 (57231 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 117210240, size 117226305 (57239 Meg), flag 80 (active)
        beg: cyl 1023/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



More information about the freebsd-questions mailing list