[issue1292] live-boot: encrypted persistency fails

Evgeni Golov bts at bts.grml.org
Fri Mar 14 17:29:11 CET 2014


Evgeni Golov <evgeni at grml.org> added the comment:

Works for me:

qemu-img create -f raw persist-crypt.img 512M
sudo losetup -f persist-crypt.img
sudo cfdisk /dev/loop1 (create one big partition)
sudo cryptsetup luksFormat /dev/loop1p1
sudo cryptsetup luksOpen /dev/loop1p1 cryptloop
sudo mkfs.ext4 -Lpersistence /dev/mapper/cryptloop
sudo mount /dev/mapper/cryptloop /mnt 
sudo vim /mnt/persistence.conf
sudo umount /mnt 
sudo cryptsetup luksClose cryptloop 
sudo losetup -d /dev/loop1

kvm -m 1024 -hda persist-crypt.img -cdrom /home/evgeni/Downloads/grml64-
small_sid_latest.iso -boot d

I put "/ union" in the conf -- sure you typed "union /"? :)
I booted with "persistence persistence-encryption=luks", but passing a label did 
work too, even though not needed in my setup.

----------
assignedto: evgeni
files: grml64-custom_mounts_fail.png
messages: 4717, 4720, 4725
nosy: evgeni, mika
priority: bug
status: chatting
title: live-boot: encrypted persistency fails

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1292>
_____________________________________


More information about the Bugs-changes mailing list