-
Senior Member
registered user
Run with ramdisk, update persistent store instead of ramdisk
The traditional way of using persistent store has been to remaster seldom, if at all, and use a rather "large" (as compared to the sizes of short time changes) persistent store, typically 4 GB for FAT32 compatibility. I have usuallly done a couple (1-4) of remasterings of each Knoppix version, and the option of running with just ramdisk has been for special occasions only. I could use the ramdisk -> overlay technique, but I don't find it very useful for me.
With Debian live and much more frequent squashfs remasterings, I have started to look at ramdisk use in another way. Right after a remastering, it won't make much difference whether you run with ramdisk or persistent store, and there may be a few advantages to decide only afterwards whether you want to keep the changes. Also. the need for space is rather limited, it is mostly for program installs and upgrades - almost all user space files (except for init/configuration stuff) are kept on volumes that are mounted the ordinary way.
An alternative way of using persistent store/ramdisk could be to read the content of the persistent store into the ramdisk on startup, run from ramdisk and have the option to save to persistent store as needed, typically with a question about saving on shutdown. Most of the time, I would choose not to save.
Reading from persistent store into the ramdisk takes some time, but with my use, typically below 1 GB used on persistent and SSD disks, it would take only a few seconds. And the machine would run faster.
My total uncompressed system size is around 10 GB. That includes Oracle XE 11g and VMware workstation 10. With default squashfs compression, I have yet to approach the 4GB "limit", but the system is rather bloat-free.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Fanxiang 512GB 1TB 2TB 4TB SSD 2.5'' SATA III 6Gb/s TLC Internal Hard Drive Lot
$30.99

Fanxiang NVMe M.2 SSD 512GB 1TB 2TB 4TB PCIe Gen3 Internal Solid State Drive LOT
$30.99

Acer Aspire 3 Laptop 15.6" 1TB AMD Ryzen 5 7520U 2.8GHz Certified Reburbished
$275.99

Dell Latitude 14” 1920x1080 Core i5 Laptop Up To 32GB RAM 1TB SSD Windows 11 Pro
$353.58

SEAGATE ST1000NM0033 1TB SATA 7200 RPM HARD DRIVE
$13.00

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$157.29

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop
$290.00

1TB 2TB Type C/USB-A USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop
$18.26

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$49.99

Fanxiang 2.5''SATA SSD 512GB 1TB 2TB 4TB Internal Solid State SSD Hard Drive lot
$50.59