Hi,
I have 8G of ram
at boot Knoppix (7.6) makes a ramdrive of 4G ... but I kinda need 5G
any solution to change ramdisk size ?
Hi sorcerer!
How did you find out the size of the ramdisk?
When I booted Knoppix 7.6.0 in Virtualbox 5.0.10 with 8 GB of RAM the commandshowed that the /ramdisk is 6.3 GB large.Code:df -h
@klaus2008
What a good catch regarding the ratio of 4GB to 8GB mentioned in sorcerer's post! But, with KNOPPIX 7.4.2, a ram with physical size of 4096MB can only be recognised as 3246MB when running in 32-bit mode and 3631MB in 64-bit mode. If the latest KNOPPIX is able to see all 4GB by default, that's awesome!
@sorcerer
From my very limited understanding of Linux and KNOPPIX, the default size of ramdisk is 80% of the ram size recognised by the kernel when the physical ram size is greater than 2000MB. If setting the ramdisk size manually is of interest, you could have a look at the /init file and keep an eye on the keywords of ramdisk and RAMDISK. The syntax of this hidden cheatcode is a bit tricky; the init script can take floating-point number, whereas the mount command only understands integer. One big question which keeps popping up in my head is what if the used space of ramdisk is larger than the ram size recognisable by the kernel but is still within the physical ram size... As I am not 100% sure what I'm talking about, so do it with your own risk... Sorry for the cliché...
@utu nope, they don't, this is about 8G ram and ram only, no connection with vfat
@klaus2008 you have A REALLY GOOD POINT, yes, there is a /ramdisk with 6.3G, but / is exactly half memory (4G if you have 8G, and 8G if you have 16G)
so, changing the question:
is it safe to use /ramdisk and / in the same time as they are more with 25% than total memory ? (4+6 = 10, and total memory is 8 )
is there any solution to modify them at boot time ?
now this is just curiosity, I bet I can use those 5G in /ramdisk, thank you for actually solving it![]()
Last edited by Werner P. Schulz; 12-07-2015 at 05:24 PM.
please edit my post and change:
(4+6 = 10, and total memory is![]()
to
(4+6 = 10, and total memory is 8 )
thank you

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$3759.98
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$427.63
Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$397.48
Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6Gb/s HDD | PC DVR CCTV | | 1Y
$55.95
Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb
$406.03
Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1794.04
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished
$493.99
Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11
$422.85
Dell Windows 11 Pro Desktop Computer PC Up To i7 8th Gen. 32GB RAM 4TB SSD/HDD
$438.27