~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Chroot and Virtual Filesystems

Published on

Updated on

When running applications under a chroot environment, it can be annoying when certain virtual filesystems are unavailable. Here are the commands to mount the most common ones:

sudo mount -t proc /proc /mnt/root/proc
sudo mount -o bind /sys /mnt/root/sys
sudo mount -o bind /dev /mnt/root/dev

Source: ArchWiki

Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter