Genkernel Quick Start Tutorial/pt-br

From Funtoo
< Genkernel Quick Start Tutorial
Revision as of 01:43, April 3, 2015 by Tocadotux (talk | contribs) (Created page with "== Concepts == TBC == Recompiling the Gentoo kernel sources from a SystemRescue CD chroot == A second case that many Funtoo users will face to is to compile their own kernel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Concepts

TBC

Recompiling the Gentoo kernel sources from a SystemRescue CD chroot

A second case that many Funtoo users will face to is to compile their own kernel when installing a brand new Funtoo instance from a stage 3 archive (the most common scenario is to boot the machine with SystemRescue CD).

   Note
If you want to use the System rescue CD sources provided by Funtoo No results, the philosophy remains exactly the same.

First step emerging the required packages

The first step is to emerge:

  1. The Gentoo kernel sources: No results
  2. Genkernel itself: No results

This is achieved by running the following:

root # emerge sys-kernel/gentoo-sources sys-kernel/genkernel

Once the Gentoo kernel sources are deployed, you should find a directory named linux-version-gentoo (e.g. linux-2.6.39-gentoo) under /usr/src. Update the linux symlink to point to this directory:

root # cd /usr/src
root # rm linux
root # ln -s linux-2.6.39-gentoo linux