Freebsd boot destroying my mbr

matheusber

Senior member
Jun 12, 2001
380
5
81
i had to install windows 2003 server in a pc, and as usual it ereased my mbr. i got lilo back again, but then i had the ideia to make freebsd boot loader rule the booting process. so then i fired:

boot0cfg

from fixit prompt, from freebsd 6.0-release cdrom.
as it did not boot freebsd, i then saw in the handbook:

fdisk -B -b /boot/boot0 /dev/ad0

and got my mbr to the stars :/
the only thing that remained was a 25MB FreeBSD partition.

well, now i cant boot it. lilo can make a bridge to freebsd, but when i call the freebsd entry in lilo, i get a endless loop and it takes over the harddisk boot. :(

now i have again just a 25MB partition.

well, i guess i have to fix the freebsd partition boot. but i have no clue how to make this.

thanks in advance..

matheus
 

SUOrangeman

Diamond Member
Oct 12, 1999
8,361
0
0
Are you sure that the FreeBSD partition is totally intact?

In any event, this is an example of why I let MS go ahead and have the boot loader. After all, it's not going to give you any option anyway! You can boot Linux (grub or lilo), FreeBSD, and just about anything else with the Microsoft's NT Loader. BootPart (http://www.winimage.com/bootpart.htm) makes it easy!

-SUO
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
Originally posted by: SUOrangeman
Are you sure that the FreeBSD partition is totally intact?

In any event, this is an example of why I let MS go ahead and have the boot loader. After all, it's not going to give you any option anyway! You can boot Linux (grub or lilo), FreeBSD, and just about anything else with the Microsoft's NT Loader. BootPart (http://www.winimage.com/bootpart.htm) makes it easy!

-SUO

The MS bootloader is craptastic compared to grub or lilo (i'm a grub fan myself)
 

matheusber

Senior member
Jun 12, 2001
380
5
81
the partition is indeed intact. the problem is, when anything points to it ( in the boot process ), it takes over my harddisk ... :(

as lilo is installed in the disk mbr, there is something installed in freebsd partition boot sector that destroy'em all :(

thanks for your inputs ...

matheus