Questions tagged [initramfs]
77 questions
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…

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…

akasummer
- 111
- 2
1
vote
2 answers
Ubuntu: updated mainline kernel, now drops to initramfs
I attempted to upgrade our system's mainline kernel and am now dropping into initramfs.
< update>: The commands I used were:
apt-get update
apt-get upgrade
apt-cache search linux-image
//grabbed last entry
apt-get install…

A. Anon
- 21
- 5
1
vote
1 answer
Ubuntu ramdisk template
I've been working on a ramdisk template for running a complete root filesystem on the RAM of a baremetal server(over IPMI so no physical access) that boots over PXE.
I used debootstrap to create an ubuntu trusty filesystem and applied some…

Mehdi Yedes
- 141
- 6
1
vote
0 answers
What to use as an installer bootstrap?
I've got some embedded systems which I'd like to deploy a debootstrap-prepared Ubuntu rootfs to. But I need some kind of a stub which I can use to boot these systems, either via USB or PXE. Basic requirements:
Recent-ish kernel (>3.8)
Starts SSH…

mikepurvis
- 1,067
- 2
- 9
- 18
1
vote
2 answers
Ubuntu Server 12.10: set up network bridge in the initramfs pre-boot environment
In this scenario, I have a machine that boots its root volume off of iSCSI, and it only has a single network interface. If network configuration is done the normal way, then taking the interface down to add it to the bridge would kill the…

Herby Gillot
- 13
- 3
1
vote
1 answer
Rackspace Ubuntu 12.04 server stuck in initramfs after kernel upgrade
Can't boot after I did a aptitude full-upgrade and let it update menu.lst (did a diff first and it looked good).
This is what I've done so far in the BusyBox shell:
mkdir /tmp/xvda1
mount /dev/xvda1 /tmp/xvda1
chroot /dev/xvda1
nano…

Markus Hedlund
- 1,127
- 2
- 19
- 33
1
vote
1 answer
Ubuntu RAID5 Software Raid inactive - unable to boot into Ubuntu from non-raid drive
I have a server with 6 disks in it, 5 of which are in a RAID5 array. I came home from work today to find that the landlord had been through the house with a sparky, and the power had been reset. Now, my server refuses to boot up correctly.
During…

Ryan French
- 125
- 6
1
vote
1 answer
New install Ubuntu 10.10 Server, won't boot. "ls /dev/disk/by-uuid" generates Bus Error
I installed Ubuntu 10.10 Server on a very old computer (bought it in 2002), but it won't boot. It tells me it can't find the root mount volume by it's UUID and also gives me the follwing type of error:
Alert! /dev/disk/by-uuid/xxxxxxxx does not…

pancake
- 181
- 1
- 3
- 10
1
vote
1 answer
initramfs - customize init script
We have a cluster system with master and several nodes. I have set up a PXE netboot of ubuntu kernel 5.4.0-91 from the master. The nodes load the initramfs and end up in the busybox.
Now I want to customize the initramfs to automatically do the…

stephanp
- 21
- 3
1
vote
0 answers
Stuck in initramfs after logical volume resize volume group not found
Hoping someone can help me recover my ubuntu server instance. Ran out of space on a VM and decided to extend the virtual disk.
lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
Size of logical volume ubuntu-vg/ubuntu-lv changed from 37.00…

harri
- 185
- 2
- 11
1
vote
2 answers
OpenStack node not booting after forced shutdown, ubuntu--vg-ubuntu--lv does not exist
After forcibly rebooting my OpenStack compute & block storage node, it no longer boots; how can I fix this or recover its data?
Gave up waiting for root file system device. common problems:
-Boot args (cat /proc/cmdline)
- check rootdelay= (did…

jun50
- 11
- 2
1
vote
1 answer
CentOS 7 (dracut) is finding inconsistent network device names causing problems for kickstart
I use the boot options biosdevname=1 net.ifnames=1 in order to get consistent, predictable device names. I'm starting to notice a problem where in some cases, the network device names are not consistent. For example, if I drop to a dracut debug…

guzzijason
- 1,410
- 8
- 18
1
vote
1 answer
Initramfs - Set hostname from custom initrd script
In our company, I'm creating an Ubuntu Autoinstaller (v. 20.04). For some company reasons, its required modify initramfs. (initrd file).
I'm created a script, and added a link to init file in main initrd folder. Its showing correctly, but I did not…

Jakub Franek
- 11
- 1
1
vote
1 answer
Intel DH895XCC Series QAT and ZFS (2.0.0) - custom initramfs with dracut
We would like to run ZFS with QAT offloading for compressions and checksums.
The distribution is Centos 8.2 with the stock kernel:
[root@dellqat ~]# uname -a
Linux dellqat 4.18.0-193.19.1.el8_2.x86_64 #1 SMP Mon Sep 14 14:37:00 UTC 2020 x86_64…

fstrati70
- 11
- 1