B�r Kessels wrote:

> I want to install gentoo on a laptop without network or internet
> connection. I use the live CD with snapshots and all installed. I chrooted
> and now want to run:
> emerge gentoo-sources
> This gives errors: it cannot find the packages because it looks online
> 
> emerge --usepkgonly gentoo-sources gives me an error:
> !!! there are no packages available to satisfy "gentoo-sources"
> !!! either add a suitable binary package or compile from an ebuild.

It looks like you're out-thinking yourself.  :-)

Remove the --usepkgonly and try it again.  BUYER BEWARE:  I've never done a
stage 3, so if my advice is worthless... sorry.  ;-)

What you are thinking:
I don't want to compile, I want to use a binary package only.

What emerge is thinking:
I wasn't going to compile anything, just put the kernel sources
under /usr/src.  So, this fella is telling me to only use binary packages,
and there is no such thing... so I guess I can't install the sources.

What will happen with 'emerge gentoo-sources' (instead of having the
--usepkgonly switch):
Emerge will unpack the current kernel sources to /usr/src and apply a bunch
of patches that the Gentoo developers have selected (for performance
enhancements and bug fixes).  It will then set up a symlink /usr/src/linux
that points to something link /usr/src/linux-2.4.26-gentoo-r6.  It will not
compile your kernel.

If I understand correctly (and I might not), there isn't any way around
compiling your own kernel.  If you're unsure about this stuff, feel free to
use the instructions for 'Alternative: Using genkernel'.

Building a kernel isn't a big deal.  It'll take a few hours on a 486/66, but
about 10 mins on a modern processor.

Good luck!


-- 
                     G a b r i e l   M .   B e d d i n g f i e l d


--
[email protected] mailing list

Reply via email to