This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
rootfs 14G 5.2G 8.2G 39% / | |
/dev 977M 0 977M 0% /dev | |
run 980M 380K 980M 1% /run | |
/dev/sda3 14G 5.2G 8.2G 39% / | |
shm 980M 0 980M 0% /dev/shm | |
tmpfs 980M 276K 980M 1% /tmp | |
/dev/sda1 136M 23M 106M 18% /boot | |
/dev/sda5 14G 5.0G 8.4G 38% /home/ink/me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mount /dev/sda6 /mnt/gentoo/ | |
mount /dev/sda2 /mnt/gentoo/boot/ | |
mount -t proc proc /mnt/gentoo/proc | |
mount --rbind /dev /mnt/gentoo/dev | |
cp -L /etc/resolv.conf /mnt/gentoo/etc/ | |
chroot /mnt/gentoo /bin/bash | |
env-update && source /etc/profile |
NewerOlder