Created
September 14, 2023 10:10
-
-
Save cruisemaniac/422df692e464614b011889fe604bc3f8 to your computer and use it in GitHub Desktop.
Mounting Disk on Live USB
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
sudo -s | |
lsblk -paf | |
mount /dev/sda2 /mnt | |
mount /dev/sda1 /mnt/boot/efi | |
cd /mnt | |
mount --bind /dev /mnt/dev | |
mount --bind /dev/pts /mnt/dev/pts | |
mount --bind /proc /mnt/proc | |
mount --bind /sys /mnt/sys | |
chroot /mnt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment