Recovery of grub in ubuntu

Bruce Marshall bmarsh at bmarsh.com
Mon Jun 4 20:22:51 UTC 2007


On Monday 04 June 2007, Sauro Cesaretti wrote:
> Hello everyone,
>
> I need to recover the grub configuration in ubuntu 7.04.
> Before,I had ubuntu 7.04 installed together with windows xp.
> This is my situation:
> In the first partition I had win xp, in the second partition I had one ntfs
> partition with data and Then other 4 partitions (/boot,/,/home,swap) for
> linux.
> I formatted the first partition and
> I reinstalled xp again.
> Now winxp removed  automatically the grub bootloader.
> How can I recover it?
> I tried to check some tutorials on the internet but I couldn't find
> something that works correctly for my situation.
> Thanks in advance,
> Best regards, Sauro

You need to boot from a live CD or some other source that will give you access 
to your 7.04 system.

Once you can do that, you will need to re-install grub.  Windows (in its usual 
fashion) has taken over the MBR (master boot record) and you need to 
reinstall grub there.

I can probably help you once you have a boot situation as above....   but 
perhaps someone else has an easier method.




More information about the ubuntu-users mailing list