Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Booting from grml works:
- -------------------------
- cryptsetup luksOpen /dev/sda2 cryptpv
- vgchange -ay
- mount /dev/system_vg/root_lv /mnt/
- mount /dev/sda1 /mnt/boot/
- mount /dev/system_vg/var_lv /mnt/var/
- mount /dev/system_vg/opt_lv /mnt/opt/
- mount -t proc none /mnt/proc
- mount -t sysfs none /mnt/sys
- mount --rbind /dev /mnt/dev
- chroot /mnt /bin/bash
- Things done:
- ------------
- root@grml:/# dpkg -l | grep crypt | awk '{print $2;}'
- cryptsetup-bin
- duplicity
- gcr
- libcrypt-passwdmd5-perl
- libcryptsetup4
- libgcrypt11:amd64
- libgcrypt11:i386
- libhcrypto4-heimdal:amd64
- libhcrypto4-heimdal:i386
- libk5crypto3:amd64
- libk5crypto3:i386
- libmhash2
- libnettle4:amd64
- root@grml:/# cat /etc/crypttab
- pvcrypt UUID=5def9ccb-9158-4849-b024-3ce238347dde none luks
- root@grml:/# cat /etc/initramfs-tools/modules
- dm-crypt
- dm-mod
- sha256
- aes_x86_64
- aes_generic
- aes
- cbc
- sha256_generic
- aesni_intel
- aes
- aes_i586
- aes_x86_64
- aes_generic
- dm-crypt
- dm-mod
- sha256
- sha256_generic
- lrw
- xts
- crypto_blkcipher
- gf128mul
- root@grml:/# cat /etc/initramfs-tools/conf.d/cryptroot
- CRYPTROOT=target=cryptpv,source=/dev/disk/by-uuid/5def9ccb-9158-4849-b024-3ce238347dde
- root@grml:/# cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
- GRUB_CMDLINE_LINUX_DEFAULT="kopt=root=/dev/mapper/system_vg-root_lv cryptopts=target=cryptpv,source=/dev/disk/by-uuid/5def9ccb-9158-4849-b024-3ce238347dde,lvm=system_vg pci=nomsi noapic irqpoll"
- update-initramfs -u -k all
- update-grub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement