Click to See Complete Forum and Search --> : FDISK /mbr
M.Arthur
11-02-2001, 03:19 AM
Mandrake 8.1
Is there a FDISK command?
I need to use FDISK To recreate my MBR as unable to boot to drive 1 C: windows.
As a result of reconfiguring default lilo changed to GRUB
Mandrake works fine but now unable to boot up C: drive D: drive OK.
Have tried DOS floppy FDISK/mbr but message reads
The Master Boot record Code has NOT been upgraded
Any help with this problem
Maurice
Linuxcool
11-02-2001, 04:04 AM
You could try editing the menu.lst file and add lines to it to allow you to boot windows. That is a lower case ' L ' in ' menu.lst '. I added these lines to mine:
title windows
root (hd0,0)
makeactive
chainloader +1
The hd0,0 means that the partition windows is on is hda1. I believe that is where yours is probably located. So, this code should work for you. I don't know why the command fdisk /mbr didn't work for you.
m3rlin
11-02-2001, 05:46 AM
If you use fdisk /mbr you will delete the MBR entries. What you need to do, is edit (in case lilo) lilo.conf and put other image for windows
But if you use grub i can't help you, because i never work with it.
bdg1983
11-02-2001, 05:52 AM
If all else fails, try using the fdisk from DOS version 7 and above (Win95 - Win98SE).
l01yuk
11-02-2001, 06:45 AM
After clearing the mbr as above I would recommend booting to your windows partition and using loadlin.exe (see mini-HOWTO) to boot linux. This means that you can put your linux boot partition anywhere on your drives and your mbr doesn't get altered. A better choice all round.
To choose what to boot put a menu at the top of the config.sys & autoexec.bat. You can do this becuase (believe it or not) windows supports a boot time menu you can use to boot to another OS (although I would imagine Billy didn't intend this use for it).
X_console
11-02-2001, 10:53 AM
LILO doesn't necessarily have to install on the MBR. I don't install it there. Just make sure you have a bootable Linux partition and then set LILO to boot from there.