Displaying 20 results from an estimated 20000 matches similar to: "play with initrd in early user space"
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
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
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
*
2005 Aug 27
2
I want to use a ram disk as / after network booting.
Hi
I am an engineer who is making communication systems.
I have a board(made by Kontron ltd, Intel CPU, currently with diskless )
that is used in compactPCI.
I boot that board with network PXELINUX method and currently using NFS.
But I don't want to use NFS and I want to make and use ram disk image.
That means I want to use a ram disk as /.
Currently I made a initrd by ltsp_initrd_kit.
What
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 Sep 15
1
Root filesystem on ext2
Dear All,
I have a following query:
- My initrd image is created using ext2 filesystem.
- The filesystem type of / is specified as ext3 in /etc/fstab file.
- I dont mount the real root during execution of linuxrc because I
referred some documents saying that if you dont mount real root from
linuxrc the kernel will mount it after linuxrc is finished.
- The system boots up successfully, mount
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
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
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
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
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.
2004 Jun 30
1
initramfs and kernel 2.6.7
Hi,
I 'am trying to launch linux kernel 2.6.7 with initramfs.
My pxelinux.cfg/default file looks as follows:
default a1
prompt 1
timeout 600
label a1
kernel vmlinuz-2.6.7-1
append initrd=initramfs_data.cpio.gz root=/dev/ram0 init=/linuxrc
Kernel image vmlinuz-2.6.7-1 and initramfs_data.cpio.gz was loaded
succesfully by pxelinux.
Kernel says:
checking if image is initramfs... it is
but
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
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
2006 Nov 02
10
windows 2003
I have finally gotten one version of windows 2003 r2 x64 installed as a
guest.
The bad news is no network.
The network tab says it''s a realtek 8139 when I know it is a intel. I tried
downloading the intel drivers and they wont install says it''s the wrong hard
ware. Is this common that it uses a 8139 as a generic network card?
Also the network card shows
The
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 .
2004 Jan 03
1
Kernel panic: I have no root and I want to scream
Hello,
I'm trying to fix netbooting and I got quit far.
Before this, it reported that it had no root disk, I fixed this by
specifying my initrd. Nou it crys's:
Kernel panic: I have no root and I want to scream
I think I made the mistake whit the creation of the initrd file. What
should I put in it except the /linuxrc.
I put a echo "TEST" in de /linuxrc to see if it runs, in
2007 Oct 09
2
skeleton for initramfs archive
Hello
Is there a skeleton for an initramfs, like mkinitrd do for an initrd?
An archive where all I could need for my initramfs could be present, with a
shell script ready to fill in with my work to be done.
Thanks
Eurolines : Voyagez au meilleur prix : http://www.alinto.com/pub/
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 Jan 11
17
[Fwd: Installing from distribution CDs]
Sorry, hit send instead of attach again. Rest of patches included.
--
Anthony Liguori
Samba, Linux/Windows Interoperability
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Tie Line: 678-1208