Re: Resetting grub?

From: ne... (akabi_at_speakeasy.net.invalid)
Date: 01/28/05


Date: Fri, 28 Jan 2005 09:10:53 -0600

On Thu, 27 Jan 2005 at 22:26 GMT, Leonard Evens eloquently wrote:
> I know I can look this up, but I hope someone will remind me quickly
> what to do.
>
> I had a dual boot Windows 2000/Fedora Core 2 system, and I just did an
> install of Windows XP Pro on the C: partition. In the process, my dual
> booting setup was wiped out. I can boot Linux from a rescue CD. In the
> old days I would just run lilo, but I've never actually had to restore
> grub to the MBR. What is the quickest way to do it? Also, is there
> anything to be specially careful about to avoid messing up booting for
> Windows XP?
Boot FC2 with either the rescue FC cd or FC2 cd1. If using
cd1 boot with 'linux rescue'. When you get to the bash prompt
'chroot /mnt/sysimage'. The depending on where grub did it's
install, do a 'grub-install --recheck /dev/<device>'.

HTH
N.Emile...

-- 
Registered Linux User # 125653 (http://counter.li.org) | Please remove
Certified: 75% ***, 42% of which is tard.          |   '.invalid'
http://www.thespark.com/bastardtest                    |    to reply.
Switch to: http://www.speakeasy.net/refer/190653