add shell script to mount all rescue / chroot required paths

This commit is contained in:
Nico Schottelius 2024-04-18 10:24:21 +02:00
parent 56a0ef83df
commit 58518fd360

8
mount-dev-sys-proc Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
dst=$1; shift
for dir in /dev /proc /sys /sys/firmware/efi/efivars; do
mount --bind $dir ${dst}/${dir}
done