My working workaround:
boot with rdinit=/bin/sh

# mkdir /proc && mount -t proc none /proc
# mkdir /sys && mount-t sysfs none /sys
# grep sd /proc/diskstats | while read major minor dev other; do mknod 
/dev/$dev b $major $minor; done
# for i in /lib/modules/*/kernel/drivers/md/dm-crypt.ko 
/lib/modules/*/kernel/crypto/*; do insmod $i; done
# cryptsetup luksOpen $(blkid -t TYPE=crypto_LUKS | cut -d : -f 1) encrtypted
# lvm pvscan
# lvm lvs
# lvm lvchange -ay vg/root # put your device name here
# mkdir /n && mount /dev/mapper/vg-root /n
# cd /n/sbin
# ln udevadm backup-udevadm
# ln udevadm.upgrade backup-udevadm.upgrade
# rm udevadm
# mv udevadm.upgrade udevadm
# cp -a /n/sbin/udevadm /sbin/udevadm
# cd /
# umount /n
# lvm lvchange -an vg/root
# cryptsetup luksClose encrtyped
# umount /sys
# umount /proc
# exec /init

Excuse me for flooding the topic. Hope, it will help someone.

-- 
[Karmic beta] System hangs after initramfs, md1_crypt (running)
https://bugs.launchpad.net/bugs/450620
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to