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 [2007/12/16 23:44]
127.0.0.1 external edit
linux:gentoo [2013/09/19 16:40] (current)
Line 11: Line 11:
 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). 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 hda6 with a reiserfs file system :+If your system is on hda5 with a reiserfs file system, do once:
 <code bash> <code bash>
 mount -t reiserfs /dev/hda5 /mnt/gentoo mount -t reiserfs /dev/hda5 /mnt/gentoo
 +cp -L /etc/resolv.conf /mnt/gentoo/etc/
 mount -t proc none /mnt/gentoo/proc mount -t proc none /mnt/gentoo/proc
 mount -o bind /dev /mnt/gentoo/dev mount -o bind /dev /mnt/gentoo/dev
 +</code>
 +And for every shell you want to open:
 +<code bash>
 chroot /mnt/gentoo chroot /mnt/gentoo
 env-update env-update
linux/gentoo.1197848666.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