The post-chroot sys/proc/dev mounts

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1482
Joined: Fri Aug 29, 2003 8:39 pm

The post-chroot sys/proc/dev mounts

Post by ^rooker »

According to ArchLinux Wiki "Using Chroot":

Code: Select all

mount -t proc /proc proc/
mount --rbind /sys sys/
mount --rbind /dev dev/
mount {sys,proc,dev} on target system - *then* chroot to that folder:

Code: Select all

$ chroot FOLDER_WHERE_THE_OS_TREE_IS
Thx ArchLinux Wiki: Hat mir schon oft den Arch gerettet... ;)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply