On Saturday 21 August 2004 06:32 pm, Robert Rozman wrote:
I'm Linux newbie, tried to install Windows uncusessfully, but it also messed my MBR (temporarily during install that hasn't ended).
I'm curious how to restore my MBR (I don't have a floppy drive - could use Knoppix CD I guess) ?
Thanks in advance,
Robert, There was a thread in the past week or so discussing this issue and the different ways to recover If you have a windows bootable cd around, boot from it to the command line and do: fdisk /mbr that will restore the mbr to the winstuff thing it had, then you need to redo grub. In a nutshell, the easiest way for me is to boot from the SuSE CD/dvd tell it to do an installation -- But you wont do an installation- then a couple of dialogs in, you are offered several choices, one being to boot an installed linux. That election that will look at your hd and boot up the linux it found there. When it finally gets booted up, I then use YAST>System>Boot Loader Configuration to redo grub. Mine has the following Values in the Boot loader Setup page: Boot Loader Location = /dev/hda2 # Yours witll vary depending on where your boot partiton is, Disk Order = /dev/hda, /dev/hdb Available Sections = Linux (default), Windows, Failsafe Activate Boot loader Partiton = No Replace Code in MBR = Leave Untouched Back up Affected Disk Areas = No Add Saved MBR to Boot Loader Menu = No Save Method = Save only changed files. On Finishing it is ready to boot as before. If you look up the tread I referred you will find several different suggestions on how to do this. I choose the GUI cause it's easiest for me, There are command line versions that work equally well, but you can see my typing sucks. Hope that helps a bit, Richard