Questions tagged [initramfs]

77 questions
3
votes
1 answer

RAID-5 array being split on reboot (ubuntu)

I've set up a RAID-5 array on Ubuntu 13.04 (kernel 3.8.0-27-generic) using mdadm - v3.2.5 - 18th May 2012. It appears to work fine and be in high spirits: $ cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]…
fromClouds
  • 155
  • 6
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…
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…
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…
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…
Tbuermann
  • 41
  • 1
  • 1
  • 4
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…
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…
Jasper
  • 1,084
  • 10
  • 10
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…
Gareth
  • 31
  • 4
2
votes
1 answer

Why do I have a dracut initramfs in /var/tmp?

I never used dracut so far. I understood dracut filesystems (Wiki) as temporary systems that help mounting system specific kernel modules during the boot process. But after successful boot of my SLES 12 Server VM I still have a dracut file system…
TheCooocy
  • 141
  • 6
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…
1
vote
1 answer

CentOS: Install dm-raid module into initramfs to enable lvm raid boot?

I have CentOS 7, and I want lvm mirrors on my root logical volume. I had some panic after I used "lvconvert -m3 cl_excalibur/root" to create two mirrors, and it would not boot. The logical volume does not activate at boot when it is raid1. I booted…
Charlweed
  • 249
  • 3
  • 14
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…
viraptor
  • 1,296
  • 6
  • 21
  • 41
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…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
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…
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…
Server Fault
  • 3,714
  • 12
  • 54
  • 89