Solved

Setting up ram disk - Linux 2.0.28

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote desktop Ubuntu from Windows 10 5 118
PHP error function not working on AWS 10 117
The better OS Architecture 13 85
Install XRDP on Ubuntu Server 16.10 x64 3 56
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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