Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

mising modules need to emerge from live cd[solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
fjm
n00b
n00b
Posts: 3
Joined: Wed Aug 16, 2006 7:07 pm
Location: Punta Gorda. FL

mising modules need to emerge from live cd[solved]

  • Quote

Post by fjm » Wed Aug 16, 2006 8:06 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56107
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Aug 16, 2006 8:22 pm

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: Select all

emerge dhcpcd
maybe.

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

[edit - fixed the emerge - thanks UberLord]
Last edited by NeddySeagoon on Wed Aug 16, 2006 8:50 pm, edited 1 time in total.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
fjm
n00b
n00b
Posts: 3
Joined: Wed Aug 16, 2006 7:07 pm
Location: Punta Gorda. FL

Emerging from live cd

  • Quote

Post by fjm » Wed Aug 16, 2006 8:41 pm

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
Top
FantomKnight
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 135
Joined: Wed Aug 09, 2006 3:29 pm
Location: USA

  • Quote

Post by FantomKnight » Wed Aug 16, 2006 8:56 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56107
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Aug 16, 2006 9:09 pm

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: Select all

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: Select all

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: Select all

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: Select all

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.
Top
fjm
n00b
n00b
Posts: 3
Joined: Wed Aug 16, 2006 7:07 pm
Location: Punta Gorda. FL

  • Quote

Post by fjm » Wed Aug 16, 2006 11:52 pm

Thanks Guys,

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

Thanks Again,

Fran
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

  • Quote

Post by Drone4four » Tue Sep 15, 2009 7:33 pm

NeddySeagoons' Rough Guide to Chrooting is an incredibly useful resource. Thanks Neddy. =D
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
Post Reply

7 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic