windows reinstalled problems

Rutger van Haasteren rvhaasteren at
Sat Dec 23 16:40:55 UTC 2006

It sounds as if the wrong root partition is passed to your kernel when
booting from grub. Just to be sure, you can boot windows from grub now,
What you could do is edit the line in grub: select the line which boots
ubuntu in grub and press 'e'. Then you can see the boot lines needed to boot
Check that the partitions are ok. You can again edit the lines by pressing
'e' and confirming them with 'Enter'. And when done editing you can boot by
pressing 'b'. Things to check:

- Is the right partition loaded by grub? (in (hd0,0) format)
- Is the right image loaded by grub?
- Is the right root partition passed to the kernel? (in /dev/hda1 format).

Good luck!

On 12/22/06, Cheatah 0#@!^ <cheataah at> wrote:
> 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)
> Succes!
> Rutger
> 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.
> Thanks.
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list