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