Solved

Setting up ram disk - Linux 2.0.28

Posted on 1997-04-20
2
222 Views
Last Modified: 2013-12-15
Could someone give me a brief overview of how to setup a ram disk under Linux 2.0.28?  I can't seem to find any resources or determine the exact configuration needed to get it to mount correctly.
0
Comment
Question by:jrusnak
2 Comments
 
LVL 1

Accepted Solution

by:
ggeens earned 100 total points
ID: 1627202
1. Compile Ramdisk support into your kernel.
2. Make sure you are running the right kernel.
3. Make the devices: mknod /dev/ramX b 1 X
(X is a number, normally 1-16). You might also want to create a /dev/ram entry pointing to the first ramdisk
(mknod /dev/ram b 1 1).
4. Initialise the disk:
dd if=/dev/zero of=/dev/ram bs=1k count=4096
5. Make the filesystem:
mke2fs /dev/ram
6. mount it: mount -t ext2 /dev/ram /mnt

Further reading: /usr/src/linux/Documentation/ramdisk.txt,
the BootPrompt-HOWTO, and the Bootdisk-HOWTO.
0
 

Author Comment

by:jrusnak
ID: 1627203
Thanks a million...

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question