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 01:22]
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.
  
-<code BASH> +===== chroot =====
-ebuild fluxbox fetch   ; to download the package +
-ebuild fluxbox unpack  ; to uncompress the sources +
-; here you can modify sources +
-ebuild fluxbox compile ; to compile +
-ebuild fluxbox install ; to install (first part) +
-ebuild fluxbox qmerge  ; to install (second part) +
-ebuild fluxbox clean   ; to clean temporary folders +
-<code>+
  
-This is exactly equivalent to : +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. 
-<code> + 
-emerge fluxbox+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
 +mount -t reiserfs /dev/hda5 /mnt/gentoo 
 +cp -L /etc/resolv.conf /mnt/gentoo/etc/ 
 +mount -t proc none /mnt/gentoo/proc 
 +mount -o bind /dev /mnt/gentoo/dev
 </code> </code>
 +And for every shell you want to open:
 +<code bash>
 +chroot /mnt/gentoo
 +env-update
 +source /etc/profile
 +</code>
 +
 +
 +
 +
 +===== Services =====
 +
linux/gentoo.1166059370.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