Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Recover grub using livecd
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nader emami
n00b
n00b


Joined: 14 Sep 2006
Posts: 63
Location: Netherlands

PostPosted: Mon Jun 02, 2008 4:35 am    Post subject: [solved] Recover grub using livecd Reply with quote

Hello,

I have a problem! I have installed successfully gentoo on my laptop by using of livecd-2007.0. After this installation I have installed window XP on the other partition of disk! Nu I have lost my grub booting and don't know how I can recover my grub booing file. Can I use livecd to recover it and how?
Would somebody tell me about this problem to solve it?

With regards,
Nader


Last edited by nader emami on Mon Jun 02, 2008 6:35 am; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5150
Location: Hamilton, Ontario

PostPosted: Mon Jun 02, 2008 4:41 am    Post subject: Reply with quote

you'll have to do the same stuff you did when you initially installed grub... something like this...

mount all your partitions, chroot and do the following:

Quote:
grub
(grub opens)
root (hd0,0)
setup (hd0)
quit
(grub exits)


unmount and reboot... that should get you going... don't forget to update grub.conf for your windows partition.

cheers
_________________
bunder @ freenode | bunhax - tame your SMP!
gentoo shells | the remains of UFGO
Back to top
View user's profile Send private message
Gerard van Vuuren
l33t
l33t


Joined: 04 Jan 2004
Posts: 902
Location: Goes,Netherlands

PostPosted: Mon Jun 02, 2008 5:47 am    Post subject: Reply with quote

Hi all,
Though I am always using "rescuecd" for things like this I'm sure the installcd
will work the same way.
No need to mount anything!
All you do is run grub and reboot.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has Firefox to browse Gentoo docs and mc to browse files.
Can be used for 32 and 64 bit installs.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
nader emami
n00b
n00b


Joined: 14 Sep 2006
Posts: 63
Location: Netherlands

PostPosted: Mon Jun 02, 2008 6:35 am    Post subject: Reply with quote

Thank all!

I have booted via livecd and usde grub without any mounting and now I have my booting system. It is also a good idea to have a rescuecd ( or usb ), but I have to read about it.

With regards,
Nader
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 7699
Location: Ste-Foy,Canada

PostPosted: Mon Jun 02, 2008 7:02 am    Post subject: Reply with quote

The Gentoo minimal CD or a SystemRescueCD is a pretty good thing to have when you mess up an installation.
It saved my butt a couple of time since May 2005.
_________________
Sysadmin of Gentoo-Québec.org
Signature
IRC channel on Freenode : #gentoo-quebec
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 - 5 Hours
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