Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Frankenchroot"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Subpages|Required Packages,Binary Format Setup,Simple Frankenchroot,Live NFS Frankenchroot, Manual Binary Format Setup}} | {{Subpages|Required Packages,Binary Format Setup,Simple Frankenchroot,Live NFS Frankenchroot, Manual Binary Format Setup}} | ||
==''Chrooting and Letting the Magic Happen''== | ==''Chrooting and Letting the Magic Happen''== | ||
Revision as of 21:52, February 24, 2019
Subpages:
Chrooting and Letting the Magic Happen
Entering Franken Chroot
root # mv -v /mnt/piroot/etc/resolv.conf{,.orig} root # cp -v -L /etc/resolv.conf /mnt/piroot/etc/ root # env -i HOME=/root TERM=$TERM /bin/chroot /mnt/piroot /bin/bash -l root # export PS1="(Franken_Chroot) $PS1"
Exiting Franken Chroot and Final Thoughts
root # rm /etc/resolv.conf root # mv -v /etc/resolv.conf{.orig,} root # exit root # umount -v /mnt/piroot/var/tmp/portage root # umount -lR /mnt/piroot root # sync