similar to: customizing initrd - kernel panic while booting

Displaying 20 results from an estimated 2000 matches similar to: "customizing initrd - kernel panic while booting"

2006 Dec 28
1
modifying initrd.img to run custom application
Im n/w booting machine with kernel - vmlinuz and initrd initrd.img. I copied vmlinuz & initrd.img from RHEL4 iso. I want to modify initrd.img so that when 2nd stage boot loader loads initrd, my custom application gets executed. linuxrc in initrd.img is sym-link to /sbin/init. My steps: 1. Renamed linuxrc to linuxrc1 2. created new linuxrc script & invoked "/linuxrc1" from
2009 Feb 12
2
Problem with PXEBOOT of diskless client -- fails to mount RAMDISK
I am having a problem with setting up diskless clients under CentOS 5.2. I have everything working under CentOS 4.7. This is an adaptation of the (somewhat old) Diskless Linux with PXE HOWTO by Gerd v. Egidy, originally at the URL http://www.intra2net.com/opensource/diskless-howto/, which is now defunt (there is a mirror of it at http://blog.chinaunix.net/u/2389/showart_82438.html). What I am
2007 Aug 20
5
Problems reading a backup data DVD
I wrote a bunch of files to a backup DVD about two months ago and now neither of my drives will read it. I get mount errors from "not a directory" to something like "unrecognized file system type" and so on, usually after a really long wait and a notice about how the drive is write-protected (duh). Here's what happened most recently: # mount /dev/hdc /mnt mount: block
2007 Jan 02
1
adding networking support in initrd
Im pxebooting target machine with vmlinuz & initrd. Once vmlinuz loads initrd, Im calling "/bin/sh" from linuxrc script so that I get command prompt. But my machine is not connected to network. # ping 192.168.25.2 connect: network is unreachable #ifconfig -a can not open /proc/net/dev : No such file or directory my /proc is empty. Please advice how to customize initrd image to
2005 Aug 26
1
lvm initrd -> initramfs
I converted my lvm root initrd to an initramfs by putting glibc, lvm, pivot_root, my linuxrc, etc. in my initramfs source file. I use ash compiled against klibc to run my linuxrc Unfortunately - pivot_root . initrd - complains - pivot_root: Invalid argument I suspect this may be because you can't pivot_root using a cpio initramfs root? If so, what should I do instead? Should I
2007 Jul 17
1
RH domU doesn''t see disk?
more /etc/xen/scalix2 kernel="/boot/vmlinuz-2.6.18-8.1.6.el5xen" memory = 512 name = "hating-xen" vif = [''ip = "10.0.1.150", bridge=xenbr0''] disk = [ ''/dev/XEN/scalixroot,sda1,w'', ''/dev/XEN/scalixvar,sda3,w'', ''/dev/XEN/scalixswap,sda2,w'' ] It
2004 Jun 30
0
problem loading initrd
Hi, I am trying to load kernel 2.6.6 on a Soekris net4521 from the network using PXE. I built my initrd with mkinitrd. RedHat nash (while running linuxrc) hangs after mounting /proc and says "Creating block devices". I am using the pxelinux.0 from the syslinux-2.10 distribution and the kernel and initrd were built on redhat 9.0. I built my kernel with BLK_DEV_RAM, RAMFS, TMPFS,
2004 Sep 11
0
global APPEND vs initrd= override
folks, Im finding that using a config like this: SERIAL 0 19200 #IPAPPEND 2 PROMPT 1 TIMEOUT 100 IMPLICIT 0 APPEND console=ttyS0,19200n81 root=/dev/nfs nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0 nfsroot=10.10.10.2:/nfshost/truck panic=15 LABEL deb268 KERNEL vmlinuz-2.6.8-1-386 initrd=initrd.img-2.6.8-1-386 panic=10 LABEL deb268-ram KERNEL vmlinuz-2.6.8-1-386
2005 Apr 06
4
Query on Initramfs' and Initrd's coexistence
Hi I am trying to have a built in initramfs along with the traditional initrd. So I mount the initrd from the initramfs, but am facing problems in trying to run the 'linuxrc'. Following are the issues: 1. I mount the initrd from the initramfs and exceve 'linuxrc'. It starts executing linuxrc, but gives the following errors and panics: Red hat nash version 3.4.42 starting
2003 Sep 17
3
INITRD > MEMSIZE / 2
I?ve got a 512M machine and a 330M ( uncompressed ) initrd image. How can I mount the ramdisk? Normal booting seems to want to copy the entire initrd image into a Ramdisk, thus requiring 2X the memory. So what happens is the kernel boots correctly and I get, RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 330000 blocks [ 1 disk ] into ram disk And then I never see the light of day after
2003 Sep 18
4
FW: INITRD > MEMSIZE / 2
I?ve got a 512M machine and a 330M ( uncompressed ) initrd image. How can I mount the ramdisk? Normal booting seems to want to copy the entire initrd image into a Ramdisk, thus requiring 2X the memory. So what happens is the kernel boots correctly and I get, RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 330000 blocks [ 1 disk ] into ram disk And then I never see the light of day after
2006 Jun 01
2
play with initrd in early user space
Hi, All I am currently learning on the early userspace(EUS) code. And my goal is accessing initrd while in the EUS. For example: mount an initrd with the EUS mount command, Fsck it, chroot to it, run linuxrc in it and so on... But depend on the code, One can not preserve a initrd image when loading into EUS. So I must modify the EUS code to reach the goal. Can you give me some advices about
2005 Apr 11
0
Query on initrd
Hi In linuxrc(on initrd), there is one 'mkrootdev /dev/root' for creating root device, which it later mounts as root. Where does it get the information regarding the real root device from? Thanks Rachita.
2006 Mar 27
0
Adding USB support to a given initrd in syslinux
Hello, I have a live-cd which has a syslinux on it and boots a linux kernel. It works ok and boots the kernel ok from a CD drive. Now,I need to add support for this live-cd so that it will boot from an external USB cdrom drive. My bios **DOES** support booting from USB; but when I try to boot it hangs in the middle while looking for usb-storage drivers. I can gunzip
2006 Apr 03
2
probs running stuff from initrd
Hello all Now I may be way of whack here, so please forgive me. I''m trying to merge xen with redhat''s config-netboot. The idea being a kinda stateless domU. For those that haven''t seen you share a rootfs and then bind mount all the individual files over then top, and the redhat gui builds all the pxeboot config and stuff for you if you want a diskless client. I
2004 Nov 19
1
Upgrading PXE initrd.img with new kernel and drivers
Quite simply, HOW? :) I have the pxeboot initrd.img from the RH 3.0 AS CD's. We need to put a new cciss.o driver from HP into this initrd.img. Unforunately, the modules in the pxeboot initrd.img we have are 2.4.21-4 and our new driver is compiled for 2.4.21-15, so we have to upgrade everything. I downloaded the kernel-BOOT-2.4.21-15 RPM and installed that, so I have all those drivers. My
2005 Sep 20
4
standalone bootable usb-stick
hi ya syslinuxerz - i've been slowly working on a making a custom bootable standalone usb-stick with X11 and kde - it's basically builds itself off of a slackware-10.1 server - create a custom initrd.gz ( /dev/ram0 ) http://linux-boot.net/Bootable/InitRD/ - create a custom rootfs.gz ( /dev/loop0 ) http://linux-boot.net/Bootable/RootFS/ - create X11 and kde loopfiles
2006 Jun 04
0
Kernel panic on change from 2.4.x to 2.6.x
Hi, in short: - EPIA MII6000E motherboard with CF-Card - Booting from network works with Linux Kernel 2.4.25 - Change to 2.6.15.4 doesn't work -- kernel panics: VFS: Cannot open root device "hde1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncinc: VFS: Unable to mount root fs on unknown-block(0,0) in Detail: -
2005 Jan 07
1
Version 3.02 floppy boot hangs.
Hello, When I upgrade syslinux from 2.13 to 3.02. my linux floppy doesn't boot anymore. steps: dd if=/dev/zero of=fdimg bs=18k count=160 mkdosfs fdimg syslinux fdimg mount -o loop fdimg /mnt cp files/* /mnt/ umount /mnt then use memdisk load fdimg the files includes: vmlinuz initrd syslinux.cfg message.txt f1.txt ... it only prompts 1 line: SYSLINUX 3.02
2003 Aug 18
1
FYI: Article on R at IBM's developerWorks Server Clinic
Hi all, I happened to be reviewing a Linux web site that I frequent (http://www.pclinuxonline.com/index.php) and noted today an entry for an article on R at IBM's developerWorks Server Clinic site located at http://www-106.ibm.com/developerworks/linux/library/l-sc16.html. I thought that I would pass this on as an FYI. Regards, Marc Schwartz