Questions tagged [initramfs]

71 questions
11
votes
9 answers

Logical volumes are inactive at boot time

I resized my logical volume and filesystem and all went smoothly. I installed new kernel and after reboot I can't boot neither current nor former one. I get volume group not found error after selecting grub(2) option. Inspection from busy box…
zeratul021
  • 359
  • 1
  • 5
  • 18
7
votes
1 answer

Introspection of initramfs systemd services - How?

Background I'm running ArchLinux, using the systemd binary to start necessary services as part of the initramfs (root fs decryption, mounting etc.). I would like to examine what systemd units are started as part of this stage, and…
Benjamin
  • 240
  • 2
  • 9
7
votes
7 answers

What tells initramfs or the Ubuntu Server boot process how to assemble RAID arrays?

The simple question: how does initramfs know how to assemble mdadm RAID arrays at startup? My problem: I boot my server and get: Gave up waiting for root device. ALERT! /dev/disk/by-uuid/[UUID] does not exist. Dropping to a shell! This happens…
Brad
  • 203
  • 1
  • 2
  • 8
7
votes
2 answers

Configure initramfs-tools to add curl to the initramfs, and run curl in a script at boot while in intitrd in Ubuntu 10.04 Server

I'm trying to learn how the initramfs works and how it may be configured. I would like curl to be added to the packages available in the initramfs, and run a script which uses curl during boot (which means the network has to be set up, before…
Deleted
  • 1,832
  • 7
  • 23
  • 31
5
votes
4 answers

Ubuntu full disc encryption on Hetzner Cloud adding add static route in initramfs

I try to setup Ubuntu with full disc encryption on top of Hetzner Cloud. I got everything to work except the network connection in initramfs. Thanks to the UI console its possible to unlock, but I need SSH (dropbear) in init. I successfully using…
user2638109
  • 153
  • 1
  • 4
5
votes
2 answers

Linux diskless boot - NFS share not mounting during ramdisk boot

(This is my first post so hopefully I'm formatting it correctly). I've added in as much information as possible without being TL:DR. My basic issue is that I hit walls when trying to do a PXE diskless boot to an NFS server (CentOS 6.7 or CentOS 7).…
Brattex
  • 51
  • 1
  • 2
5
votes
1 answer

Booting a diskless Debian system using bonding, bridging, and iSCSI

I'm trying to build my personal holy grail: booting my Debian Wheezy KVM server diskless from a iSCSI target and the only configuration needed on the diskless server is the iSCSI parameters in the NIC ROM. The rest of the config should all be…
hvtilborg
  • 217
  • 1
  • 2
  • 5
5
votes
2 answers

How to upgrade module located inside initramfs?

We have recently upgraded our e1000e (intel ethernet) module on one of our CentOS 6.0 boxes. Even tho the module compile and installed fine, the old version is still being used. We have tracked this down to the fact that the e1000e.ko module is…
anonymous-one
  • 958
  • 4
  • 26
  • 43
4
votes
2 answers

CentOS7 Dracut lvm command not found

I updated CentOS7 kernel because of Meltdown issue from 3.10.0-693.11.1 to 3.10.0-693.11.6, but after that update, I cannot boot as centos drop to the dracut with error warning /dev/mapper/centos-root does not exist dracut:/# ls…
user979291
  • 43
  • 1
  • 1
  • 5
4
votes
3 answers

Getting debug output from a debian initramfs

I'm attempting to configure a server for a debian lenny on software raid0 and a LVM root filesystem via the serial console and the hosting company's recovery console (basically an ubuntu liveCD). After configuring the raid0, establishing LVM,…
bdonlan
  • 683
  • 7
  • 14
4
votes
2 answers

Using FlashCache on /var on startup

I would like to have FlashCache cache my /var partition however I can't seem to get it to play nice upon bootup (IE: not really sure how to do it). I'm not sure if I need to modify the initramfs/use DKMS or if I can do it in user-land during bootup.…
WinkyWolly
  • 598
  • 6
  • 19
3
votes
2 answers

Why use nash instead of busybox in initrd and initramfs?

Why use nash instead of busybox in initrd and initramfs? I'm just looking for pros and cons of both really (and any other applications with similar functionality). I'm currently leaning towards busybox being the better option, but I can't help but…
Crazy Chenz
  • 195
  • 9
3
votes
1 answer

cpio incorrectly unpacking initrd in Ubuntu Xenial

I am trying to unpack initrd image: # file /boot/initrd.img-4.11.0-14-generic /boot/initrd.img-4.11.0-14-generic: ASCII cpio archive (SVR4 with no CRC) # mkdir /tmp/initrd; cd /tmp/initrd # cpio -i -d -H newc --no-absolute-filenames -F…
Selivanov Pavel
  • 2,126
  • 3
  • 23
  • 47
3
votes
1 answer

PXE boot kernel panic

I am having trouble setting up a PXE boot server. I've got isc-dhcp-server running, tftp-hpa serves the files over tftp (verified works), and apache2 hosts the rootfs image. The PXE client seems to download the kernel and initrd files correctly,…
MishaP
  • 131
  • 1
  • 3
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
1
2 3 4 5