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
Dell PowerEdge R730 Server 2x E5-2660 V3 - 20 Cores H730 32GB RAM No HDD
$297.99
DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45
$412.00
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$599.95
Dell R730XD 24xSFF Server 2x HS, 2x 1100W, H730, Enterprise- Wholesale Custom
$235.00
Dell Poweredge R720 2x Xeon E5-2660 v2 2.2GHz 20-Cores / 128gb / H710 / 2x 750w
$119.99
Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU
$206.99
Dell PowerEdge R620 4-Bay 1U 1x Intel E5-2643 3.30GHz PERC H310 2x300GB SAS 64GB
$75.00
Dell Poweredge R630 2x Xeon E5-2690 v4 2.6ghz 28-Cores / 128gb / H730 / iDracEnt
$294.99
Dell PowerEdge R720XD Server 2x E5-2660 V2 -20 Cores H710 64GB RAM 2x 4TB SAS
$333.99
DELL PowerEdge R730XD 12LFF 2SFF 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45
$644.00