Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:gentoo [2006/12/14 02:50] cyril |
linux:gentoo [2013/09/19 16:40] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
Gentoo is a source distribution, | Gentoo is a source distribution, | ||
- | ===== Emerge step-by-step for modifying source ===== | + | If you want to do something with gentoo (configure sound, install X, etc), first try the official howtos of gentoo, and on the gentoo wiki, by typing " |
+ | ===== chroot ===== | ||
+ | |||
+ | Chrooting is a well-known procedure for Gentoo users because it is necessary for its installation, | ||
+ | |||
+ | Chrooting consists to " | ||
+ | |||
+ | If your system is on hda5 with a reiserfs file system, do once: | ||
<code bash> | <code bash> | ||
- | ebuild fluxbox fetch % to download the package | + | mount -t reiserfs /dev/hda5 /mnt/gentoo |
- | ebuild fluxbox unpack | + | cp -L / |
- | ; here you can modify sources | + | mount -t proc none / |
- | ebuild fluxbox compile ; to compile | + | mount -o bind /dev / |
- | ebuild fluxbox install ; to install (first part) | + | |
- | ebuild fluxbox qmerge | + | |
- | ebuild fluxbox clean ; to clean temporary folders | + | |
</ | </ | ||
- | + | And for every shell you want to open: | |
- | This is exactly equivalent | + | |
<code bash> | <code bash> | ||
- | emerge fluxbox | + | chroot / |
+ | env-update | ||
+ | source / | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Services ===== | ||
+ |