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.
Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT
$490.00
Dell PowerEdge R620 Dual Intel Xeon E5-2697 v2 @2.70GHz 128GB RAM No HDD S110
$144.50
Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD
$130.49
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G
$345.00
Dell PowerEdge R430 - E5-2640 v3 2.60GHz 16GB RAM - NO HDDs
$119.99
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$313.33
R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2660V3 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$159.95
Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS
$214.99
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 64GB H730 4xRJ45
$318.00