LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 05-22-2004, 01:11 PM   #1
jonfa
Member
 
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

Jon
 
Old 05-22-2004, 02:22 PM   #2
jonfa
Member
 
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
#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
 
  


Reply


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 04:08 PM
the size limit of LILO to load a ramdisk golien Linux - General 0 03-31-2005 01:32 AM
creating a ramdisk runtime from another ramdisk code123 Linux From Scratch 0 10-11-2004 09:59 AM
ramdisk clu Slackware 0 05-08-2003 03:25 AM
Set ramdisk size? TheOther1 Linux - General 6 02-22-2003 04:08 PM


All times are GMT -5. The time now is 04:38 PM.

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