#!/usr/bin/bash # file: sgentoo.sh - setup gentoo mounts echo "once disk setup from gentoo handbook is complete" echo "press <enter> to chroot into gentoo environment." read sudo mount /dev/sda3 /mnt/gentoo sudo mount /dev/sda1 /mnt/gentoo/boot sudo swapon /dev/sda2 sudo cp --dereference /etc/resolv.conf /mnt/gentoo/etc sudo mount --types proc /proc /mnt/gentoo/proc sudo mount --rbind /sys /mnt/gentoo/sys sudo mount --rbind /dev /mnt/gentoo/dev sudo mount --bind /run /mnt/gentoo/run sudo chroot /mnt/gentoo /bin/bash For those that don't install gentoo in a single session at the computer. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.