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
37 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-...
Akito's user avatar
  • 1
-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 ...
Ph Sei's user avatar
  • 11
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 ...
Julian Wogersien's user avatar
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 ...
s-135's user avatar
  • 11
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 ...
radipbob's user avatar
-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 ...
user1769446's user avatar
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. ...
Zeki Kral's user avatar
  • 105
1 vote
0 answers
126 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 ...
Jason Separovic's user avatar
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 ...
gravis's user avatar
  • 1
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": ...
Marco Faustinelli's user avatar
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 ...
OrangeDog's user avatar
  • 861
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 ...
OrangeDog's user avatar
  • 861
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
ميرفت خليل السامي's user avatar
0 votes
2 answers
415 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 ...
Philip Couling's user avatar
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 ...
Saurav Singh's user avatar
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-...
Rohit's user avatar
  • 1
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 ...
Cecilia López's user avatar
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 /...
Rohit's user avatar
  • 1
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 ...
Saurav Singh's user avatar
1 vote
0 answers
155 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" ...
Аwer's user avatar
  • 11
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?) -...
Thiago Almeida's user avatar
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 ...
ibnahmadbello's user avatar
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 ...
David Newman's user avatar
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....
Wisnu's user avatar
  • 1
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-...
ash's user avatar
  • 101
1 vote
0 answers
487 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 ...
Harry Stuart's user avatar
0 votes
1 answer
202 views

unable to build new initrd

setup a new ubuntu 23.04 which was running for some days. All of a sudden while rebooting the system failed to the initramfs prompt. Begin: Running /scripts/local-premount .... Scanning for Btrfs ...
Heimi's user avatar
  • 1
0 votes
0 answers
212 views

How can I import Rpool

Gave up waiting for suspend/resume service Aborted Error: 134 Failed to import pool 'rpool' Manualny import the pool and exit BusyBox v1.35.0 I can't post image here because its over 2 MB
Szymonejros's user avatar
1 vote
0 answers
165 views

install 22.04: Fail to boot after Grub menu

I am trying to install Ubuntu 22 (actually Ubuntu-studio, I don't think that makes a difference) on a a brand new Beelink computer from an ISO copied on a usb stick. The computer came preinstalled ...
kebs's user avatar
  • 582
0 votes
1 answer
410 views

Ubuntu 22.04 unable to boot to desktop, stuck at command-line login screen

Ubuntu 22.04 unable to boot to desktop, stuck at command-line login screen after I ran sudo update-initramfs -u and sudo systemctl set-default multi-user.target It only shows login terminal login ...
God of Money's user avatar
0 votes
0 answers
198 views

Fsck error after resize my Ubuntu partition on Windows

I use Windows and Ubuntu on my PC with dual boot and I resize my Ubuntu partition on Windows. After restarting I got an error with fsck. I can't fix it. Help me /dev/nvme0n1p4: The filesystem size ( ...
rabeeh pk's user avatar
1 vote
0 answers
332 views

Making initramfs using the correct host name when applying for a dhcp address?

I'm having some ubuntu servers with an encrypted root partition, and usually they do ask for the password at boot time on the console. In order to start them remotely, I'm using dropbear in the ...
Hadmut's user avatar
  • 301
0 votes
0 answers
64 views

Syntax error in /etc/default/console-setup when running "sudo update-initramfs -u -k 5.19.0-31-generic"

When executing the command sudo update-initramfs -u -k 5.19.0-31-generic, I encountered a syntax error related to the /etc/default/console-setup file. The specific error message states: /etc/default/...
Subhadeep Banerjee's user avatar
1 vote
0 answers
1k views

initramfs reports "compression not supported by kernel" for all compression types after 23.04 upgrade

Just upgraded to 23.04 and initramfs won't install, reporting "compression (CONFIG_RD_*) not supported by kernel" for any of { gzip, bzip2, lz4, lzma, lzop, xz, zstd, cat }. For example ...
Dave's user avatar
  • 111
0 votes
0 answers
41 views

Starting problem

After a sudden shutdown of the pc, the computer no longer starts. The message says initramfs And just above are lines of text that I can't copy. Thanks a lot for your help !
mariebrunel's user avatar
2 votes
0 answers
526 views

Ubuntu 23.04 - booting to initramfs with UUID not detected

I just upgraded my test box with latest ubuntu 23.04 which ships with kernel 6.2. This is very convenient for me due to modern hardware support. Unfortunately, normal boot ends in initramfs mode and ...
Tomeq's user avatar
  • 21
2 votes
0 answers
187 views

Stuck after Kernel Panic after Timout while waiting for device on initramfs

I encounter the screen shown below independed of starting ubuntu normal or in recovery mode. After the Kernel Panic I can't make any input as suggested by the many similar threads. In the advanced ...
mrks's user avatar
  • 31
-1 votes
1 answer
967 views

After upgrading from 20.04 to 22.04 : Initramfs unpacking failed: invalid magic at start of compressed archive [closed]

As text: [ 0.187279] Initramfs unpacking failed: invalid magic at start of compressed archive [ 0.373537] Kernel panic - not syncing: UFS: Unable to mount root fs on unknown wn-block(0,0) [ 0....
viiprogrammer's user avatar
0 votes
0 answers
308 views

Trouble modifying initrd for custom live iso

I am trying to customize an LUbuntu Live CD (22.04.2), following the instructions at https://help.ubuntu.com/community/LiveCDCustomization. Some of the things I would like to do, such as removing the ...
Paul Lynch's user avatar
1 vote
0 answers
109 views

Ubuntu Mate not booting, recovery not booting, initramfs & fsck no fix - after recent update

after an update my Q957 mini PC won't boot into Linux, Windows (dualboot) is still working. After trying to boot ubuntu, it immeadiately went into the initramfs shell mode. The same happens, if i try ...
ra_be's user avatar
  • 173
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 ...
Nate's user avatar
  • 173
0 votes
0 answers
106 views

Do I need to regereate initramfs when I move Linux to new partitions?

When I restore my Linux backups from either an image file or tar backups to new partitions/volumes (root, boot, and home), do I need to regerenerate the initramfs files as well? I would use the ...
Randyman99's user avatar
0 votes
0 answers
951 views

Cannot rebuild initramfs images, due to lack of space

I am running out of space on the disk '/boot'. When trying to use the software updater, a message appears suggesting to remove old kernels using sudo apt autoremove, and to set COMPRESS=xz in ...
Miguel's user avatar
  • 1
2 votes
2 answers
397 views

Error 'update-initramfs: 175: awk: Too many levels of symbolic links' when using APT

I'm on Ubuntu 22.10, when trying to run apt or apt-get with {install|remove|auto-remove} I got the following error: Reading package lists... Done Building dependency tree... Done Reading state ...
ya22y's user avatar
  • 33
0 votes
0 answers
299 views

Upgrade Ubuntu 20 to 22 fail kernel install

I completed the upgrade from Ubuntu 20 to 22 and it failed to boot due to a kernel panic. I booted to an old kernel and found that the kernel was not installing properly. Setting up linux-image-5.15.0-...
user1681098's user avatar
0 votes
0 answers
250 views

initramfs after upgrade Linux kernel ubuntu 20.04

After upgrading to Linux 5.15.0-60-generic from Linux 5.15.0-58-0 generic, It is not booting. It keeps hanging at initramfs. I tried the following exit turns nothing blkid turns nothing dmsetup ls ...
Garu 's user avatar
0 votes
1 answer
461 views

NFSv4 boot worked in 20.04, doesn't in 22.04

By dint of a nasty hack I was able to boot Ubuntu 20.04 LTS with an NFSv4 root on a Raspberry Pi 4B. When I tried the same with Ubuntu 22.04 LTS it failed. The Raspberry passes kernel parameters to ...
Stephen Winnall's user avatar
0 votes
0 answers
413 views

initramsfs: globally duplicate id for nsid 1. Kernel Ubuntu 22.04 with Linux 5.19.0-32-generic

Hey I'm pretty weak with linux.... I am currently using ubuntu 22.04. After updating my ubuntu do not boot (Kernel linux 5.19.0-32-generic) but on older (Linux 5.15.0-43-generic) it starts. Do you ...
MTG's user avatar
  • 113
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: - ...
VicKos's user avatar
  • 1
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 ...
Roberto Leinardi's user avatar

1
2 3 4 5
11