Ahoy!
--
Simple setup:
/dev/sda1 /
/dev/sdc1 /boot
GRUB was installed to /dev/sdc as well, here are the exact steps:
# sda=hdd, sdc=usb
parted -s /dev/sda mklabel msdos
parted -s /dev/sda mkpart primary ext4 1MB 100%
parted -s /dev/sdc mklabel msdos
parted -s /dev/sdc mkpart primary ext2 1M 200M
cryptsetup luksFormat /dev/sda1
cryptsetup luksFormat /dev/sdc1
cryptsetup open /dev/sda1 toor
cryptsetup open /dev/sdc1 toob
mkfs.ext4 /dev/mapper/toor
mkfs.ext2 /dev/mapper/toob
mount /dev/mapper/toor /mnt
mkdir /mnt/boot
mount /dev/mapper/toob /mnt/boot
pacstarp /mnt base intel-ucode grub
genfstab -Up /mnt >> /mnt/etc/fstab
arch-chroot /mnt
sed -i "s#^HOOKS=.*#HOOKS=(base systemd autodetect keyboard modconf block sd-encrypt filesystems btrfs)#g"
mkinitcpio -p linux
echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grub
sed -i "s#^GRUB_CMDLINE_LINUX=.*#GRUB_CMDLINE_LINUX=\"luks.uuid=$(blkid /dev/sda1 -s UUID -o value)\"#g" /etc/default/grub
grub-install --target=i386-pc --recheck /dev/sdc
grub-mkconfig -o /boot/grub/grub.cfg
The above setup boots just fine, initramfs and all. But when it come to / it just hangs there. Nothing, not even a password prompt. Any ideas what might be the cause of it?
T.
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt