Solved

Setting up ram disk - Linux 2.0.28

Posted on 1997-04-20
2
220 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 83
i can not do linux commands in cygwin windows 10 6 74
Video Streaming 6 72
bash file 10 36
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

786 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