Questions tagged [initramfs]
71 questions
2
votes
2 answers
Static route in initramfs
My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the network configuration file…
![](../../users/profiles/466610.webp)
Alec Hans
- 21
- 3
2
votes
1 answer
Linux server -- verifying bootability of initramfs image
how does one verify the bootability of initramfs image without actually rebooting the system -- the reason why we need this is - suppose if one takes the system for a short window and suddenly finds that the initramfs image is corrupt and has to do…
![](../../users/profiles/247080.webp)
sai garimella
- 86
- 7
2
votes
1 answer
To write in mdadm.conf in initramfs prompt doesn"t not save changes after reboot
I made a mistake with my mdadm.conf with my debian backup server. I used this command :
mdadm --detail --scan --verbose >> /etc/mdadm/mdadm.conf
to add a raid5 (it works great).
By using double '>>' it write ARRAY AFTER others in file, THAT is my…
![](../../users/profiles/250465.webp)
Florian Doyen
- 21
- 5
2
votes
2 answers
Server won't boot, kernel panic - not syncing
After a reboot of a CentOS 6.2 server we are getting a kernel panic with the following error:
Kernel panic - not syncing: Attempted to kill init!
Panic occurred, switching back to text console
When passing init=option selinux=0 to the kernel at…
![](../../users/profiles/209353.webp)
Tbuermann
- 41
- 1
- 1
- 3
2
votes
1 answer
Possible to use /dev/mapper in custom initrd (CentOS/RHEL)?
I'm attempting to setup a mapper device prior to boot as it requires use of my /var partition which is relied heavily upon startup.
My issue is it's seemingly failing and not providing any output - I'm unsure if this is something I'm doing terribly…
![](../../users/profiles/8758.webp)
WinkyWolly
- 598
- 6
- 19
2
votes
3 answers
software RAID array not starting in initramfs on Debian
One of my Debian servers (kernel 2.6.30-AMD64) refuses to start the software RAID array that houses the root partition in initramfs. It dumps me with a busybox console. When I follow the necessary steps to continue booting it works fine (start the…
![](../../users/profiles/46936.webp)
Jasper
- 1,087
- 10
- 10
2
votes
1 answer
How to unlock multiple luks-devices using dropbear-initramfs
My system setup is as following:
One single SSD with LUKS and LVM (and of course an unencrypted boot partition). The debian system is installed there.
Two HDDs assembled as RAID0 with LUKS and LVM for some custom data
To unlock to LUKS-devices at…
![](../../users/profiles/182853.webp)
t777
- 131
- 6
2
votes
2 answers
ZFS modules suddenly stopped loading - Debian 10
My ZFS modules have mysteriously stopped loading at the point during boot when you would usually unlock the pool with encrypted ZFS on root (Debian 10). It drops into busybox and suggests loading the zfs modules -
(initramfs)# modprobe zfs
module…
![](../../users/profiles/589250.webp)
Gareth
- 31
- 4
1
vote
0 answers
How create RAID 1 on working Slackware 14.2?
I use Slackware 14.2 (with kernel 4.4.14-smp)
on sda and I'm trying to create the RAID 1 with additional sdb. I'm using the VM VirtualBox.
First, I have cleaned the sdb:
dd if=/dev/zero of=/dev/sdb bs=8M count=1000
and copied the sda's partitions…
![](../../users/profiles/551106.webp)
infernalcucumber
- 11
- 2
1
vote
1 answer
Can't limit mdadm's detection
I've got a problem with mdadm and generating initrd.
I had some problems with one disk, so suddenly mdadm started detecting my raid1 arrays to be on hda, hdb2, hdb3 - even though they should really be on hda+hdb1, hda+hdb2, hda+hdb3. The system…
![](../../users/profiles/11509.webp)
viraptor
- 1,264
- 6
- 21
- 40
1
vote
0 answers
Reinstalling broken kernel 4.9.0.9 on Debian Stretch
Following recent Intel chip bugs I upgraded my Debian Stretch server. Microcode updated OK, but update-initramfs was hanging. So I killed it and tried to remove the kernel before trying to reinstall it. The removal process is hanging too:
% dpkg…
![](../../users/profiles/174041.webp)
LetMeSOThat4U
- 1,159
- 2
- 14
- 29
1
vote
0 answers
Rescue an unbootable Bionic system which uses LVM but can't find its volumes
I currently have a Bionic Xubuntu machine which has a boot partition and an LVM partition containing a LUKS-encrypted system. It doesn't boot because xubuntu--vg-root does not exist (i.e. it isn't mapping the LVM partitions in the initramfs).
I can…
![](../../users/profiles/453734.webp)
Leonora Tindall
- 131
- 5
1
vote
0 answers
Upgraded 14.04 to 16.04 and boot is dropping to initramfs prompt
Anyone know how to fix this? I upgraded a system with LVM partitions for /, /var, /usr, /home and it seems like initrd can't figure out the LVM scheme. I found a bugreport on launchpad regarding this issue however applying the activate VGs when…
![](../../users/profiles/151174.webp)
Server Fault
- 3,454
- 7
- 48
- 88
1
vote
0 answers
LVM error causing fall back to initramfs on boot after ubuntu upgrade
I've recently updated Ubuntu from an older LTS release (12.04) to 14.04 LTS and upon reboot, ubuntu fails to load and an error in /sbin/lvm is shown:
There appears to be one or more degraded LVM volumes, and your root device may
depend on the LVM…
![](../../users/profiles/30916.webp)
Jimmie Lin
- 111
- 3
1
vote
1 answer
Can't send password to scp prompt during boot
I have Ubuntu OS with encrypted partition. During boot, I want to download keyfile from remote server using scp and use it to decrypt partition.
What I did:
/etc/initramfs-tools/hooks/myhook.sh
#PREREQS blah blah
mkdir ${DESTDIR}/usr
mkdir…
![](../../users/profiles/409390.webp)
akasummer
- 111
- 2