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.
HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3
$300.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w
$489.99
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB
$279.99
Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710
$74.50
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
Dell PowerEdge R330 Xeon E3-1220 v5 3.0GHz 32gb H330 2x 3.5" Trays SVR 2012
$189.99
R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$172.95
Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w
$649.99
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00