http://www.murga-linux.com/puppy/viewto ... 795#794795
OK, Tm_mT, here we go... I hope I do not have critical typo that can break everything
Boot as usual with porteus-boot (initrd63.xz).
Add initrd61.img inside /live boot folder (if it is not there yet).
Download and extract this archive in /opt/bin (this is the easiest way to create encrypted save file for live-boot-3x with persistence.conf file inside and content /union for full persistence - all is automated).
http://www.smokey01.com/saintless/Debia ... -crypt.zip
Type in terminal mk-save-crypt and follow the instructions to create encrypted save file. Choose small size for the test and persistence as name for the save file and location sda2. (You should have /sda2/persistence save file at the end).
Boot DebianDog with this boot code in menu.lst:
Code: Select all
title DebianDog live-boot-3x No-Copy-to-RAM persistence encrypted on /sda2
uuid afca251b-50da-4e0a-87e7-cabd2e8ee8ce
kernel /live/vmlinuz6 boot=live config swapon noeject quickreboot autologin rw-basemount persistence persistence-encryption=none,luks
initrd /live/initrd61.img
If yes - stop here. If no - continue further.
Boot DebianDog with this boot code (no persistence). We do not need save file to keep the changes - new rebuilded initrd.img with included components from firmware-linux-nonfree is all we need for this test):
Code: Select all
title DebianDog live-boot-3x No-Copy-to-RAM no-persistence
uuid afca251b-50da-4e0a-87e7-cabd2e8ee8ce
kernel /live/vmlinuz6 boot=live config swapon noeject quickreboot autologin rw-basemount
initrd /live/initrd61.img
Install firmware-linux-nonfree:
Code: Select all
apt-get install firmware-linux-nonfree
Open terminal and type:
Code: Select all
cd /boot
mkinitramfs -o initrd.img-3.14-0.bpo.1-686-pae 3.14-0.bpo.1-686-pae
Now you have new rebuilded with firmware linux included initrd.img-3.14-0.bpo.1-686-pae
But we need to patch it first in order to be able to use save file on the boot partition.
Copy /boot/initrd.img-3.14-0.bpo.1-686-pae in /opt/bin/special/patch-live-initrd/ and rename it to initrd.img
Type in terminal:
Code: Select all
/opt/bin/special/patch-live-initrd/patch-initrd
New /opt/bin/special/patch-live-initrd/initrd-custom.img will be created.
Rename initrd61.img to initrd61.img-old and move /opt/bin/special/patch-live-initrd/initrd-custom.img in /live and rename it to initrd61.img
Now boot the computer again with the encrypted persistence boot code:
Code: Select all
title DebianDog live-boot-3x No-Copy-to-RAM persistence encrypted on /sda2
uuid afca251b-50da-4e0a-87e7-cabd2e8ee8ce
kernel /live/vmlinuz6 boot=live config swapon noeject quickreboot autologin rw-basemount persistence persistence-encryption=none,luks
initrd /live/initrd61.img
If it works I will try to make initrd63.img with the changes from your new builded initrd61.img and hopefuly it will work for porteus boot as well.
Toni