Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Setting up ram disk - Linux 2.0.28

Posted on 1997-04-20
2
Medium Priority
?
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
ggeens earned 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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 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.:
Suggested Courses

610 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