LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2003, 08:13 AM   #1
Elmo
LQ Newbie
 
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
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...
 
Old 03-13-2003, 10:42 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Try to clean your MBR first:

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

Hope that helps...
 
Old 03-13-2003, 01:24 PM   #3
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
Oops, I let my new windows install overwrite my FC2 bootloader on the MBR... mono Fedora 1 08-03-2004 08:02 PM
Windowze will overwrite my MBR purefan Linux - Newbie 5 09-09-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration