LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't overwrite MBR (https://www.linuxquestions.org/questions/linux-general-1/cant-overwrite-mbr-49594/)

Elmo 03-13-2003 08:13 AM

Can't overwrite MBR
 
I'm running Red Hat 8.0 on a system with a Promise fasttrack 100 raid controller with two hard disks in mirror mode. Previously win2k Server was installed on this system.
My problem is that I can't seem to get the Master Boot Record changed so I can boot without a boot disk, because every time I try this the machine will try to boot windows and hangs itself when it can't find the correct next stage boot loader.
I've tried overwriting the MBR using a grub boot disk but grub complains that it doesn't understand the partition type on my hard disks first partition (hd0,0) which is ext3. So next I tried using lilo. /sbin/lilo runs fine with my current lilo.conf, but when I reboot without boot floppy the machine will still try to load windows...

I'm kind of out of idea's what to try now...

vladkrack 03-13-2003 10:42 AM

Try to clean your MBR first:

# dd if=/dev/zero of=/dev/HDX bs=512 count=1

Hope that helps...

arnold 03-13-2003 01:24 PM

hope you didn't do that - the last 64 bytes of the mbr is the partition table
just to be sure - check your bios - ffor booting order - floppy 1st, harddrive 2nd
does your bios have somesort of mbr "memory protect"?

i avoid all these issues and MBR clobbering by having the initiial stages of lilo on a diskette - which doubles as my recovery


All times are GMT -5. The time now is 03:33 AM.