Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mising modules need to emerge from live cd[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fjm
n00b
n00b


Joined: 16 Aug 2006
Posts: 3
Location: Punta Gorda. FL

PostPosted: Wed Aug 16, 2006 8:06 pm    Post subject: mising modules need to emerge from live cd[solved] Reply with quote

I'm new to Linux and have just installed Gentoo from the live cd. Near the end of the install one of the components could't be found and a message appeared stating "install failed. After booting the networking dosn't work, and it appears that "DHCPCD" is missing. Since I can only get on the internet with the live cd, I need help with emerging from the live cd to the hard disk.

Thanks in advance,

Fran


Last edited by fjm on Wed Aug 16, 2006 11:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32334
Location: 56N 3W

PostPosted: Wed Aug 16, 2006 8:22 pm    Post subject: Reply with quote

fjm,

Wekcome to Gentoo.

Follow the handbook to boot the liveCD, mount your partitions and do the chroot commands.
When that is done, your install is running on top of the liveCD and services, just as it was before your rebooted.
You can now emerge whatever you need.
Code:
emerge dhcpcd
maybe.

Do not use fdisk, do not make any filesystems. Skip those steps in the handbook.

[edit - fixed the emerge - thanks UberLord]
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Wed Aug 16, 2006 8:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
fjm
n00b
n00b


Joined: 16 Aug 2006
Posts: 3
Location: Punta Gorda. FL

PostPosted: Wed Aug 16, 2006 8:41 pm    Post subject: Emerging from live cd Reply with quote

Thanks for your reply,

Since I'm new to Linux, the step by step commands to perform those tasks would be very helpful.

Thanks in advance,

Fran
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 8:56 pm    Post subject: Reply with quote

It's hard for anyone to give you exact step-by-step instructions because there's the possibility that you configured your filesystems differently than the examples in the handbook. But, if you follow along with the handbook and only do the steps where you mount your filesystems and then chroot, then you at the point to where you can emerge dhcpcd. Like NeddySeagoon said, DON'T do any of the fdisk stuff or the mke2fs stuff. Just pass over that portion. Just do sections 4e and 6a in the handbook. All else can be ignored.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32334
Location: 56N 3W

PostPosted: Wed Aug 16, 2006 9:09 pm    Post subject: Reply with quote

fjm,

NeddySeagoons' Rough Guide to Chrooting

I need to know your partition scheme to get it spot on. I will use
/dev/hda1 == /boot
/dev/hda2 == <swap>
/dev/hda3 == / (root) You will need to adjust as needed for your install.

Boot the liveCD with the nox option. At the boot: prompt, type
Code:
gentoo nox
and press return.
If you needed other no options to get booted with the liveCD add them too.

At the prompt, issue the following commands
Code:
swapon /dev/hda2
mount -t <fstype> /dev/hda3 /mnt/gentoo
mount -t <fstype> /dev/hda1 /mnt/gentoo/boot
mount -t proc proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
Fill in your filesystem types as required.
Thats everything mounted, now to get into the chroot with the following commands.
Code:
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
The last command provides a pretty prompt, its not actually required.

You will use the above sequence of commands whenever your system needs to be 'rescued', keep it handy.
With your system running on top of the liveCD, you can contine/fix your install.
Code:
emerge dhcpcd
will add the bit you are missing.

Its all covered in the handbook at the end of chapter 4 and in chapter 6. If you used the graphical installer, you will have used the other handbook, so these steps will be hidden from you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fjm
n00b
n00b


Joined: 16 Aug 2006
Posts: 3
Location: Punta Gorda. FL

PostPosted: Wed Aug 16, 2006 11:52 pm    Post subject: Reply with quote

Thanks Guys,

Followed your detailed instructions and I'm now on the internet.

Thanks Again,

Fran
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 217

PostPosted: Tue Sep 15, 2009 7:33 pm    Post subject: Reply with quote

NeddySeagoons' Rough Guide to Chrooting is an incredibly useful resource. Thanks Neddy. =D
_________________
Gigabyte GA-P45T-ES3G LGA 775 Intel P45
Intel Core 2 Quad Q9650 @ 3.0GHz
16.384GB RAM DDR3 1333MHz
EVGA nVidia GeForce GTX 560 Ti 2GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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