similar to: Query on initrd

Displaying 20 results from an estimated 20000 matches similar to: "Query on initrd"

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
2005 Mar 29
3
Query regarding initramfs
Hi 1. Is it possible to load an initrd from initramfs ? How would you do this if the initramfs is being loaded dynamically in the kernel (ie having the initramfs as initrd ) Because in this case, you will say root = /dev/initrd and specify 'initrd' as your 'initramfs source file' How will you specify the second initrd source? Thanks Rachita.
2005 Feb 02
2
Query on Using initramfs
Hi I am looking at inserting functions in the early user space and want to use initramfs for this. I understand this can be achieved using 'initrd' or by making changes in the 'usr/gen_init_cpio.c' file. Can someone kindly give me pointers as to how to go about this. I am looking at the 2.6.x kernel. Thanks Rachita.
2005 Feb 14
6
Query regarding initramfs
Hi I had some doubts regarding what all the init application should do: >> so, that should that application do? >> - mount /dev/hda1 /new-root >> - cd /new-root >> - run-init 1. Of what I understand, before exitting, init should mount the realroot and execute the init process. Is realroot the '/' or the empty directory created (in the cpio archive) ?
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
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,
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
2007 Jan 02
0
customizing initrd - kernel panic while booting
Hi, I want to customize initrd so that I can run my application once vmlinuz loads initrd. (similar to dos booting - dos runs autoexec.bat) I copied vmlinuz & initrd from RHEL4 ISO. Mounted initrd renamed 'linuxrc' exe to linuxrc1 created new script linuxrc called linuxrc1 from linuxrc script called my application from linuxrc script. But I receive "kernel panic" error:
2006 Apr 11
1
mkrootdev utility
The attached patch breaks out the /dev/root device node creation from do_mounts, placing it in it's own utility (called mkrootdev). This is worthwhile, as certain setups will need the device node there to run fstype and load a proper module (or other things). No, it does not currently configure raid devices.... I didn't know if that made sense in there or not.... Let me know what you
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
2007 Jan 15
2
network booting initrd -mount: error 6 mounting ext3
Hi all, Im network booting initrd-2.6.9-22.EL.img from pxelinux. <snip from init script> echo Creating root device mkrootdev /dev/root umount /sys echo Mounting root filesystem mount -o defaults --ro -t ext3 /dev/root /sysroot mount -t tmpfs --bind /dev /sysroot/dev echo Switching to new root switchroot /sysroot echo UMOUNTING initrd-dev umount /initrd/dev </snip> I receive error
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
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
2006 Apr 07
1
Weird early-boot sequence, can't find a way to adapt to ramfs
This is most exceedingly weird boot/shutdown sequence that I used once, and can't find a way to adapt to initramfs. Since you guys are trying to adapt all mechanisms that use initrd to using initramfs, this should interest you. initrd has (all binaries static): /bin: init halt mount poweroff pivot_root reboot sh umount /etc: fstab haltrc /dev: null zero tty tty0 tty1 console->tty0 hda1
2004 Sep 14
6
initrd / initramfs future
Hello, I would like to know if initrd is here to stay, now that klibc and initramfs are ready. As the multipath-tools maintainer, I'm facing the choice to 1) put the multipath configuration tool in the initrd * dynamic binary is possible * storage hba drivers as modules loaded * no klibc limitations (no mntent for libsysfs ...) 2) put the multipath configuration tool in the initramfs *
2006 Apr 09
1
curious unpacking issue
I'm not sure when exactly this started, but currently when I specify a ramfs image via the initrd line in grub, kinit picks it up as an initrd and tries (and fails) to unpack it and run linuxrc from it. I'm assuming this is not the intended behavior. Can anyone point me into the proper direction for unpacking an initramfs image ontop of the in-kernel image? Currently, I am using kernel
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
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
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
coding style fixes. FIXME: check that compiled bin the same1!! --- usr/kinit/initrd.c | 3 ++- usr/kinit/kinit.c | 12 ++++-------- usr/kinit/kinit.h | 20 ++++++++++---------- usr/kinit/name_to_dev.c | 6 +++--- usr/kinit/nfsroot.c | 5 ++--- 5 files changed, 21 insertions(+), 25 deletions(-) diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c index
2004 Dec 15
1
only pivot_root supported? [signed]
Hi, I hope this is the right list for initramfs questions. First I noticed: with initrd I can use real-root-device and pivot_root mechanisms. with initramfs only pivot_root works. My init (or linuxrc) scripts end like this: mount -t xfs -n -o ro /dev/mapper/root /new-root umount -n /sys || true umount -n /dev || true umount -n /proc || true cd /new-root pivot_root . initrd exec chroot .