The initrd (Initial RAM Disk) is used to load a temporary filesystem into memory in the boot process of a linux kernel.
Questions tagged [initrd]
77 questions
0
votes
1 answer
Facing kernel panic issue with Yocto: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Scenario: I am working in Yocto linux project. I have created my own rootfs with tar.gz extension. And I have built linux kernel (using bitbake linux-kernel-rt). I am not able to load kernel and rootfs.
Can anyone explain what can be the…

Sarveshk
- 1
- 2
0
votes
0 answers
How to create an initrd.img file for liveCD for a specific kernel version
I've created a LiveCD image (.iso) of CentOS 7.2 and it works fine with the initrd.img file that I took from the http://vault.centos.org/7.2.1511/os/x86_64/images/pxeboot/
its boot up with a kernel version 3.10.0-327.el7.x86_64
However, for my…

doki.al
- 21
- 1
- 3
0
votes
0 answers
Manually compiled kernel fails to boot: stuck in initramfs prompt
I am trying to compile a custom kernel for my old laptop (it's a Dell Inspiron 1525, with a Core 2 Duo processor, 2GB of memory and a HDD -- not SSD). In this computer I have 3 partitions, 2 small ones (10GB each) with the roots of distros that I…

Xito Dev
- 89
- 7
0
votes
1 answer
kernel not able to run /init in initramfs in linux android 10 kernel version 4.9
I have created a custom initramfs using the below command in my custom initramfs directory:
find . | cpio --quiet -H newc -o | gzip -9 -n > ../diaginitrd.img
Then I built a custom bootimage with the above cpio using the command
mkbootimg --kernel …

shivam seth
- 1
- 1
0
votes
0 answers
yocto Linux kernel build: vmlinux and initrd creation
With a Yocto kernel build, core-image-base, qemux86_64:
How do I get Yocto to generate the vmlinux (not vmlinuz) and initrd.
Where can I find these when using a automated script.
The script usage is in the context of a CI/CD workflow, so there…

Hedgehog
- 5,487
- 4
- 36
- 43
0
votes
1 answer
Adding to my Linux a new device driver and its effect on initrd
I'm a newbie in the Linux environment, and I came a cross two concepts, the vmlinuz and initrd.
What I understood that initrd determines which kernel-modules need to be loaded to support the current hardware, and will load them, and also, to make…

Mahmoud Emam
- 1,499
- 4
- 20
- 37
0
votes
2 answers
Is there a way to add kexec functionality to busybox initrd?
I have 3 MB of SPI flash on my board and I am able to pack the bzImage, busybox initrd and coreboot ROM into this SPI flash. I am also able to boot to the shell , all using the ROM kernel-as-bootloader.
I have bigger kernel on the USB device. I am…

Naveen
- 7,944
- 12
- 78
- 165
0
votes
1 answer
initramfs has no modules
I have proxmox containers. Host Debian 9, inside container Debian 8.
I made image to migrate into VMWare.
And now I need to build my initranfs. But if i run update-initranfs -u -v -k 4.9.0-0.bpo.8-amd64 it processed but doesn't copy modules. there…

Dees7
- 23
- 1
- 6
0
votes
1 answer
cpio is not working properly in repacking initrd.lz for live
If I unpack initrd.lz and then repack it without making any changes, then replace it with my new initrd.lz in Casper directory for live CD. It is structed. While packing of initrd I got a warning message as below:
cpio:…

rammohan
- 11
- 1
- 5
0
votes
0 answers
Custom initrd fails to mount RAM disk image
I am trying to build a minimalistic kernel and initrd image which I want to use with qemu.
I am packing initrd image using cpio by,
find . | cpio -oHnewc | gzip > ../initrd.img
The kernel loads and mounts RAM disk image fine provided I don't keep…

Harshal Patil
- 626
- 1
- 5
- 11
0
votes
0 answers
Error while Building initramfs on linux 4.4 on Amazon EC2 ubuntu instance
All,
I downloaded the kernel source tree 4.4.66(from kernel.org) and trying to build the kernel and initramfs from this. Kernel built fine but initramfs is not building properly.
By the I am trying this on Amazon AWS EC2 ubuntu instance…

Shivaprasad
- 21
- 5
0
votes
0 answers
Mount mapped device on boot
I have a Linux system with 2.4 kernel version. I need to make a mapping device through device-mapper for root partition and mount to it at boot time.
I need to use special mapper type (not a standart one like linear or mirror). So, I tried to write…

AccumPlus
- 161
- 9
0
votes
1 answer
How to enable udev package in yocto recipe for initramfs build
How to enable udev package in yocto recipe for initramfs build?
Please provide sample yocto bb file.
Thanks

Rajeshkumar
- 739
- 5
- 16
0
votes
1 answer
Change ownership in cpio archive without root
I need to add files to an initramfs file(I own the file as this is for some other device), however I do not have root permissions on my development machine. The usual way would be to unpack the initramfs, add files, change owner to root and pack…

Leonidaz0r
- 180
- 10
0
votes
0 answers
init process dies on linux kernel start
I am trying to bringup kernel on a custom p2020 board. The kernel crashes with below exception.
init[1]: unhandled signal 4 at 4801b9dc nip 4801b9dc lr 48002b08 code 3000
It is dying in the same way for both initrd as well as ramfs.
I am using a…

Hemant
- 53
- 1
- 9