This is a discussion on ramdisk - Redhat ; I have created a 16 meg ramdisk on a FC2 machine. To do so it required kernel option during boot and that option to the kernel to set aside memory. The trouble is the computer copies system files and other ...
I have created a 16 meg ramdisk on a FC2 machine.
To do so it required kernel option during boot and that option to the kernel
to set aside memory.
The trouble is the computer copies system files and other junk to the
ramdisk during boot so I am left with only hald my space.
My Grub conf file is:
title Fedora Core (2.6.6-1.435)
root (hd0,2)
kernel /boot/vmlinuz-2.6.6-1.435 ro root=LABEL=/ ramdisk_size=16384
rhgb quiet
initrd /boot/initrd-2.6.6-1.435.img
I use the following to make the ramdisk
mke2fs -m 0 /dev/ramdisk
mount /dev/ramdisk /mnt/ramdisk
chmod ugo+rwx /mnt/ramdisk
How do I stop the os from using the ramdisk during boot?