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

Lindsay judenlinz at orcon.net.nz
Mon May 9 02:13:19 UTC 2005


On Sun, 2005-05-08 at 19:51 -0600, yo mero wrote:
> 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
> > 
> > 
> 
> 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
Do you mean the partition Win XP is on or Ubuntu?
> chroot /aa
> grub-install  /dev/hda
> reboot
> 
> that's all
> 
> 
> Leonel
> 





More information about the ubuntu-users mailing list