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

Leave a Reply

Your email address will not be published. Required fields are marked *

VAMOVE *

*