LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo network less install emerge fails. (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-network-less-install-emerge-fails-227171/)

Nz_Boy_2004 09-06-2004 12:57 AM

Gentoo network less install emerge fails.
 
Hi ive got a tread in gentoo's forums but there not as helpful as the ppl on linux questions so im trying my luck here, im doing a stage 3 network less install and everything goes smooth till i try to emerge the kernel source and it trys to download it from the net instead of off the cd's, its very annoying, does any1 know what to do?

Thanks.

Crashed_Again 09-06-2004 05:25 AM

If you go network less you can't emerge anything! Does the stage 3 tarball provide kernel sources? Check to see if you have a /usr/src/linux directory. If so then you already have the kernel source code installed.

jsmarshall85 09-06-2004 08:13 AM

of course you can emerge doing a stage 3 networkless install. i just did one

according to the install manual (i assume you read the install manual) you have to extract the portage snapshot from the Universal LiveCD. the tarball is in the /snapshots directory on the cd, then just mount the cd and extract it out using

Code:

tar -xvjf /mnt/cdrom/snapshots/portage-20040710.tar.bz2 -C /usr
make sure you use a capital C and not a lower case c. of course substitute your mount point for the cdrom

then copy over the source cde
Code:

mkdir /usr/portage/distfiles
Code:

cp /mnt/cdrom/distfiles/* /usr/portage/distfiles/
then to install the kernel sources for 2.4 kernel
Code:

emerge gentoo-sources
or for a 2.6 kernel
Code:

emerge gentoo-dev-sources
or
Code:

emerge development-sources
for a vanilla 2.6 kernel

also, if there is a line GENTOO_MIRRORS in your /etc/make.cnf file, just comment it out. that should pull off the cd.

of course i just did my first gentoo install so i am a gentoo n00b, but i got this all from the install guide

good luck


All times are GMT -5. The time now is 06:06 PM.