You can find all the info how does Knoppix use the cheatcode "toram" within the init-script of minirt.gz
extract-from_init.txt
Hi guys,
I have been searching for additional info on the on how exactly the "toram" cheatcode modifies knoppix in the case of a flash disk install, but I cannot find anything.
What I would like is to load my modified knoppix and all my programs into ram at start, i.e. the union between sda1 and sda2 (my persistence drive). What I guess is actually happening is that knoppix is only loading sda1 to ram, and any changes I make have to be loaded from disk as/when needed.
Can anybody confirm how this actually functions, and advise how I can achieve my goal?
##optional read##
Whilst I'm here have a few additional queries:
1. Can I resize sda1 and sda2 partitions after they are made?
2. Is there perhaps a better distro more suited to my goals:
a. run inside portable virtualbox on sdcard
b. all personal data and files other than basic clean OS are encrypted with a good encryption, preferably prompting for password on boot.
c. no size limit on persistence
d. capable of all running from ram to negate the speed and durability issues of sd card.
e. small enough to run in VM with 4GB of ram
im fairly new to linux so please forgive ignorance
thanks,
Andy
You can find all the info how does Knoppix use the cheatcode "toram" within the init-script of minirt.gz
extract-from_init.txt
Thank you Werner, I will take a look.
I read through that thanks, though not sure how well I understood it.
I figure that since the mounting to ram takes place before I decrypt the persistence drive then it is impossible that any files within it would make it to ram. This is a shame.
I suggest you experiment with ordinary Knoppix and encrypted persistence before you work with the toram option. Might get a better concept of Knoppix shame from that. And "mounting to ram" and a few other things too.
The ramdisk approach is quite viable nowadays: You could keep both the compressed DVD (cloop) image and 4GB persistent store in RAM and still have ca 8GB free on a 16GB system. Main obstacle is loading and saving time. Re media wear, reading isn't that hard on the card, so the cloop image could also be left on the card. Speed penalty is very much dependent on type of application.

Intel Core i7-3770K 3.5 GHz Processor
$39.00
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00
Intel SRF90 Xeon Gold 6248 2.50GHz 20 Core LGA 3647 Server CPU Processor
$55.99
Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99
AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99
Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151
$39.99
INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG
$299.99
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00