exec /bin/sh
}
-rescue_shell
-
# Mount filesystems
/bin/busybox mount -t devtmpfs none /dev || rescue_shell
/bin/busybox mount -t proc none /proc || rescue_shell
/bin/busybox mount -t sysfs none /sys || rescue_shell
-echo 0 > /proc/sys/kernel/printk
+#/bin/busybox echo 0 > /proc/sys/kernel/printk || rescue_shell
# Unlock luks device
/sbin/cryptsetup -T 5 luksOpen /dev/sdb3 lukssdb3 || rescue_shell
+rescue_shell
+
# Create LVM nodes /dev/main/root etc
/sbin/lvm vgscan --mknodes || rescue_shell
/sbin/lvm lvchange -a ly main/root || rescue_shell