On Monday 30 October 2006 18:11, james wrote:
> Allan Spagnol Comar <allan.comar <at> gmail.com> writes:
> > you just have to rerun grub setup.
>
> Hmmmm,
>
> If I install XP in the partition and it writes over the MBR,
> then, upon reboot, how do I get to grub.conf so I have the
> option to reboot the gentoo, then run grub setup?

Boot off a rescue or live cd and reinstall grub from that environment

> something like this for my previously shown setup?:
> grub> root (hd0,0)    (Specify where your /boot partition resides)
> grub> setup (hd0)     (Install GRUB in the MBR)
> grub> quit            (Exit the GRUB shell)
>
> Do I run grub setup when XP is booted up?

This won't work - grub-install is a Linux program and it can't run under 
XP

> Should I use a lived CD to boot up and fix grub?

Yes

> easy and painless is what I had in mind...

LiveCD is easy and painless. However you are reqauired to think and not 
leave that step up to the machine as some other OS vendors would like 
you to do :-)

> Not to mention any potential gotchas....

If grub was previosuly successfully installed ont he machine there are 
no gotchas worth mentioning

alan

>
>
>
> James
-- 
gentoo-user@gentoo.org mailing list

Reply via email to