Sorry, I haven't time to look over your problem. Perhaps a look at createdata() and mountdata() within the init-script of minirt.gz may help you.
one more thing to add to my previous post ----
I tried loopaes ( http://glarson.org/files/loopaes/loopaes ) with hashalot, it seems I have a trouble: ERROR: could not insert 'padlock_aes': No such device ----
then I tried "sudo modprobe -v aes", I got "insmod /lib/modules/3.3.7/kernel/drivers/crypto/padlock-aes.ko ERROR: could not insert 'padlock_aes': No such device" ----
so I tried to blacklist it by "sudo vi /etc/modprobe.d/modprobe.conf" (to add a line "blacklist padlock-aes" as I found on the Web) but the trouble is still here when I launch loopaes ----
maybe I am on a wrong way anyway to solve my first trouble...
Last edited by user89; 07-07-2012 at 10:43 PM.
Sorry, I haven't time to look over your problem. Perhaps a look at createdata() and mountdata() within the init-script of minirt.gz may help you.
you're probably right!
someone here told me how to do is previously but
i just tried its firt command (sudo mkdir /mnt-system/work)
I got:
:/mkdir: cannot create directory `/mnt-system/work': Read-only file system
I'll try to mount somewhere else...
I created a new container manualy with losetup on Knoppix 7 --
I tried to open it on another old PC Debian that could open my old "knoppix 5" data, but I couldn't open the new container !
because it was asking me a passphrase of at least 20 car.
but I think when creating the new container I couldn't have a passphrase longer than 16 car...
maybe here is the explanation of the trouble...
so the only ready solution to use the same crypted container on a new PC (Knoppix 7) and an old one (not up to date Linux) is with cryptsetup (SHA1, not SHA256)...
now I just wonder when I have to mount the container on Knoppix if I want a persistent image...
Knoppix creates a new encrypted image for you. Placed where Knoppix usually resides. If you store it on NTFS or extX partitions, you can make it big - but then you may have to either create it manually or resize it (I don't know about resizing encrypted images, resizing ordinary images is simple and works quite well.) To make things simpler and safer, I suggest you copy over from the old encrypted image to an unencrypted one, and then from there to the new encryption.
You should be able to do this from Knoppix 7, running, as kl522 suggests, the Knoppix 5 ISO/installation in a virtual machine.
My own preferred way of doing such things, is making a Poor Man's install on some partition, setup legacy Grub so it can boot that install, and then let Grub boot it in Qemu.
For example, booting your main HD like this
then select the partition and from the original Knoppix version running in the VM, copy from encrypted to unencrypted - on the same partition (the VM's /mnt-system), or somewhere else mounted by the VM. Just beware of multiple mounting of partitions.Code:sudo qemu -hda /dev/sda -m 512 &
Maybe too awkward and stupid for your liking, but that's me.
BTW, I doubt incompatibilities here are introduced by Knoppix, I would guess it's the Debian heritage, and I would think you got a hint when you couldn't open the new container in the old Debian.
again, my data file (on USB key) can't be on the Knoppix device (DVD)
I managed to open my old Knoppix 5 data and to copy them in a cryptsetup device that I can open with my old Debian and newest Knoppix 7, so that's ok
now two troubles:
- the USB key is very very slow on the old Debian, I need about 1h to mount a 16Gb crypted container and a long time too to umount it. It was faster with the Knoppix 5 container (and the same USB key...)
- I need to configure again all my softwares (Icedove mail...) when I reboot, and I didn't find a solution to install and keep new softwares in my container as I did before with Knoppix 5. For static it's ok, but I have some professional softwares only available as .deb and the publishers won't change that...
maybe because I mount my container on a directory on the Desktop...
1. Do you understand what we were talking about when we suggested running your old Knoppix in a VM and mention Poor Man's install? The method I suggested doesn't involve DVD at all.
2. If your software is available as .deb
A: If new install works, why don't you just reinstall it on a new persistent store, dropping the old versions?
B: If new install doesn't work, why do you bother trying to transfer? You can still use these programs by running Knoppix5 in a virtual machine, as we suggested.
3. Why do you mix programs and user data in a 16 GB volume? I have experimented with persistent store, and found that for my use, anything beyond ca 6 GB starts to become impractical. User data is better kept on a separate volume, and you can modify for example /etc/rc.local or knoppix.sh to automount that. In particular, if you don't want to roll some programs into the KNOPPIX cloop by remastering, but keep them on an encrypted volume I think it is safest and most practical to keep user data separate from that, encrypted or not. Otherwise, the simplest way to proceed is remastering, so essentially all programs are integrated in the KNOPPIX cloop.
SRF8Z Intel Xeon Gold 6244 8-Core 3.60GHz 24.75MB 150W Processor ***New Other***
$1590.00
Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W
$3472.00
Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W
$3180.00
Dell XC630 Server 3.00Ghz 8-Core 128GB 2x 800GB SAS SSD 12G 8x NEW 2TB SSD H730P
$2598.15
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Dell Optiplex 7060 SFF 8th Gen Core i7 3.2GHZ 32GB 512GB Win 11 Pro
$249.00
Dell Precision 3420 SFF Intel Core i5-6500 8GB RAM 256GB SSD WIN 11
$75.00