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
Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor
$46.00
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE
$49.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$619.99
Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked.
$145.59
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
Intel Core i5-6500T SR2L8 2.50GHz Processor | Grade A
$25.00
Intel Core i5-6500 SR2L6 3.20GHz Processor | Grade A
$30.00