OpenSUSE Hardware :: How To Set Ramdisk Size

Aug 4, 2011

Have such a question: how to set ramdisk size? Ramdisk: How do you install and set up Ramdisk under Linux (CentOS, RHEL, Fedora)? | Technology: Learn and Share

Here is some article, but somehow GRUB setting takes no effect, size is still limited to 100MB. I need to get ramdisk with size about 700-1500 MB.

View 9 Replies


ADVERTISEMENT

OpenSUSE Hardware :: About RAMDISK Size ?

May 18, 2010

Does anyone know is there any size limitation when doing RAMDISK under SUSE Linux?

View 9 Replies View Related

Ubuntu :: Changing Ramdisk Size For 9.10?

Feb 17, 2010

Wine is one of the coolest things I've ever seen, but unfortunately it's still not enough to suit my needs as version 1.38 can't install any of the .NET libraries.

I'm trying to boot windows 7 on virtual box, but it seems to demand quite a bit of memory. The "recommended" amount is 512MB, and upon checking my kernel only has 488MB total ram with not much room to spare:

Code:
billy@billy-desktop:~$ free -m
total used free shared buffers cached
Mem: 488 462 25 0 53 193
-/+ buffers/cache: 216 271
Swap: 1939 17 1921

I've tried giving the virtual machine memory sizes in the area of 192-256MB, but that's way too much and the system locks up and aborts from it. Memory sizes in the area of 128MB is just too small and it throws an error that there just isn't enough ram to boot. So the only thing I can do to make this work is to increase the size of the ramdisk for my host OS so I can give more to the virtual machine (not to mention things like flash animations are horribly slow and I'd like to see them get more fluid).

I see that I have 16 ramdisks available to me:

Code:
billy@billy-desktop:~$ ls -l /dev/ram*
brw-rw---- 1 root disk 1, 0 2010-02-17 09:54 /dev/ram0
brw-rw---- 1 root disk 1, 1 2010-02-17 09:54 /dev/ram1
brw-rw---- 1 root disk 1, 10 2010-02-17 09:54 /dev/ram10

[Code]....

I looked at some guides here and there, but apparently my setup isn't quite the same. I don't have a menu.lst file in boot/grub, and I don't have a grub.conf file anywhere. So I don't know what file I'm supposed to edit for this.

View 2 Replies View Related

Software :: Set Up A 256mb Ramdisk On Opensuse 11.3 X86_64?

Sep 8, 2010

How do I set up a 256mb ramdisk on opensuse 11.3 x86_64 ? - The /boot/grub/menu.lst content reads as:

# Modified by YaST2. Last modification on Mon Aug 30 11:33:28 EST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
[Code]....

View 3 Replies View Related

OpenSUSE Install :: Upgrade 11.2 From 11.1 - Ramdisk Broken Link

Dec 4, 2009

I have updated using zypper from 11.1 to 11.2. Does this process update the boot/menu.lst file with an entry for the new kernel? Didn't for me.

Any rate, that's not really the problem. I have created a new entry in menu.lst to load the new kernel but I don't have a ramdisk image - all I have is a broken link initrd -> initrd-2.6.31.5-0.1-default

Where do I get the image from?

View 2 Replies View Related

OpenSUSE Hardware :: Document Size Incorrect - How To Get Correct Size

Jun 8, 2011

Have just installed Lexmark s605 printer on wireless network, printer works ok but when i print a document even though it is showing the correct size on 'print preview', the printed output is on the page is tiny and and 90deg rotated, I've tried various drivers from the Lexmark website, and also messing about in printer settings but nothing seems to make any difference.

View 3 Replies View Related

Red Hat :: Mount The Whole System Into The Ramdisk?

Dec 9, 2009

how could i mount the whole system into the ramdisk?I follow the article "http://www.linuxquestions.org/questions/red-hat-31/building-a-diskless-redhat-enterprise-linux-cluster-765393/",and it works.when i use the "df -h" on the diskless client .I find many system driectory is mountted from image_server.when i stop the connection between img_server and diskless client,the diskless client stop working. my question is how can i mount the whole system into ramdisk.

View 2 Replies View Related

General :: Keeping A RAMdisk Out Of Swap

Dec 15, 2010

I'm using some milters on a Sendmail box that recommends using a RAMdisk [tmpfs] to store temporary files, the performance benefits of which are quite noticeable. However, the problem is if a huge number of messages are all delivered at once this partition can be pushed off the physical memory and into swap. When this happens the performance tanks to about 1/20th to 1/30th of normal.Is there anything I can do to keep a tempfs from being swapped to disk?

View 3 Replies View Related

Ubuntu :: Mount A Ramdisk On Demand?

Feb 1, 2011

Trying to mount a ramdisk on demand when I need one, however gksudo is griping that the command is wrong. So, what's wrong with this command?

gksudo mount -t tmpfs -o size=1024m tmpfs /mnt/ramdisk

View 3 Replies View Related

General :: Can't Find RAMDISK Initialized

Sep 30, 2010

I am trying to config the RAM disk on CentOS 5.5

/etc/grub.conf
title CentOS (2.6.18-194.el5)
root (hd0,0)

[code].....

View 2 Replies View Related

Software :: Large RamDisk DVD Install?

Jun 20, 2010

I am trying to boot a ramdisk and am getting the following error:16384 ram0 (driver?)

16384 ram181 (driver?) No filesystem could mount root, tried:ext2 iso9660. Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block (1,0)

This is RHEL5 so input the ramdisk_blocksize into isolinux.cfg:
DEFAULT linux
LABEL linux
KERNEL vmlinuz
APPEND initrd=initrd.img root=/dev/ram0 ramdisk_blocksize=1024 ramdisk=2969600 rw init=/etc/rc.d/rc.sysinit

[Code]...

View 9 Replies View Related

Software :: Lilo Not Booting Ramdisk?

Feb 24, 2009

I need to get LILO to boot a ramdisk in which the root file system is on /dev/ramdisk. I have tried many iterations of lilo.conf files. The following is one that I would think would work because it worked under 2.4 kernels:

default=linux
boot=/dev/hda
install=/mnt/flash/boot/boot.b

[code]...

View 2 Replies View Related

Ubuntu :: Create Ramdisk Able To Hold Many Many Files?

Apr 23, 2010

I created a ram disk with this command: sudo mount -t tmpfs -o size=2048M,nr_inodes=500k,mode=777 tmpfs /var/cache/apt-build/build When I run apt-build, I got an error message that the disk is full (unable to copy file or something). But no disk was full when I checked with 'df'.

we know the maximum of files created from the nr_inodes number? Or is there any other option that determines the max number of files created?

View 2 Replies View Related

General :: Booting Fedora Using Initial Ramdisk?

Mar 12, 2010

I am using fc11(32-bit) and i want to boot the system using initial ramdisk by setting the root to /dev/ram in the /etc/grub.conf.c

View 2 Replies View Related

Slackware :: Ash Misses Libc.so.6 In Initial Ramdisk

Mar 30, 2011

I updated my netbook to the last incarnation of slackware-current yesterday.

My problem is now, that it is no more able to start the ash shell of the initial ramdisk i am using. The ramdisk was created with the latest version of the mkinitrd script.

The error message is:

Code:

And the error happens when the ash from the initial ramdisk is intended to be started. Simply copying the /lib/libc.so.6 stuff (symlink to the real so and the real so) enables to ash to be started but later cryptsetup fails to load.

The initial ramdisk from mid-January i used before did not have such a problem. What i also see is, that the failing ramdisk has a size of only 16k blocks. The one from mid-January was bigger.

View 2 Replies View Related

Debian :: Freezing On First Boot At Loading Initial Ramdisk?

Apr 22, 2011

I just performed my very first linux install. I used the Debian 6.0.1a iso. I made it all the way through the installation with no problems whatsoever. I was able to select the version from the grub screen, still everything seemed to be going fine...then it froze. I attached an image of the screen where the system froze:

Its basically the loading screen, times 4! At the top left in case its too hard to read, it says: Loading Linux 2.6.32-5-686, then...Loading initial ramdisk... This sounds all fine and dandy to me but it freezes here. I've tried searching the forums and google for an answer and have come up empty...I'm sure someone has had this problem but it seems to be a tough thing to search for. Would appreciate all the help I can get! Oh and btw, here are the system specs:

circa 2001ish Dell Dimension 4300
P4 1.4ghz
256 ram
onboard video etc...

View 2 Replies View Related

Debian Configuration :: Compiled Kernel With Initial Ramdisk?

Apr 30, 2011

Howto create squeeze self compiled kernel with initial ramdisk?I need some more details, I never done before.

View 14 Replies View Related

Debian Configuration :: Create A Ramdisk At Boot Time?

Jun 1, 2011

On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.

With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?

View 3 Replies View Related

Fedora Installation :: F12 Install: Ramdisk: Incomplete Write?

Nov 18, 2009

So after deciding to upgrade the existing fedora install on my laptop from 11 to 12, I decided to use the preupgrade method. After grappling with the boot space issue by clearing out an old kernel that was deemed safe to remove by the python script on the preconfig wiki page and then using tune2fs, I left the computer to do it's thing, periodically checking back on it. I come back to my computer, and after an apparent restart I see this message spat out at me:

Code:
ramdisk: incomplete write (3537 ! 5123)
write error

kernel panic - not syncing : VFS : unable to mount root fs on unknown block (0,0)
I need this laptop up and running for tomorrow and I would appreciate any help given. I have a Fedora 11 live CD running on the laptop and there seems to be an extra 210 filesystem present with the folders efi, grub, lost+found in there, as well as some config files, elf-memtest86+-400, what seems to be .img file amongst other things. If necessary, I can provide a screenshot.

View 11 Replies View Related

Ubuntu :: Finish Creating Raid1 Ramdisk/hdd Partition?

Mar 8, 2011

After some hours of googling, I've managed to increase the size of the default ramdisks (/dev/ram0-16) to 1 GiB each, I raided them together with mdadm to try it out, then created a filesyste, mounted it etc etc. No problems. The problem comes when I used gparted to move my windows partition over and in the unallocated space (1 GiB), I created an unformatted partition (/dev/sda2)Now when I try to create the raid array I get the following:

Code:
:~$ sudo mdadm --create /dev/md0 -l 1 -n 2 /dev/ram0 /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy

[code]....

View 2 Replies View Related

Red Hat / Fedora :: Cannot Write To Ramdisk - No Space Left On Device?

Jul 7, 2011

I am trying to write to a Ramdisk because I suffer from terrible IO speeds on my VPS. It uses openVZ and I run a Centos 5 distro.

So i created my ramdisk with '/bin/mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0775,noatime,nodiratime tmpfs /tmp'

but whenever I try and copy files to it, it just spams me with 'no space left on device even though there is!

Here is the output of df:

/dev/simfs 157286400 6511452 150774948 5% /
none 16441412 4 16441408 1% /dev
tmpfs 5242880 1296 5241584 1% /disk/test
tmpfs 5242880 1296 5241584 1% /disk/test

[Code]....

View 1 Replies View Related

General :: Access Time For Ramdisk Is Not As Fast As Expected?

Feb 18, 2010

I am trying to use the Linux Ramdisk y machine and followed the instructions oninux/Ramdisk/ramdisk.html to create a 4GB ramdisk (total memory is 8GB, linux 2.6.9)The issue is that it is taking me almost exactly the same time to read a 1GB file from ramdisk as it is from disk. I was expecting it to be atleast twice as fast.Has anyone encountered this before?

View 1 Replies View Related

Debian Installation :: Change Ramdisk Files To Alter Repository?

Mar 14, 2011

Once I've booted my Etch install disc, are there some parameters in configuration files I can edit in the ramdisk filesystem that will allow me to install Squeeze instead? Or, even, paramters I can edit to point at the archive.debian.org repository to install Etch?

Why:

I've got a Sun Ultra10 with IDE drives (hard disk and cd drive) on which I previously had Etch installed. I recently tried to upgrade it to Squeeze, botched the upgrade, and formatted the drive. I'm now trying to install Squeeze from scratch.

When I use the Squeeze disc (debian-6.0.0-sparc-xfce+lxde-CD-1.iso), it cannot detect my IDE drives. I also have the disc I originally used to install Etch, way back when. It will boot and detect the drives, but cannot install because Etch is no longer in the repositories.

View 2 Replies View Related

Debian Installation :: First Boot - Stuck On 'Loading Initial Ramdisk'

Jun 24, 2011

I've just installed Debian 6.0.1a on a HP Proliant ML115, the install seemed to go ok. As it began to start up it 'Grub Bootloader' loaded then on the screen after the bootup froze at 'Loading initial ramdisk'

Unfortunately im a complete novice to debian

View 10 Replies View Related

Fedora :: /dev/shm - 224 Mbyte Ramdisk That Is Consuming 224 Mbytes Of System Memory Whether Or Not Use It

Dec 5, 2009

I just noticed this in my "df" output:

[Code]...

There's an entry in /etc/fstab which mounts this automatically. If I interpret that correctly, that's a 224 mbyte ramdisk that is consuming 224 mbytes of system memory whether or not I use it. Is that correct? If so, will anything break if I unmount it and delete it from /etc/fstab? Do programs typically depend on it? I'd like to reclaim the system memory (low DRAM machine) for other uses.

View 5 Replies View Related

Fedora Installation :: RAMDISK: Incomplete Write / Kernel Panic?

May 26, 2010

i'm currently using puppy linux 431. and i want to replace it with fedora LXDE but i encounter this error upon booting using livecd.

Quote:
RAMDISK: incomplete write (XXXXX!= XXXXXX)
write error
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

View 11 Replies View Related

Ubuntu :: Automatically Load/backup Ramdisk On Startup/shutdown

Mar 4, 2011

i have a RAMdisk set up on my desktop with a hidden folder of stuff in it; but i want to know is it possible for me to set ubuntu to copy the files to another directory on shutdown, and copy back again on startup?

View 2 Replies View Related

General :: Can't Get Ubuntu 11.04 To Load Crashing At Initial Ramdisk / Sort It?

Jun 28, 2011

I'm running 64 bit ubuntu 11.04, installed off dvd onto dell inspiron 530 if thats helpful.
This is my first attempt at linux ever so i know absolutely NOTHING about it.

View 9 Replies View Related

Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

#!/bin/sh
mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2

[Code]....

The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies View Related

Debian Hardware :: Wheezy - GMA500 Black Screen After Loading Ramdisk

Aug 21, 2013

I have just installed Debian Wheezy on an E6XX Intel platform and after loading ramdisk, the screen goes black and I cannot use the system.

*) In the beginning, I tried to pass "nomodeset" in Grub, but after loading ramdisk, it tries to change screen's resolution and it goes blank.
*) gma500 output in dmesg can be seen in [1] at the bottom of this page.
*) I tried passing "GRUB_GFXMODE=640x480
GRUB_GFXPAYLOAD_LINUX=640x480" + update-grub, but it keeps failing.
*) I examined EDI's monitor output through "sudo get-edid |sudo parse-edid" (see [2] below), it seems that it is not possible to get the EDID information from the screen correctly. However, I am using this screen with xrandr with Debian Squeeze and I have no problems.

>>>>>>>>>>>>>>>>> [1] dmesg about "gma500"
[ 10.164297] gma500 0000:00:02.0: setting latency timer to 64
[ 10.164325] gma500 0000:00:02.0: Enabling MSI failed!
[ 10.164923] [drm] internal display is MIPI display
[ 10.167632] gma500 0000:00:02.0: VBT signature missing
[ 10.167828] Stolen memory information
[ 10.167840] base in RAM: 0x3f800000

[Code] ....

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
parse-edid: IO error reading EDID

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved