Currently, there is no way to load persistent settings if Knoppix is booted from a read-only medium. I suggest a change to the init script in the minirt, so that it is possible e.g. to boot from a CD and enter a boot parameter to load the KNOPPIX-DATA overlay file from a file somewhere else.
should load the file loadme.img or loadme.aes from the stated device and path.Code:knoppix home=/dev/sdb1/path/to/file/loadme
diff between original init and the new version:
What's the point ? To be able to use an unmodified verifiable ISO and still load settings. Some computers cannot boot from USB, and maybe one isn't allowed to copy Knoppix to the hard disk.Code:848a849,871 > preparehome(){ > # mount device and set the correct mounted path in $home > DEVICE=`echo $home | awk -F/ '{print "/"$2"/"$3}'` > HOMEFILE="${home#$DEVICE/}" > #check if the device is already mounted > MOUNTED=`mount | grep ^$DEVICE | awk '{print $3}'` > if [ -n "$MOUNTED" ] > then > if [ -r "$MOUNTED"/${HOMEFILE}.* ] > then > home="$MOUNTED"/${HOMEFILE} > fi > else > # make mount point > [ -d /mnt-home ] || mkdir -m 755 /mnt-home > trymount "$DEVICE" /mnt-home >/dev/null 2>&1 > if [ -r /mnt-home/${HOMEFILE}.* ] > then > home=/mnt-home/${HOMEFILE} > fi > fi # if mounted > } # preparehome > 850a874,875 > # if home is in parameters and starts with /dev/ mount the device and find the file > [ -n "$home" ] && [ `echo $home | awk -F/ '{print $2}'` = "dev" ] && preparehome
SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26
$74.99
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ
$84.99
Western Digital 1TB WD Purple Surveillance HDD, Internal Hard Drive - WD11PURZ
$52.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$23.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$18.57
Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive
$16.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US
$26.39
SAMSUNG SSD 870 EVO 1TB 500GB 250GB 2.5 inch SATA III 3 Solid State Drive US
$97.84