[Hoary] Reinstall GRUB after install of Win XP - Linz

yo mero debianier at gmail.com
Mon May 9 01:51:28 UTC 2005


On 5/8/05, Lindsay <judenlinz at orcon.net.nz> wrote:
> I have had to reinstall Windows XP on my wifes PC (which also had Hoary
> on it.  Of course I have now lost GRUB.
> 
> I am sure there is a way to reinstall GRUB on either the Live or Install
> CD's, but I would like someone who has done this to advise me.
> 
> Linz
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 

boot with your  install  cd
and boot
at the first dialog   switch to  F2 console
then
mkdir /aa
mount /dev/hdaX  /aa <-- where hdaX is your root partition
chroot /aa
grub-install  /dev/hda
reboot

that's all


Leonel




More information about the ubuntu-users mailing list