Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [initramfs]

Initramfs (Initial RAM File System) is a way of providing the Linux kernel with the drivers and other tools needed to mount the real root filesystem at boot time. Use this tag if your question relates to using and controlling initramfs.

0
votes
0answers
9 views

What needs to be done to prepare a stock, non LUKS Ubuntu install to boot from a LUKS encrypted partition with a separate /boot partition?

I'm trying to move an Ubuntu 18.04 system from a plain ext4 root with a separate /boot partition to a setup where I have a /boot/ partition that is ext4, and a separate partition that is LUKS with ...
0
votes
0answers
28 views

initramfs fails to find root filesystem on recently updated system

On a recent installation of Ubuntu 18.04, the system has installed fine. However attempting to upgrade the systems kernel from kernel image 4.15.0-29-generic to 4.15.0-43-generic the kernel would ...
0
votes
0answers
15 views

Is there any possibility of getting the AMD RAID (Ryzen) drivers bundled with Ubuntu?

After trying to get Ubuntu 16.04, 18.04 and 18.10 to detect and be capable of using a RAID 0 array on a AMD motherboard (ASUS Prime B450), I completely gave up on this and installed Windows 10 with ...
0
votes
0answers
23 views

I'm stuck in initramfs with “PKCS#7 signature not signed with a trusted key” alerts and can't get out

think it happened because my update was interrupted but when I try to start Ubuntu I get booted to a black screen with white text and an initramfs command line. I get an alert that says "PKCS#7 ...
0
votes
0answers
11 views

Set up an init script for initramfs

How do I set up an init script with a loopback device and then mounting the image there? Greetings.
0
votes
0answers
24 views

Any Video Crashes Ubuntu 18.04

This is a confusing situation, I am running Ubuntu 18.04 on a desktop, single installation, no Windows. About a dozen times now he system has crashed and loads to a initramfs busy box prompt and will ...
0
votes
0answers
34 views

Re: fsck recurring circa every 10 days on new SSD [18.04]

I took the opportunity to upgrade to a new SSD since SSD prices have dropped and installed a fresh Ubuntu 18.04. Generally the system works much better but I seem to be getting the initramsf 'inode' ...
0
votes
0answers
17 views

busybox initramfs ubuntu 18.04 system crash repeatedly

I hope you all do not mind, I am flabbergasted and need assistance. I continuously install Ubuntu Desktop 18.04 on a Lenovo desktop as it's only operating system. At first I had no issues for months. ...
0
votes
0answers
28 views

Can Ubunto 18 be reinstalled from withing initramfs?

Something went wrong! 2 days ago I booted my tablet PC and it went straight to initramfs. After 2 frustrating days, I've given up on trying to fix whatever error caused this (initramfs does not ...
0
votes
0answers
30 views

Slow boot on fresh copy of ubuntu 18.04

I am very new to linux. I have been trying to fix the slow boot time on my ubuntu 18.04 laptop(acer aspire 5 52g) to no avail. There seems to be a lot of people with this issue and one of the more ...
0
votes
0answers
38 views

Ubuntu studio (initramfs) shell, ALERT! /dev/mapper/ubuntu--studio--vg-root does not exist

boys. When I turn on the PC I get this error, what should I do? dropbox image error
0
votes
0answers
20 views

Lvm on luks UEFI

I want to install Ubuntu on lvm on luks in UEFI mode. An efi partition, another encrypted partition for /boot and again an encrypted partition for system. My question is: how can I add hooks to ...
0
votes
0answers
22 views

How to save data on RAID 10 array after something happened to OS (RAID 10 wasn't used like OS)

SITUATION I have a machine that works on Ubuntu Server 16.04. I managed disk space in the following way: And then, created two RAID 0 arrays this way: After installation I added 6 more disks and ...
0
votes
0answers
92 views

Manual fsck through initramfs - How do I run it automatically?

One of the systems I have Ubuntu installed on may sometimes hang, forcing me to restart it with SysRq REISUB, or with the reset button. I'm sure there's an underlying problem, but I'll ignore that for ...
0
votes
0answers
28 views

Using nvidia driver combined with encrypted system drive in Ubuntu 18.04

I want to use the proprietary nvidia driver under Ubuntu 18.04 with an encrypted system drive. When I install the nvidia driver (version 390.77) using the Software & Updates menu no error is ...
1
vote
0answers
41 views

“more” command doesn't work as expected in initramfs

I'm trying to watch dmesg output in (initramfs) but command output has more lines than a screen. So I see only the end of dmesg output. Busybox v1.21.1 has more command, but dmesg | more somehow doesn'...
1
vote
1answer
262 views

Boot freezes at “Loading Initial ramdisk” (urgent)

I am trying to compile linux-3.13.11 on QEMU running linux-4.4.0 and followed the following steps to compile and load the kernel. Everything is going fine, except during 'update-mkinitramfs' which ...
1
vote
2answers
211 views

Can't unlock cryptswap1

Today I upgraded to Ubuntu 18.10 from Ubuntu 18.04. Unfortunately when everything is done I rebooted the system and I was surprised by this screen. I looked everywhere for such a problem but it seems ...
0
votes
0answers
171 views

Updating Linux kernel on Raspberry Pi 3

So I have Ubuntu 18.04 on a Raspberry Pi 3 right now, and after installing linux-raspi2 metapackage, I got this error: ln: failed to create symbolic link '/boot/dtb-4.15.0-1026-raspi2': Operation ...
0
votes
0answers
354 views

New Ubuntu 18.04 xen 4.9 VM will not boot (LUKS setup) - fails back to initramfs

On a fresh Ubuntu install with Xen (learning Xen, proficient with Ubuntu), I try to create a domU PV VM with LUKS encryption, the whole setup procedure goes smoothly, including creating, unlocking the ...
2
votes
1answer
217 views

Unable to lock the administration directory - DPKG configure stuck on initramfs

I have problems with apt: E: Unable to lock the administration directory /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? I followed ...
0
votes
0answers
48 views

18.04.1 Setting console font in initramfs?

I would like to add a console font setting to my initramfs such that it uses the correct font right when the system boots Sort of how Arch does it I'd also like to use a font not provided by console-...
2
votes
1answer
370 views

Dropbear-initramfs on ubuntu 18.04

I’m trying to setup a dedicated server with an encrypted drive, I’ve found some help online to get that up and running but I’m running in some troubles getting dropbear-initramfs to start properly. (...
0
votes
0answers
53 views

Hard drive bad sector appear more and more often

I have more and more often issues with my computer. I can't read some files sometimes when I use it for different tasks (developing, surfing, etc..). So I get the initframs menu when I reboot my ...
0
votes
0answers
227 views

Ubuntu booting stops after grub with initramfs error

My Ubuntu system is not booting and stops at initramfs error as shown in the snapshot below. I have tried to enter exit as suggested by @ramsudharsan in Boot drops to a (initramfs) prompts/busybox, ...
0
votes
0answers
54 views

Initramfs error

I have a laptop with Ubuntu 18.04 dual booted along with windows. Every time I boot into Ubuntu after booting into windows, I get initramfs error and I have to manually run fsck command. This happens ...
0
votes
1answer
351 views

stuck updating initramfs-tools after following previous questions

I'm having trouble trying to update initramfs tools. I followed the following instructions from H Dirk Schmitt in a previous post discussing this problem. sudo dpkg --force-depends --purge initramfs-...
0
votes
0answers
47 views

Ubuntu 16.04 update-initramfs hangs generating /boot/initrd.img4.13.0-31-generic [duplicate]

I was trying to update Ubuntu 16.04 but I can't run apt-get. I get: dpkg was interupted, you must run sudo dpkg --configure -a But when I run sudo dpkg --configure -a it hangs at: update-initramfs: ...
1
vote
0answers
128 views

Cubic made Custom ISO (initramfs) unable to find medium containing a live file system

After creating custom Ubuntu 18.04 ISO through Cubic app. Completion is happening without any error. But while trying to use the same media to install the same in my production VM (on OVM), facing ...
0
votes
0answers
71 views

No boot device on dell laptop running ubuntu 14.04 after power loss

RI had a no boot device black screen after switching my laptop back on after several weeks. Following dell support instructions I went to the Bios menu (tapping the F2 key during the initial boot ...
0
votes
0answers
22 views

Missing all /dev/sdX and /dev/disk in grub boot

I have a very strange issue that I can't figure out. My system fails to boot with a "gave up waiting for root device" message. At the initramfs shell, I can see that e.g. the /dev/sdb1 that I expect ...
0
votes
1answer
67 views

Stuck at initramfs prompt AFTER removing a non existent HDD

My Ubuntu installation does not boot when I remove a non relevant HDD (sda) from my system. Instead I am stuck in initramfs. However if it is connected it starts up just fine from sdb3. sda ...
0
votes
1answer
149 views

What are and how are these files different under /boot?

In my system, (ubunt 16.04), when I type uname -r, I get 4.15.0-33-generic when I do ls /boot/*4.15.0-33* -l, I get -rw-r--r-- 1 root root 1537455 8월 16 06:00 /boot/abi-4.15.0-33-generic -rw-r--...
1
vote
1answer
52 views

Boot fails after “apt-get upgrade”

I've been trying to migrate a VM from Virtual Box (never using that garbage ever again) to VMWare. I was able to import the VM into VMWare and get it to boot. Once I get into VMWare I run a simple ...
0
votes
0answers
45 views

Laptop is not booting Ubuntu 16.04 LTS

I am using Ubuntu (single boot) for 3 years without any major problem. But now I am facing a problem. My laptop is not booting in Ubuntu 16.04 LTS OS. When I push the start button, then nothing ...
0
votes
1answer
136 views

Howto skip over cpio archive when multiple cpio archives are concatenated

When doing a update-initramfs -u that will eventually call /usr/sbin/mkinitramfs the __TMPEARLYCPIO variable will point to data that is prepended to the final initramfs. For an AMD system it seems to ...
0
votes
0answers
46 views

Cryptmount / setup is missing from initramfs

So silly me decided to do a "apt autoremove" which decided to remove cryptmount which if I was more vigilant would have realised from the error messages that came up during the uninstall that I should ...
2
votes
0answers
379 views

Kernel panic after failed attempt to update kernel

Yesterday my system got stuck while using the apt upgrade. I had to force reboot using the hardware button. Now while booting after passing the crypto setup it fails to open and opens a initramfs ...
1
vote
1answer
284 views

Error creating custom install of ubuntu 18.04 live server

I'm trying to create a custom ISO of ubuntu 18.04 using the official ubuntu-18.04.1-live-server-amd64.iso as a base image with my own set of preseed files to later create a vagrant box with packer. I ...
0
votes
0answers
84 views

Ubuntu 18.04 live usb not loading — mismatched UUIDs?

I've been trying to install ubuntu 16.04 from a live USB, but I got the following error message: A TPM error (7) occurred attempting to read a pcr value I asked this question and from the initramfs ...
1
vote
0answers
786 views

A TPM error (7) occurred attempting to read a pcr value after trying to install 16.04

I'm trying to revive an ageing laptop by installing Ubuntu 16.04 (I want to upgrade it to 18.04 eventually) over Windows 10. I made a live USB using unetbootin and a 16.04 distro from the Ubuntu ...
2
votes
1answer
399 views

How do I prevent initramfs from resuming from a zram device?

Whenever initramfs is updated I get a message similar to this: I: The initramfs will attempt to resume from /dev/zram1 I: (UUID=1d4b8573-7eee-43c9-a02a-10a65fc17b8a) I: Set the RESUME variable to ...
1
vote
0answers
65 views

keyctl add from initramfs

I have two luks-encrypted partitions on my disk alongside with the efisys partition. First encrypted partition contains /boot only and the second one contains lvm storage for /root and swap. Grub is ...
0
votes
0answers
250 views

Unpacking initramfs

With lsinitramfs I see a bunch of files. And this is I've got after run cpio -idv < initrd.img-4.15.0-24-generic command: kernel kernel/x86 kernel/x86/microcode kernel/x86/microcode/.enuineIntel....
0
votes
0answers
70 views

Can't load the system files, not syncing

I am a newbie in linux/unix world, and I have an old laptop with an old ubuntu, but now the system won't start up anymore. I think the system somehow lost the connection with config files, and maybe ...
0
votes
0answers
65 views

Boot drops to a (initramfs) prompts/busybox + Partition 2 does not start on physical sector boundary

I'm using a thinkpad x230 with ubuntu 18.04 and am having the exact same problem as this thread: Boot drops to a (initramfs) prompts/busybox I attempted to follow the advice of Amith KK but when i ...
0
votes
0answers
171 views

How to install kernel/bootloader on Ubuntu Base (rootfs tar.gz)

so I downloaded "xenial-amd64.tar.gz" from http://cdimage.ubuntu.com/ubuntu-base and I extracted it to /dev/sda2 (ext4), while my EFI system partition /dev/sda1 is formated fat32 and mounted at /boot/...
0
votes
0answers
111 views

linux-image configuration failed

I tried to configure a linux-image with dpkg but the /usr/sbin/mkinitramfs script gives me some errors : $ sudo dpkg --configure linux-image-4.15.0-15-generic Setting up linux-image-4.15.0-15-...
0
votes
0answers
33 views

How to remove Lilo bootloader without changing volumes IDs?

My dpkg fails on kernel updates because Lilo wants to assign a new volume ID to my windows volumes. update-initramfs: Generating /boot/initrd.img-4.15.0-24-generic Reference: disk "/dev/sda" (8,0) ...
1
vote
0answers
145 views

Debootstrap on luks encrypted system: initramfs problem

since I don't have any external storage I tried to install the new ubuntu version from an already existing system (on a different partition). So I created an encrypted storage and created a vg and two ...