initrd is a method for loading a temporary file system into memory, during the process of booting the Linux kernel.

learn more… | top users | synonyms

2
votes
2answers
591 views

Script that unpacks a initrd, allows editing of the preseed.cfg and the packs it to cpio and gzip again

I want to program a script that allows what is said in the title. So basically I gunzip the initrd, than unpack the cpio, open vi to allow editing, save, pack with cpio, and gzip again, so nothing ...
1
vote
2answers
26 views

Can initramfs programs access all memory - do they run in real or protected mode?

This is in the context of current 64-bit processors and current linux kernels (I'm using 4.6.4.) Is it possible for me to write a program that during boot can examine base memory, 640k and under, ...
1
vote
2answers
1k views

Linux Ubuntu / Mint Live CD user-home customization

I'm trying to customize Linux Mint Live CD with these instruction (uck doesn't work for me). What I want is to have more icons at its Live CD user (/home/mint/Desktop) but I can't find /home/mint on ...
0
votes
2answers
30 views

Server stuck at “Loading initial ramdisk” when using NVidia GPU

I have a server with an NVidia M4000 Quaddro card. In my server BIOS, if I set the GPU priority to 'onboard', my system boots and I can use the NVidia card. If I set the GPU priority to 'external', my ...
1
vote
1answer
47 views

Shell prompt from initrd

I have a problem with a Linux system that won't boot. The bootloader happily loads the kernel and initrd, but then the initrd script whines and complains and moans that it can't find the root device. ...
1
vote
1answer
112 views

Debian: Boot fails when mounting sda with “invalid argument”

I am trying to move a Debian squeeze installation to VMWare VSphere 5.5 environment. However when booting the new machine after replication, the initrd/busybox gives an error, that it cannot mount the ...
1
vote
1answer
560 views

Where isoboot, boot=isolinux iso-scan/filename parameters are documented?

I see example (in dracut docs) linux (loop)/isolinux/vmlinuz0 boot=isolinux iso-scan/filename=$isofile root=live:LABEL=$isolabel ro rd.live.image these texts: https://www....
0
votes
1answer
54 views

How to extract initrd image from RHEL iso and put a script in initrd /bin/

I have written a customized shell script(command) ,which i want to put in initrd /bin and then, i want it to be copied to Linux OS /opt/xyz directory .Where xyz is customized directory created during ...
0
votes
1answer
163 views

initrd.img contains many archives

I'm new here, hope I'm posting in the right section... Well, I got the initrd.img of debian 3.16.0-4-686-pae (downloaded and burned whole iso). If I boot from disk or lan initrd is ok, everything ...
3
votes
0answers
132 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
2
votes
0answers
731 views

Why do I need to specify two init images - initrd and boot - inside KVM to boot to bash?

My machine is running inside a KVM virtual machine (Parallels Desktop v8), having a BIOS (not UEFI), having one SATA drive connected, one GPT partition on that disk, the partition is ext4 formatted, ...
1
vote
0answers
22 views

Booting kernel (FIT image) with no rootfs

An embedded Linux device I am working with has the following kernel parameter: root=/dev/ram0 Additionally, the kernel image is bundled together with an initrd and device tree to make a flattened ...
1
vote
0answers
135 views

Add AHCI to initrd on CentOS7 after installation

I built a complete CentOS7 system with lots of tools, preferences, etc in a VMware guest. Once working fine I moved it to my physical server. I managed to get grub2 installed and the bootloader now ...
1
vote
0answers
119 views

Cannot boot kali linux after dist-upgrade, stucks at 'Loading initial ramdisk …'

I did a dist-upgrade from 4.3.0-kali1-amd64 to 4.4.0-kali1-amd64 but when I restart, the screen stucks at 'Loading initial ramdisk ...'. I had to use the advanced boot options to boot using 4.3.0-...
1
vote
0answers
29 views

Interaction of initrd commands and systemd services doing same thing

I have a general idea of how the boot process works, but now that I'm customizing the initrd process, I can't wrap my mind around this. If there's a systemd service that can connect to a remote ...
1
vote
0answers
78 views

Mounting real rootfs after initial booting using initrd

I'm booting kernel with root=/dev/ram0 on a embedded environment. After initial booting, how can I mount real rootfs present at /dev/mtd3 and make it as the only rootfs. I'm using root=/dev/ram0 ...
1
vote
0answers
219 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
1
vote
0answers
326 views

Build Mini Linux and Embedded Linux

How to build Mini Linux with Busybox, Kernel-3.15.3, Syslinux? I've built my Mini Linux using these steps: Steps in Building Base Mini Linux Distro 0 . Compile the kernel and see ...
1
vote
0answers
227 views

How customize initrd via linuxrc

I have the need to use the same disk and so the same bootloader on devices with different motherboard. Each motherboard has it's own way of mapping devices so sometime the bootdisk is mapped ad hda ...
1
vote
0answers
233 views

not all initrd.img's are born equal?

I am trying to get a Red Hat 5.8 box booting via pxe. The box is a virtual machine on ESX5.0 it has a Paravirtual SCSI Controller and VMXNET3 network driver. Now these drivers do not come default in ...
1
vote
0answers
395 views

Configure vmware-tools without an initrd image?

Is it possible to run vmware-tools without an initrd? I don't know why I should use an initrd and it makes my kernel compilation more complicated. I can boot into my kernel without initrd but when I ...
0
votes
0answers
38 views

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
0
votes
0answers
86 views

Unable to boot, “no filesystem could mount root” error

I'm trying to do a PXE boot with an image I created, but after loading the image and the kernel, I get a message that says: No filesystem could mount root, tried: ext3 ext2 iso9668 Kernel panic - ...
0
votes
0answers
546 views

New Fedora Install Hangs on Initrd Default Target

I am attempting to install Fedora 19 on a brand new system. Here is my HW. Intel Core i5-6500 6M Skylake GIGABYTE G1 Gaming GA-Z170X-Gaming 3 (rev. 1.0) LGA 1151 Intel Z170 HDMI SATA 6Gb/s USB 3.1 ...
0
votes
0answers
14 views

Any downside of mounting initrd as read-write of anaconda-kickstart?

I want to test the drive before install the OS and also want to bring in the firmware through RPM. For these two reason I dont want to do any hard-drive specific testing/updating in anaconda-%post ...