FG
💻 Software

How can I change the amount and size of Linux ramdisks (/dev/ram0 - /dev/ram15)?

Fresh5 days ago
Mar 15, 202658853 views
Confidence Score0%
0%

Problem

Using Linux, when I boot I automatically have 16 16MB ramdisks, however, I would like to create one really large ramdisk to test some software. I found that I can adjust the size of the ramdisks already on the system with the kernel boot parameter however, this makes all 16 ramdisks (/dev/ram0 - /d…

Error Output

ramdisk_size

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I change the amount and size of Linux ramdisks (/dev/ram0 - /dev/ram15)?

Low Risk

Kernel compile time There are two kernel configuration options that you can set in your file: This configured my kernel to create one ramdisk that is 10G at boot time. Notes: is in KB. Don't specify more memory than you actually have RAM in your com…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment