Click to See Complete Forum and Search --> : How do I clear the MBR?
Econoline
01-13-2001, 07:13 PM
Is there any way to clear the MBR (Master Boot Record) without using fdisk /mbr, which believe me, DOESN'T work. I've tried it and grub loaded again and booted up Linux again. I'm trying to to clear the MBR to get into Windows to print something, which I can't do in Linux. Grub won't boot Windows, just to let you know.
If I can't get the MBR cleared, how do I change from booting with Grub to booting with LILO?
Cloak_Linux
01-13-2001, 07:17 PM
Do "sys c:" from your win98 bootdisk, that will remove the lilo boot.
http://www.linuxnewbie.org/ubb/smile.gif
Letalis
01-13-2001, 07:18 PM
You should be able to just install lilo and let write over grub. Or you could reinstall win95/98/ME since it also just write over mbr.
PLBlaze
01-13-2001, 07:21 PM
Simply boot to dos prompt and type fdisk /mbr and your mbr will be cleared.Hope this helps.
Econoline
01-14-2001, 02:18 PM
PLBlaze: fdisk /mbr from a DOS prompt after booting from my Win98 bootdisk didn't work at all. I already said that in my original post.
PLBlaze
01-14-2001, 02:20 PM
<me turns red>
Sorry i read your post too fast.You have some
other problem there,fdisk /mbr did it for me all the time.
sssadams
01-14-2001, 04:39 PM
Econoline...from TCM board I assume http://www.linuxnewbie.org/ubb/smile.gif
open /etc/lilo.conf in a text editor.
change the line that says
boot=/dev/xxx to /dev/hda
that is the master boot record for drive1(ide)
save the changes and as root in a term enter
/sbin/lilo -v
you should see some output and this clears grub.Now reboot and try your disk again.
Cloak_Linux
01-14-2001, 05:04 PM
Originally posted by Cloak_Linux:
Do "sys c:" from your win98 bootdisk, that will remove the lilo boot.
Tried that?