4 echo "Something went wrong. Dropping you to a shell"
10 mount -t devtmpfs none /dev || rescue_shell
11 mount -t proc none /proc || rescue_shell
12 mount -t sysfs none /sys || rescue_shell
13 echo 0 > /proc/sys/kernel/printk
16 cryptsetup -T 5 luksOpen /dev/sdb3 lukssdb3 || rescue_shell
18 # Create LVM nodes /dev/main/root etc
19 lvm vgscan --mknodes || rescue_shell
20 lvm lvchange -a ly main/root || rescue_shell
21 lvm lvchange -a ly main/home || rescue_shell
22 lvm lvchange -a ly main/swap || rescue_shell
23 lvm vgscan --mknodes || rescue_shell
26 mount -o ro /dev/main/root /mnt/root || rescue_shell
32 exec switch_root /mnt/root /sbin/init