windows reinstalled problems

Cheatah 0#@!^ cheataah at
Fri Dec 22 19:39:38 UTC 2006

This is a very common problem when windows is reinstalled. When Windows is
installed it automatically overwrites the Master Boot Record (MBR) of the
primary harddisk (which is listed first in your BIOS). When reinstall I
simply change this order (I install windows on a separate physical disk) and
after the install I change it back. This is the easiest way.
>>>Your problem is easy to solve. Your partitions aren't gone, you just have to
put back your grub MBR. If you didn't make a GRUB bootable disk, then you
can use the ubuntu live cd and install grub on your MBR again. Just go to a
terminal and type 'sudo grub'. Now, in grub you can do this:

    grub> root (hd0,0)
If you are not sure which partition actually holds the boot directory, use
the command find, like this:
    grub> find /boot/grub/stage1
This will search for the file name /boot/grub/stage1 and show the devices
which contain the file. Once you've set the root device correctly, run the
command setup:
    grub> setup (hd0)



thank you 4 that reply. i went according to ur reply and was able to
reinstate the boot menu, then i selected the ubuntu option from the
menu, thats when things went wrong- a new screen saying "cant mount
the patition................." comes up.actually i set hd0,7 as my
root, but in the screen where the error message came it is written
root(hd0,9). i had confirmed that the partition with the boot file was
hd0,7. can u tell what exactly is the problem.

More information about the ubuntu-users mailing list