Questions tagged [initramfs]
77 questions
0
votes
1 answer
NFS-Root not working when booting over PXE
I am desperately trying to get a diskless client running over PXE-Boot using a NFS-Share as a root file system. I did this before some years ago but for some reason I am stucked at this since days.
The TFTP-Server itself is running fine and booting…

Randy
- 190
- 1
- 11
0
votes
1 answer
What part of initramfs (Ubuntu) runs scripts/local?
I'm trying to understand how Ubuntu 12.04's initramfs runs scripts/local and in what order. I don't see it in init. What line of code runs scripts/local?

joeforker
- 2,399
- 4
- 26
- 35
0
votes
1 answer
Reassembling Raid 10 in Ubuntu from the initramfs menu
My raid 10 - used for / - has failed for my Ubuntu box.
I replaced the bad disk and I am trying to reassemble the raid from the initramfs menu. I have tried starting the degraded Raid and using the recovery startup option
When I run the mdadm…

ckliborn
- 2,778
- 4
- 25
- 37
0
votes
1 answer
auto assembling mdadm created RAID - initramfs doesn't change
(Ubuntu 10.10 + mdadm 3.1.4) I have my raid described in /etc/mdadm/mdadm.conf:
HOMEHOST
ARRAY metadata=imsm UUID=46e68921:eea24d1d:e933eee8:192d55bc
ARRAY /dev/md/Volume0 container=46e68921:eea24d1d:e933eee8:192d55bc member=0 …

Sandra E
- 21
- 5
0
votes
0 answers
How to save my files from initramfs for Ubuntu 22.04, which is unable to boot?
My Ubuntu got broken because UUID isn't correct, and I try all the ways but not fix it, so I decided to reinstall Ubuntu again. However, I need the old files in Ubuntu, is there any way for me to copy it without booting Ubuntu, namely, can I copy my…
0
votes
0 answers
Encrypted fs and liblzma.so.5 library missing
I have created a few VMs with encrypted filesystems + dropbear-initramfs (https://packages.debian.org/bullseye/dropbear-initramfs) with a procedure similar to How to unlock LUKS using Dropbear SSH keys remotely in Linux.
At first it works, unlocking…

LetMeSOThat4U
- 1,371
- 2
- 17
- 35
0
votes
1 answer
Kernel panic initramfs: no cpio magic
Im trying to boot a proxmox that was abruptly rebooted due a power lost. When trying to boot it stops with a kernel panic. The error it shows is "Initramfs unpacking failed: no cpio magic".
I attached a picture.
Have no idea how to solve this :(

borja
- 13
- 2
0
votes
1 answer
Rocky 9.1 dracut fails to boot
My rocky 9.1 vm kernel is not able to load/boot/decrypt a LVM Luks2 volume during boot.
Booting with 5.14.0-162.6 works fine. But fails booting the latest 5.14.0-162.18 or 5.14.0-162.12 kernel, dracut throws with error:
Starting dracut pre-udev…

sherwood
- 1
- 1
0
votes
0 answers
How to install and start nfs server in initramfs environment?
I am try to share filesystem as a server in initramfs. I think the best choose is use nfs server but after a lot of try still get some error like below:
(initramfs) rpc.nfsd
rpc.nfsd: unable to set any socket for nfsd
I also try to use smbd but…
0
votes
1 answer
dead ssd drive on zfs points to initramfs
I have an ssd drive with failed controller and which was a part of a mirrored zfs vdev.
Now it boots into initramfs and says that it can't import pool "rpool".
when i issue
zpool import -f rpool
it says that there's no such pool or…

Meni
- 91
- 1
- 8
0
votes
1 answer
During which dracut hook can a PXE client rename predictable interfaces names with a udev rule?
tl;dr: During load of an initramfs (execution of dracut modules) on a PXE client, I need to rename the kernel-given (predictable) interface names (right now they're unpredictable ethX names). This way, the PXE client will always boot from a…

brimhalgh
- 1
- 1
0
votes
1 answer
Connecting to Dropbear SSH using keyfile not possible (Permission denied (publickey))
I'm running my home server (Ubuntu 20.04 LTS) with encrypted root and try to use dropbear in initramfs to be able to unlock it remotely during boot.
To setup the remote unlocking ability I was following basically this guide: How to install LUKS…

sandman85
- 11
- 1
- 3
0
votes
0 answers
Split initrd into smaller files
I would like to know if it's possible to have a split initrd implementation. Our reason for doing this, is the fact that our Fedora based application uses a stripped version of Fedora underneath with an initrd file which has become so large…

jbbletterman
- 1
- 1
-2
votes
1 answer
mkinitrd to preload virtualBox LSI SAS storage drivers
I am trying to compile my own kernel (2.6.9).
Everything works on the compilation and building end, but...
After rebooting to the new kernel - the LVM (VolumeGroup00) cannot be loaded.
My suspicious is that the mkinitrd does not pre-load the…

evenro
- 119
- 7
-2
votes
1 answer
Initramfs failure, Ubuntu 10.10 32bit during boot
I am getting initramfs error. I found Ubuntu server won't boot, stops at initramfs link on ServerFault. But the solution didn't worked for me.
Please suggest the solution.
Any help would be appreciated.

GaganVERMA
- 33
- 6