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 01:22] 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 " |
- | <code BASH> | + | ===== chroot ===== |
- | ebuild fluxbox fetch ; to download the package | + | |
- | ebuild fluxbox unpack | + | |
- | ; here you can modify sources | + | |
- | ebuild fluxbox compile ; to compile | + | |
- | ebuild fluxbox install ; to install (first part) | + | |
- | ebuild fluxbox qmerge | + | |
- | ebuild fluxbox clean ; to clean temporary folders | + | |
- | < | + | |
- | This is exactly equivalent | + | Chrooting |
- | < | + | |
- | emerge fluxbox | + | Chrooting consists |
+ | |||
+ | If your system is on hda5 with a reiserfs file system, do once: | ||
+ | < | ||
+ | mount -t reiserfs /dev/hda5 / | ||
+ | cp -L / | ||
+ | mount -t proc none / | ||
+ | mount -o bind /dev / | ||
</ | </ | ||
+ | And for every shell you want to open: | ||
+ | <code bash> | ||
+ | chroot /mnt/gentoo | ||
+ | env-update | ||
+ | source / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Services ===== | ||
+ |