Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub recovery in the MBR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
The_Bell
Apprentice
Apprentice


Joined: 01 Jul 2002
Posts: 157

PostPosted: Wed Jul 31, 2002 10:50 am    Post subject: Grub recovery in the MBR Reply with quote

I just installed Gentoo Linuc after installing Windows 2000, so I decided to put the grub in the MBR and goot both linux and windows 2k from grub.

Well actually I installed Windows XP over the 2000 because it was crashing, and Windows XP overwrote my MBR, so now I don't have acces to Gentoo Linux.

Can anyone tell me how could I boot into my Gentoo system and put the Grub in the MBR like it was before?

Thanks
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Jul 31, 2002 11:00 am    Post subject: Reply with quote

sure,

boot to the gentoo cd again

load any modules you need

mkdir /mnt/gentoo etc and mount them (basically follow the instructions - but obviously don't format your hdd or bootstrap again etc..)

chroot into your new system

go stright to the section on installing grub in the doco

basically

grub

root (hd0,1) - whatever your /boot device is
setup (hd0)
quit.

you shouldn't need to re-do your menu/lst file cause that will still be there.

just exit everything unmount everything, and reboot

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum