User Tools

Site Tools


gentoo:chrooting

Chrooting

cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile

Grub install

# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
gentoo/chrooting.txt · Last modified: 2010/01/26 12:07 by deva