Page 1 of 1

The post-chroot sys/proc/dev mounts

Posted: Wed Apr 12, 2023 9:25 pm
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... ;)