LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   ramdisk size (http://www.linuxquestions.org/questions/linux-general-1/ramdisk-size-184517/)

jonfa 05-22-2004 01: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

Jon

jonfa 05-22-2004 02: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
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
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.

Jon


All times are GMT -5. The time now is 03:56 AM.