Skip to content

Instantly share code, notes, and snippets.

@khorsmann
Created October 23, 2021 00:26
Show Gist options
  • Save khorsmann/125ff249e2ef242fe89b8a3ccc44bbfc to your computer and use it in GitHub Desktop.
Save khorsmann/125ff249e2ef242fe89b8a3ccc44bbfc to your computer and use it in GitHub Desktop.
short root-server mount and chroot hint
mount /dev/md2 /mnt
mount -o rbind /dev /mnt/dev
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
chroot /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment