Linux : How to create Ramdisk

By | November 23, 2010

Here is a procedure to create ramdisk on Linux.

1. Look for ramdisk devices :

2. Increase size by adding the kernel parameter in the grub config file

(this example assume you want a 512 Mb ramdisk) :

3. Format the ramdisk :

4. Mount the ramdisk :

 

5. Umount the ramdisk :

6. Automated ramdisk creation (add to init) :

 




Be Sociable, Share!