Created
September 30, 2025 13:56
-
-
Save fishd72/23c1b5a02d6cb74c8d5778ba5cd3da0b to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
mkdir /rescue | |
mount /dev/mapper/debian--vg-root /rescue | |
mount /dev/nvme0n1p1 /rescue/boot | |
mount -t proc proc /rescue/proc | |
mount -t sysfs sys /rescue/sys | |
mount -o bind /dev /rescue/dev | |
mount -t devpts pts /rescue/dev/pts | |
chroot /rescue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment