Skip to content
Snippets Groups Projects
Unverified Commit 9e6f97ed authored by anarcat's avatar anarcat
Browse files

don't try to manage /dev/pts, it's covered by /dev?

In any case, unmounting this was giving me trouble this time.
parent bbc641e6
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,7 @@ working shell in the `chroot`:
cryptsetup luksOpen /dev/sda3 crypt_sda3 &&
vgchange -a y &&
mount /dev/mapper/vg_ganeti-root /mnt &&
for fs in /run /sys /dev /dev/pts /proc; do mount -o bind $fs /mnt$fs; done &&
for fs in /run /sys /dev /proc; do mount -o bind $fs /mnt$fs; done &&
mount /dev/sda2 /mnt/boot &&
chroot /mnt /bin/bash
......@@ -240,7 +240,7 @@ This will rebuild grub:
And this will cleanup the rest:
umount /mnt/boot &&
for fs in /dev/pts /dev /sys /run /proc; do umount /mnt$fs; done &&
for fs in /dev /sys /run /proc; do umount /mnt$fs; done &&
umount /mnt &&
vgchange -a n &&
cryptsetup luksClose crypt_sda3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment