X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=init;h=ee4816b621db1c71703b08d4104a5b4d46eecf76;hb=feb573c635143d4768bcd134ef1f41fb667e05c8;hp=b78fe1f6a715585e121e483626de25a96cf2fcce;hpb=c1bf6976ef3b1f6a578757005e28596f1870db86;p=max%2Finitramfs.git diff --git a/init b/init index b78fe1f..ee4816b 100755 --- a/init +++ b/init @@ -15,8 +15,6 @@ 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 @@ -31,4 +29,4 @@ rescue_shell /bin/busybox umount /dev || rescue_shell # Boot system -exec switch_root /mnt/root /sbin/init +exec /bin/busybox switch_root /mnt/root /sbin/init || rescue_shell