-   Linux - General (
-   -   ramdisk size (

jonfa 05-22-2004 12:11 PM

ramdisk size
Hi All,

I created the following partition with ramdisk:

/sbin/mke2fs /dev/ram0

It defaults to 4 Megs and I'd like to make it larger. How can I do this? Thanks


jonfa 05-22-2004 01:22 PM

I figured it out. I added the following to my grub.conf:

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb5
# initrd /initrd-version.img
title Red Hat Linux (2.4.20-31.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-31.9 ro root=LABEL=/ hdd=ide-scsi ramdisk_size=16000
initrd /initrd-2.4.20-31.9.img

This changes it to 16 megs.


All times are GMT -5. The time now is 08:36 PM.