Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installation of LiveCD ok, but no dhcpcd[solved]
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
warenix
n00b
n00b


Joined: 08 Jan 2007
Posts: 15

PostPosted: Mon Jan 08, 2007 2:38 pm    Post subject: installation of LiveCD ok, but no dhcpcd[solved] Reply with quote

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
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Mon Jan 08, 2007 2:39 pm    Post subject: Reply with quote

Boot off the livecd and chroot into your already installed system. Then do an emerge dhcpd.
Back to top
View user's profile Send private message
warenix
n00b
n00b


Joined: 08 Jan 2007
Posts: 15

PostPosted: Mon Jan 08, 2007 3:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Mon Jan 08, 2007 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
warenix
n00b
n00b


Joined: 08 Jan 2007
Posts: 15

PostPosted: Mon Jan 08, 2007 4:51 pm    Post subject: Reply with quote

Thank you for all nice guys! :wink:
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