| View previous topic :: View next topic |
| Author |
Message |
nader emami Tux's lil' helper

Joined: 14 Sep 2006 Posts: 88 Location: Netherlands
|
Posted: Mon Jun 02, 2008 9:35 am Post subject: [solved] Recover grub using livecd |
|
|
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 11:35 am; edited 1 time in total |
|
| Back to top |
|
 |
bunder Bodhisattva


Joined: 10 Apr 2004 Posts: 5213 Location: Hamilton, Ontario
|
Posted: Mon Jun 02, 2008 9:41 am Post subject: |
|
|
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 _________________ goodbye fgo. it was nice knowing you. |
|
| Back to top |
|
 |
gerard82 Veteran


Joined: 04 Jan 2004 Posts: 1855 Location: Netherlands
|
Posted: Mon Jun 02, 2008 10:47 am Post subject: |
|
|
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 (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
| Back to top |
|
 |
nader emami Tux's lil' helper

Joined: 14 Sep 2006 Posts: 88 Location: Netherlands
|
Posted: Mon Jun 02, 2008 11:35 am Post subject: |
|
|
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 |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Mon Jun 02, 2008 12:02 pm Post subject: |
|
|
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 Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
|