X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=init;h=5d24645178ab998a6d6beab929f62d4950e0788e;hb=a191bd11218f495873109b8de57814b9756d92b6;hp=6b218337e1084ab543108b72681d5cbdf041d65a;hpb=969fe2a106b2188ec586cfd6f212e6d72fe0a16a;p=max%2Finitramfs.git diff --git a/init b/init index 6b21833..5d24645 100755 --- a/init +++ b/init @@ -6,17 +6,17 @@ rescue_shell() { 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 -/bin/busybox 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