Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:gentoo [2006/12/14 02:51]
cyril
linux:gentoo [2013/09/19 16:40] (current)
Line 3: Line 3:
 Gentoo is a source distribution, very efficient and well done, with a very good documentation and community. Gentoo is a source distribution, very efficient and well done, with a very good documentation and community.
  
-===== 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 "gentoo <thing> howto" in google (or "gentoo guide <chose>" for French documentation). There are really a lot of howtos.
  
 +===== chroot =====
 +
 +Chrooting is a well-known procedure for Gentoo users because it is necessary for its installation, and it probably works with other distributions but I'm not sure it is the same syntax.
 +
 +Chrooting consists to "change root", to run a system you have not booted on (for example you boot on a live cd, and you chroot to your system and you can run ''emerge'' etc on your system).
 +
 +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  ; to uncompress the sources +cp -L /etc/resolv.conf /mnt/gentoo/etc/ 
-; here you can modify sources +mount -t proc none /mnt/gentoo/proc 
-ebuild fluxbox compile ; to compile +mount -o bind /dev /mnt/gentoo/dev
-ebuild fluxbox install ; to install (first part) +
-ebuild fluxbox qmerge  ; to install (second part) +
-ebuild fluxbox clean   ; to clean temporary folders+
 </code> </code>
- +And for every shell you want to open:
-This is exactly equivalent to :+
 <code bash> <code bash>
-emerge fluxbox+chroot /mnt/gentoo 
 +env-update 
 +source /etc/profile
 </code> </code>
 +
 +
 +
 +
 +===== Services =====
 +
linux/gentoo.1166064666.txt.gz · Last modified: 2013/09/19 16:42 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0