windows reinstalled problems

Rutger van Haasteren rvhaasteren at gmail.com
Wed Dec 20 18:51:10 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)

Succes!

Rutger


On 12/20/06, Cheatah 0#@!^ <cheataah at gmail.com> wrote:
>
> i was running kubuntu 6.06 and winxp on my system. i had some problems
> with my windows so i formatted the drive and reinstalled windows. now
> i cant see the boot menu(grub) and the windows automatically boots. is
> my linux installation completely gone or just the booting is taken
> control by windows?? if so how can i return to grub boot loader??
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061220/29f6e33d/attachment.html>


More information about the ubuntu-users mailing list