Package: live-boot
Version: 3.0.1-1
Severity: normal
Tags: patch
Hello,
this bug is about live-boot and luks persistence, I've tried to build
minimal live builds with suggestions from people on the channel and they
worked fine (sid builds), but whenever I permitted apt to
pull recommends packages I was unable to have persistence working.
I also found similar errors on the mailing list but no fix: 1
The relevant boot message is this one:
' Begin: Running /scripts/live-realpremount ... done.
Begin: Mounting "/live/medium/live/filesystem.squashfs" on "//filesystem.squashfs" via "/dev/loop0" ... done.
Enter passphrase for /dev/sdb2:
mount: mounting Loading on /live/persistence/Loading failed: No such device
sort: /tmp/custom_mounts.list: No such file or directory
/init: line 1: can't open /tmp/custom_mounts.list: no such file
rm: can't remove '/tmp/custom_mounts.list': No such file or directory
umount: can't umount /live/overlay: Device or resource busy
done.
Begin: Configuring fstab ... done.
Begin: Preconfiguring networking ... done.
notice the "mounting Loading", message.
I supposed that something was screwing the return value of open_luks_device
so I wrote a possible patch, that in my case resolves this issue.
thanks
best regards
here it is the auto/config used (in package-lists/desktop.list.chroot I also have
tasks-xfce-desktop)
mirror="http://ftp.debian.org/debian/"
security_mirror="http://ftp.debian.org/debian-security/"
lb config noauto \
-a i386 \
-b hdd \
-d sid \
--linux-flavours 686-pae \
--mode debian \
--debian-installer live \
--debian-installer-gui true \
--bootappend-live "\
boot=live \
config \
persistent=cryptsetup \
persistence-encryption=luks \
username=stack \
hostname=acqua \
persistence \
live-config.locales=it_IT live-config.timezone=Europe/Rome live-config.keyboard-layouts=it \
" \
--archive-areas "main contrib non-free" \
--apt-recommends true \
--linux-packages linux-image-3.7-trunk \
--mirror-bootstrap "${mirror}" \
--mirror-binary "${mirror}" \
--mirror-chroot-security "${security_mirror}" \
--mirror-binary-security "${security_mirror}" \
"${@}"