Home > Linux > how to add a RAM HD

how to add a RAM HD

Procedure how to add a RAM HD into Linux, tested on RedHat/CentOS

# grubby –update-kernel=`grubby –default-kernel` –args=’ramdisk_size=2048000′
# reboot

… after boot …

# dd if=/dev/zero of=/dev/ram1 bs=1k count=2048000
# mkfs -t ext3 -j -m 0 /dev/ram1
# mkdir /mnt/ConversaoMem
# mount -t ext3 -o noauto,noatime,nodiratime,data=writeback /dev/ram1 /mnt/ConversaoMem

Categories: Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.

VAMOVE *

*