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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Failed to install initramfs-tools

Im running Ubuntu server 20.04LTS. I had an error of apt install, please tell me what I should do to solve this problem. image: img-5.15.0-1023-azure Command: sudo apt-get install -reinstall initramfs-...
-1 votes
1 answer
28 views

Going from full encrypted system to unencrypted /boot and encrypted / - how to be asked for the passphrase?

I had a fully encrypted system with /boot and / on the same device (/dev/sd8 is root). / contained a keyfile under /etc/luks/ so that I only needed to enter a passphrase when GRUB started, not ...
0 votes
0 answers
46 views

How do i get busybox to start the system with specified device instead of the default vgubuntu-root?

My system drops me into busybox/initramfs terminal and tells me /dev/mapper/vgubuntu-root doesn't exist. But what does exist in /dev/mapper is nvme0n1p3_crypt so i probably need to use that instead of ...
0 votes
2 answers
4k views

Having trouble with "Initramfs unpacking failed: Decoding failed" solutions

I just build my first PC, turned it on for the first time, and attempting to install Linux Ubuntu 20.04.1 LTS from a bootable USB. As many others have had the "decoding failed" problem I ...
1 vote
0 answers
75 views

Need to recover files after mistakenly messing up the system but Ubuntu stuck at boot initramfs screen

I had been stuck with a package problem and was able to solve it after a long time. I decided to make a backup of the system settings before I proceeded. I installed Timeshift and set it up. It ...
2 votes
1 answer
5k views

Ubuntu BusyBox initramfs Error 14.04

Suddenly after shutting down Ubuntu and when reopenning, I get prompted to one shell of BusyBox. I only had a set of options in help there. I tried to follow this solution: Boot drops to a (initramfs)...
0 votes
0 answers
18 views

My Aspire A-515-54 fails to boot. Got a software disk assembly mismatch

Ubuntu 20.04 LTS installed 9 weeks ago. Windows 10/11 deleted, disk reformatted NTFS. System worked like a charm for over a month. Then problem appeared. I tried the command /etc/fstab to update the ...
-1 votes
0 answers
67 views

Boot problems with ubuntu VM

I have a physical server running Ubuntu. It has 2 disks in a software raid. I made image of one disk using dd where I had booted from a GParted live bootable USB. Now I am trying to boot from this ...
2 votes
1 answer
5k views

initramfs prompt "mount: can't read etc/fstab" after grub rescue

I had a bootable USB key witk ubuntustudio with two partitions: /dev/sdb1 with Ubuntu and a fat32 /dev/sdb2. Then I realized that Windows only reads partitions if they are the first. So I moved ...
2 votes
2 answers
2k 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
0 answers
99 views

nvme device not ready aborting installation Busybox/Initramfs error when booting Ubuntu [duplicate]

In my computer, i first installed Windows 11. And then Ubuntu 22.04 Desktop. The problem is, most of the time when i try to boot Ubuntu, i get the nvme device not ready, aborting installation error. ...
1 vote
1 answer
4k views

No password prompt for full-disk LUKS encryption

I am running Kubuntu 20.04 on a Dell laptop. After an upgrade yesterday, my computer crashed and, on rebooting, the disk decryption password prompt is gone. Now I can't boot into the computer at all, ...
0 votes
1 answer
4k views

Boot fails to mount root partition

I recently installed Ubuntu successfully instead of Windows 7 and it was working very good. Suddenly while I was working, it restarted my computer and after I chose Ubuntu from grub it give me this ...
2 votes
2 answers
10k views

Diskless with Ubuntu 12.04

I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo But the initramfs seems not to be able to mount my nfs share. On my server ...
0 votes
0 answers
299 views

After update: encrypted system boots to initramfs

I am running Ubuntu 22.04 on an Acer ES1-311 laptop upgraded with an SSD, After the recent auto-update my system won't boot anymore, and sends me to initramfs after entering my encryption passphrase. ...
4 votes
1 answer
7k views

New Ubuntu install, initramfs

I've only really used Debian and Debian variants before and then only on either a virtual box or raspberry Pi. I'm trying to install the server variant of Ubuntu onto a Samsung N150 plus netbook (1GB ...
1 vote
0 answers
125 views

lvextend root partition causing (initramfs) ALERT! /dev/mapper/ubuntu--vg-ubuntu--lv does not exist. Dropping to a shell!

I'm building an Ubuntu 22.04.02 image using packer qemu builder. I then dd the raw image to a baremetal mini pc. On the first boot of the Ubuntu image I have a procedure that extends the root ...
17 votes
1 answer
15k views

"initramfs" error on boot ONLY on Dell XPS 13 (boots fine on other computer)

Been struggling with this for a few days now. I am an absolutely green and non-technical Ubuntu user (I like it for it's lightweight/malware-free nature). I repaired a hinge in the laptop that ...
5 votes
1 answer
5k views

How Do I Customize the "cryptroot" Script?

I have a system where all the partitions (/, /home, and swap) are encrypted except for /boot. /boot resides in an external device which also contains a set of encrypted key files used to automatically ...
2 votes
1 answer
6k views

Stuck at initramfs, no results on exit command

On booting my 64 bit machine running ubuntu 20.04 I am getting the following error: BusyBox v1.30.1 (Ubuntu 1:1.30.2-4ubuntu6.1 built-in shell (ash) Enter 'help' for a list of built-in commands. Most ...
0 votes
0 answers
72 views

"update-initramfs -u" does not work in external SSD booted Ubuntu 22.04 LTS, so I can't turn off nouveau driver

I use Ubuntu 22.04 in external SSD for Windows7 PC with nvidia geforce gtx960 GPU I wanted to install Nvidia driver(Driver version is Linux X64 (AMD64/EM64T) Display Driver 535.129.03) and turn off ...
7 votes
1 answer
5k views

Missing amdgpu firmware file named vega20_ta.bin | Kubuntu 19.04

Recently, after each upgrade I get these lines at the end of the process: Processing triggers for initramfs-tools (0.131ubuntu19) ... update-initramfs: Generating /boot/initrd.img-5.0.0-17-generic ...
0 votes
1 answer
5k views

initramfs, what is it and why am I getting this message

I am new to linux and having trouble getting my head around all of it, so please bear with me. I am getting this message every time I use: sudo apt-get upgrade It's a fresh install of Ubuntu which ...
5 votes
1 answer
11k views

update-initramfs issue

Can someone explain what this error means and how i can resolve it please? update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic cryptsetup: WARNING: failed to detect canonical device of /...
0 votes
2 answers
3k views

SGX disabled by BIOS (Acer laptop)

I have an Acer laptop where I have installed Ubuntu 22.04. After some weeks I have the following message: x86/cpu: SGX disabled by BIOS. Gave up waiting for root file system device. Common problems: - ...
0 votes
1 answer
60 views

Is there a way to skip a particular trigger during apt operations?

In particular, I would like to disable the initramfs-tools trigger. I have a script to configure and build the initramfs that I want (which involves multiple kernels), but part of this involves adding ...
0 votes
0 answers
42 views

Failure writing sector 0x13407f8 to hd0 - how to check disks if they are not yet accessible?

I cannot boot Ubuntu 20.04 LTS on Lenovo Thinkpad after a reboot given with the REISUB sequence. Error message on initial black screen is "error: Failure writing sector 0x13407f8 to hd0": ...
1 vote
0 answers
140 views

How to disable package hooks for update-initramfs?

I am trying to build a minimal initramfs. Some packages contribute hooks that don't appear to take any config option to enable/disable them. For example initramfs-tools-core provides a fsck hook and ...
3 votes
4 answers
14k views

How to make Ubuntu 22.04 work with a Radeon RX 7900 XTX?

I know that for such new hardware would be better to use a rolling release distro or at least the latest 22.10, but I was wondering if with some tinkering it is still possible to get the latest LTS to ...
0 votes
0 answers
75 views

I've been trying to upgrade my ubuntu 20.04 to ubuntu 22.04 jelly for two days straight but whenever the laptop restarts it boots into Initramfs

This issue keeps popping up everytime I try to boot up my laptop after the upgrade
1 vote
3 answers
3k views

Why is initramfs-tools stopping an upgrade?

Spare me as this is the first question I ever post in here. So I tried to update on Ubuntu 22.04 using the command line and everything was fine until I got the error E: Sub-process /usr/bin/dpkg ...
0 votes
2 answers
414 views

Can initramfs be prevented from entering a recovery console?

For some errors, initramfs will drop into a recovery console to allow the user to fix things before booting. This can be a problem both for security (eg on a customer facing kiosk) and ability to ...
4 votes
1 answer
15k views

ACPI Error: Needed type [Reference]... I can't boot Ubuntu

I boot Ubuntu. I was browsing on Firefox in Ubuntu and all of a sudden I got some error message, so I tried to reboot. Now when I try to reboot I get this message: ACPI Error: Needed type [Reference],...
0 votes
0 answers
258 views

How to fix Ubuntu 22.04 Initramfs booting error , harddrive bad sectors, SSD errors?

I have been using Ubuntu 22.04 in ASUS TUF fx505ge. My laptop is 5 years old. I have been frequently getting different kinds of "Initramfs errors" and several other errors... I tried to fix ...
6 votes
6 answers
8k views

Ubuntu kernel upgrade to 6.2.0-26 failed

3 edits with further information at the bottom of this question. When I routinely upgraded to the latest generic kernel, the upgrade failed and stopped my computer booting. I had to do a zfs rollback ...
0 votes
0 answers
279 views

Ubuntu 22.04 linux-firmware initramfs-tools install error while apt upgrade

i am getting this persistent error while performing updates update-initramfs: Generating /boot/initrd.img-5.19.0-50-generic E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1. update-...
21 votes
13 answers
108k views

initramfs error when installing / updating

I've been having an error when updating or running any apt command for a week or so. Upgrading to LTS 18.04 hasn't resolved it, nor has removing all old kernels. Space isn't an issue either. ...
2 votes
3 answers
745 views

Boot fails after upgrading from 20.04 to 22.04 on dmraid device, no partitons

After upgrading from Ubuntu 20.04 to Ubuntu 22.04 I go into an initramfs command line, where I see my RAID device but no partitions. ls -l /dev/mapper/ total 0 crw------- 1 root root 10, 236 Nov 30 ...
4 votes
1 answer
8k views

ZSTD-compressed data is corrupt, root filesystem requires a manual fsck

I'm getting an error that's similar to many I've seen before, but I somehow can't seem to fix. I am on Ubuntu 22.04. [ 0.260527] ×86/cpu: SGX disabled by BIOS. [ 0.786997] Initramfs unpacking ...
1 vote
0 answers
211 views

BusyBox (initramfs) after forced shutdown

I have found a lot of questions with problems similar to mine but none of the solutions have worked for me so far. I'll try to describe everything I've tried so this might be long. Today I was working ...
0 votes
0 answers
126 views

getting these error messages everytime on apt install upgrade or installing applications on 22.04 LTS

Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up linux-firmware (20220329.git681281e4-0ubuntu3.17) ... update-initramfs: Generating /...
0 votes
1 answer
3k views

How to fix BusyBox Initramfs Error on Ubuntu 22.04 , showing many types of error

I am getting boot failure with this message on ubuntu 22.04: [ 0.131760] x86/cpu: SGX disabled by BIOS. [ 1.974254] nvme nvmeo: failed to set APST feature (2) Gave up waiting for suspend/resume Gave ...
1 vote
0 answers
154 views

initramfs prompt appears while booting - Error regarding zfs mountpoint

Hello i have a little problem with my pc i have ubuntu system 23.04, last night everything was fine , i turned on my pc today there is initramfs prompt appears and when i type "exit" ...
2 votes
0 answers
40 views

Ubuntu not starting, initramfs error

I am having the following error on my ubuntu Gave up waiting for root file system device. Common problems: -Boot args (cat /proc/cmdline) - Check rootdelay=(did the system wait long enough?) -...
0 votes
0 answers
95 views

Ubuntu OS 22.04 would not boot

My default and only OS on my system is Ubuntu 22.04, but just a few days back it doesn't boot into the Ubuntu environment. How it started: I shut down the system correctly, but when I tried to put it ...
5 votes
2 answers
521 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'...
0 votes
1 answer
328 views

trying to upgrade and then "I: The initramfs will attempt to resume from ..."

I tried to sudo apt-get upgrade but this is what I got I: The initramfs will attempt to resume from /dev/sda5 I: (UUID=956d301b-3deb-421f-bf5b-396982c5c8ac) I: Set the RESUME variable to override this....
0 votes
0 answers
181 views

Kernel-specific failure to mount OS-containing drive

I recently received a Dell Precision 7820 with Ubuntu 20.04 pre-installed. After fully updating (and all was working), I upgraded to 22.04, but unfortunately, this has done something to prevent the OS-...
126 votes
2 answers
537k views

Root file system requires manual fsck [duplicate]

Whenever I switch on Ubuntu I always see the following message. (Initramfs): /dev/sda1 contains a file system with errors, check forced. Inodes that were a part of a corrupted orphan linked lost ...
1 vote
0 answers
486 views

Gave up waiting for root file system device upon reboot

This question has been asked several times already, but there does not appear to be a generic solution. I have tried multiple solutions but can't seem to get anything to work. I have an Ubuntu Server ...

1
2 3 4 5
11