Created
October 23, 2021 00:26
-
-
Save khorsmann/125ff249e2ef242fe89b8a3ccc44bbfc to your computer and use it in GitHub Desktop.
short root-server mount and chroot hint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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