Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-22-2004, 12:11 PM   #1
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
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

Old 05-22-2004, 01:22 PM   #2
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
the size limit of LILO to load a ramdisk golien Linux - General 0 03-31-2005 12:32 AM
creating a ramdisk runtime from another ramdisk code123 Linux From Scratch 0 10-11-2004 08:59 AM
ramdisk clu Slackware 0 05-08-2003 02:25 AM
Set ramdisk size? TheOther1 Linux - General 6 02-22-2003 03:08 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration