Gentoo:/bin/chroot
| Parent Directory | Related Links |
About
Allows you to change the location of your base directory.
This is commonly done when initially setting up Gentoo as mentioned in the Installing the Gentoo Base System portion of the Gentoo handbook.
| Code: Gentoo Handbook Installation chroot related Code |
# mount /dev/hd?? # mount /mnt/gentoo # mkdir /mnt/gentoo/proc # mount -t proc none /mnt/gentoo/proc # mount -o bind /dev /mnt/gentoo/dev # chroot /mnt/gentoo /bin/bash # env-update >> Regenerating /etc/ld.so.cache... # source /etc/profile # export PS1="(chroot) $PS1" #do something here # exit |
Links
- UsingChroot
- Chroot_from_a_livecd
- Gentoo x86 Chroot Setup Guide
- HOWTO Panther Chroot
- Installing the Gentoo Base System Part 1, Chapter 6
Last modified: Tue, 19 Feb 2008 20:08:00 +1100 Hits: 1,942
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
