View previous topic :: View next topic |
Author |
Message |
warenix n00b
Joined: 08 Jan 2007 Posts: 15
|
Posted: Mon Jan 08, 2007 2:38 pm Post subject: installation of LiveCD ok, but no dhcpcd[solved] |
|
|
I used the gentoo 2006.1 live cd (x86) to install in my machine, the gtk+ GUI installer worked fine, but I forgot to emerge dhcpcd during the installation phrase.
Now, when I boot up the mahcine, login the root account, I can't emerge dhcpcd, since the network is not setup.
How could I install that dhcpcd without re-installation?
Last edited by warenix on Mon Jan 08, 2007 4:52 pm; edited 1 time in total |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Mon Jan 08, 2007 2:39 pm Post subject: |
|
|
Boot off the livecd and chroot into your already installed system. Then do an emerge dhcpd. |
|
Back to top |
|
|
warenix n00b
Joined: 08 Jan 2007 Posts: 15
|
Posted: Mon Jan 08, 2007 3:01 pm Post subject: |
|
|
Thank you for your reply.
But I don't know how to chroot....
Could you please tell me more or hyper-links are welcome!
Thanks! |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Mon Jan 08, 2007 3:23 pm Post subject: |
|
|
Doesn't the livecd boot into a gui? If so, start up a terminal session in the gui. I am assuming /dev/hda1 is /boot, /dev/hda2 is swap, and /dev/hda3 is root. Adjust these according to your partition scheme.
Type the following commands in terminal.
mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
You have now chroot into your install. You should now be able to do an emerge dhcpd. |
|
Back to top |
|
|
warenix n00b
Joined: 08 Jan 2007 Posts: 15
|
Posted: Mon Jan 08, 2007 4:51 pm Post subject: |
|
|
Thank you for all nice guys! |
|
Back to top |
|
|
|