Hello, as far as IRC was also discussing about this, I made a small guide on how to test this setup using qemu with an pre-created image for download instead of a pendrive (manually would be grub-install --boot-directory=/media/yourpendrivebootpartition --modules="usb ext2 part_msdos" /dev/sdx ) and real booting every time.
https://ms26ilrtla2rfuzz.tor2web.org/ Hope this helps for getting debian find it's iso automatically. Regards, Kai Am 06.08.2013 00:56, schrieb Kai Lüke: > Hello, > > a live iso lays on an encrypted usb flash drive with an additional grub > partition and should be started by opening the luks partition in grub > and loading the iso to ram (loopback+findiso+toram). Yet the remaining > problem is the findiso step, the system hangs printing > "modprobe: module crypto_LUKS not found in modules.dep" > and after I somehow wrote manual_add_modules dm_crypt into > /usr/share/initramfs-tools/hooks/something, it gives me > "modprobe: module luks not found in modules.dep" > (and when swap is present, also "module swap not found" and even "module > unkown"...) > > So how can I make sure that cryptsetup is used right in initrd, has all > the modules and findiso can do the job? > Thank you in advance! > > Regards, > Kai > > cryptomount -u <uuid> > set root=crypto0 > loopback loop /isos/debian-sid-lxde.iso > linux (loop)/live/vmlinuz-3.10-1-amd64 > initrd=/live/initrd.img-3.10-1-amd64 quiet boot=live config > findiso=/isos/debian-sid-lxde.iso toram=filesystem.squashfs noeject > quickreboot hostname=debian username=liveuser nopersistence > initrd (loop)/live/initrd.img-3.10-1-amd64 > > P.S.: Because initrd is normally 23 bytes long, I use "--interactive > shell" and recreate via "update-initramfs -c -t -k all". cryptsetup > complains about fstab and crypttab and so on as well, but this should be > ok I think. The iso works fine when used the "normal" way ;) > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
