General :: Can't Find RAMDISK Initialized
Sep 30, 2010I 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].....
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].....
I have a fresh install of COS5.6 installed a test laptop. I have following instructions to set up the PXE server based on the following: http:[url]......The base PXE installation seems to work fine (The menu labeled CentOS 5.6 works fine ). The whole purpose of this was to be able to boot iso's like Hirens and Imaging software ISO's.The issue is that whenever i try to pick an iso from the list it just says "Could not find ramdisk image:" [path to iso][path to iso] being either of the two iso i had set up to test this.
I would like to think that i made a typo but i can find one. The files i used are from the source of syslinux v4.0.4.The following information should be pertinent
Contents of /tftpboot/pxelinux.0/default[code].....
I have a limited experice with linux in an enterprise environment and looking for any direction as to what to do about this.
I will begin by announcing that I really know very little about Linux, not having dealt with it previously. That being said, a hard drive that has important files on it was given to me to back up without having been told it was Linux. I piggy backed it into a Windows PC and initialized the hard drive. When it showed there were no files to access I then realized this must be a Linux based hard drive. I attempted to access files with both Linux Reader and Linux Recovery but they both act as though the hard drive has no files on it. And no I did not format the drive, I only intialized it.Is there any way to retrieve files from this hard drive being initialized in Windows? I do have a Linux machine that I could piggy back it into but I have never messed with this machine before, or Linux for that matter, so wouldn't know where to begin.
View 9 Replies View RelatedI'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 RelatedI 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 RelatedI 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 RelatedI'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.
How to use git? I want to download git: [URL]. All what I get is:
~$ git clone [URL]
Initialized empty Git repository in /home/john/xfce4-generic-slider/.git/
fatal: [URL] not found: did you run git update-server-info on the server?
I have a slight problem with an applet I'm trying to run. I don't have problems running any other java applets from other websites or anything but for some reason the applet I developed shows the gray-screen and says 'Start: applet not initialized.' at the bottom.
There are no errors in the error console.Java is working on my web browser (mozilla firefox).I'm running Ubuntu 10.10.Here's my code, the program is for my friend and she uses a mac, so is this issue specific for Ubuntu? I made the applet using Eclipse Ganymede.
Code:
import java.awt.*;
import java.applet.*;[code].....
The .class file, .au song, and .html file are all in the same directory.
I am trying to upgrade from version 11 to v13. I have tried using preinstall as well as 2 live CDs (gnome and KDE). In all cases, I get a message saying that the HD which contains FC11 needs to be reinitialized.
My most recent attempt was to upgrade using the preinstall. Upon reboot, Grub still shows the old (v11) and I can boot that with no problem. If I choose the upgrade option, it fails!
Failure message: Error processing drive /dev/sdc
Hitachi HDT 72101 (1TB)
The device may have to be reinitialized
device details: pci-0000:00:1f.2-scsi-1:0:1:0
The drive (sdc) contains several other flavors of Linux and they all run fine. FC11 also runs from that drive with no problem.
I am a opensuse 11.3 user with firefox 3.6.8.I use 32 bit version and having trouble with one of my banks applet when launched from the firefox , it shows up as 'start:applet not initiazed' and then just hangs there.I have tried a lot googling and looking around in opensuse forums, but could not get my browser working. If I use How do I test whether Java is working on my computer? , it shows the java version is working. I have tried removing icedtea , but did not help.I have also found , when I install opensuse 11.3 , this applet seemed to have worked fine. BUt, after all the online updates system did , it just stopped working with this applet not iniatilized message.
View 1 Replies View RelatedI have a new 16GB nano ipod, and I "initialized" it in Rhythmbox. I added about 6GB of music into it (via Rhythmbox).When I eject and disconnect the ipod, it tells me that 6GB are occupied, but the music directory says that it's empty. Does the ipod need to be "initialized" in itunes? I have another ipod that was first used in itunes and it never gave me any issues with Rhythmbox.I have two machines running Ubuntu 9.10. I can't get itunes working with wine, and I don't have a mac or a windows machine.
View 2 Replies View RelatedI'm finalizing the the dual-boot addition that I recently completed. I've added lubuntu to the LT3114u Netbook that I use. That's done, now I'm migrating my user environment back from the Cygwin one that I've been using on Windoze, as of late. One of features that's been useful has been the global environment management possible with the windoze UI functions. As I coded my emacs environment while 'over there' (windoze side), I included a check for the lisp library repository path environment variable EMACSLOADPATH. It is globally available when one logs in, and does not get set in any user scripts, or dot files any to do with CYGWIN or emacs.
While it has been easy enough to set EMACSLOADPATH for the login shell environment, via .bashrc, .profile, and system wide via /etc/profile, I have not been able to have '/usr/bin/emacs23' have EMACSLOADPATH set when invoked via the LXDE UI. Thus, it would appear that emacs is not being initialized with the same environment that any of the shells are (old school?). Thus, what is it that one must update in order to have GNU emacs initialized with the same environment variables as bash? Or, put another way, why aren't the environment variable defined in /etc/profile, ~/.bashrc and/or ~/.profile ending up in the initialized environment upon invocation of emacs23 on lubuntu Linux?
[Code]....
[URL] On above link a structure is defined
Code:
static const struct {
const char *name;
u32 version; /* from RTL8139C/RTL8139D docs */
u32 flags;
[code]....
I am not clear with what is
1) u32 version
2) How u32 version is initialized to HW_REVID(1, 0, 0, 0, 0, 0, 0)
In Xorg.0.log, if you have an extension disabled in the configuration file, you will see: (**) Extension DAMAGE disabled In the first few lines ... however, later on you see (II) Initializing built-in extension DAMAGE So which is it? Is there a memory map or something I can dump and view to see which extensions are actually loaded into the X server? Is there a delineation between "disabled/enabled" and "initialized"? OK I found it:
xdpyinfo -queryExtensions | awk '{print; if (NF<=1) exit;}'
I'm not too experienced on Ubuntu, but I'm trying to get a Delta 1010LT working on Ubuntu 10.04 minimal install (no gnome, only console).I can see the board detected using lspci, but looking at dmesg output I get the following:
Code:
[ 31.116668] ICE1712 0000:05:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 31.116709] ice1712: Using board model M Audio Delta 1010LT
[ 31.135560] invalid CS8427 signature 0x0: let me try again...
[code].....
if a change the model to delta1010 the driver is loaded correctly, but I assume there are major differences between the two boards so I don't get audio out, even if I unmute everything using alsamixer.Motherboard is an Intel D510MO with onboard audio disabled.
I write a small program to learn overflow. But when I input more than 5 characters (exceed the boundaries of the buffer),I can't get the character that I have initialized. I used gcc4.5.2 to compile this program. Then I used gdb to debug it. I found that when I input more than 5 characters, the variable 'test' was set to 0(ASCII code or '00').
[Code]...
Sometime system wait during boot a long time on
Code: Select allrandom: nonblocking pool is initialized and Code: Select allPM: Starting manual resume from disk etc.
When everything is ok boot took around 20seconds. But when this problem occur it can take around 5 minutes. It occure during normal boot, but there are some information about resume from hibernation in log. But I didn't hibernate it. And hibernation doesn't work reliably so I removed uswsusp because I tried to fix hibernation with installing uswsusp first.
My laptop: MSI EX600X-033Sk (C2D T5250, Nvidia 8400g, It has firewire, usb2.0, ...)
I tried to google stuff like "Jessie slow boot", "Stack on random: nonblocking pool is initialized" etc but I didn't found any solution.
Here is few parts of my kern.log:
Code: Select allDec 2 21:27:57 MSI-EX600X-033SK kernel: [ 1.950232] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/223 GiB)
Dec 2 21:27:57 MSI-EX600X-033SK kernel: [ 1.952800] sd 0:0:0:0: [sda] Write Protect is off
Dec 2 21:27:57 MSI-EX600X-033SK kernel: [ 1.955190] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Dec 2 21:27:57 MSI-EX600X-033SK kernel: [ 1.955218] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Code] ....
When I try to start gpsdrive i get the message gpsdrive GLib-ERROR **: The thread system is not yet initialized. aborting...Aborted.
View 1 Replies View RelatedI'm implementing exceptions using longjmp() (since C++ exceptions don't offer the features that I need, including resuming and a "finally" block), like this:
Code:
jmp_buf ex_jmpbuf;
void *ex_exception;
bool ex_resumable;
jmp_buf ex_resumebuf;
[code]....
Why are the curly braces being misinterpreted as arrays here, but not anywhere else?
I have a netbook (MSI Wind U100 rebrand) that has one of those card readers built into the handrest. The thing is I've never used it once, and it keeps popping up in powertop as waking the cpu when it should just shut up and be quiet.Aside from breaking open the case and tearing it out, the immediate solution is to browse to /sys/bus/usb/devices/usb1/1-6/ and pipe 1 to the file remove. That disables it until system reboot or resume, at which point I have to do it all over again.
Code:
$ echo 1 | sudo tee /sys/bus/usb/devices/usb1/1-6/remove
Now I'd like to create an udev rule to make it not get initialized at all. A quick Google search found me this article on creating udev rules, and after toying about with the udevadm tool I managed to produce the attributes/properties of the device.
Code:
zorael@lethe:/sys/bus/usb/devices/usb1/1-6$ udevadm info -a -p $(pwd)
Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device.
looking at device '/bus/usb/devices/usb1/1-6':
KERNEL=="1-6"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}=="CARD READER
[code].....
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 RelatedI run many 5.2 virtual machines inside of VMWare ESX3.5 I've updated a couple of test VMs from 5.2 to 5.3. The thing that stands out is that during boot time, the sequence gets to this stage:
device-mapper: dm-raid45: intialized v0.2429 Waiting for driver initialization.
Here it takes about 3 times longer than the previous Centos 5.2 (about 9 seconds instead of 3). Whereas inside a physical box the wait in 5.3 is the same as it was in 5.2
Does anyone know is there any size limitation when doing RAMDISK under SUSE Linux?
View 9 Replies View RelatedHave 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.
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.
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
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]...
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]...
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?