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
19 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
  • 281
0 votes
0 answers
38 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
0 votes
0 answers
73 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
  • 101
0 votes
1 answer
34 views

Why am I getting a `write error` when installing Ubuntu?

So I am trying to install Ubuntu with VirtualBox. But when I pressed Try or Install Ubuntu, it said Initramfs unpacking failed: write error. What do I do about this?
n_py's user avatar
  • 1
0 votes
0 answers
33 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
161 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
65 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
360 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
64 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
74 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
  • 153
1 vote
1 answer
755 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
  • 143
0 votes
0 answers
47 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
183 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
113 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 ...
yazzy's user avatar
  • 21
0 votes
0 answers
200 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
139 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
89 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
206 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
  • 13
0 votes
1 answer
438 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
5k 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
0 votes
0 answers
54 views

Failure to Boot: Journal version is not supported by this e2fsck

My computer is failing to boot regularly, and I am entering the initramfs screen. The command exit outputs the following. /dev/nvme0n1p2: Journal version not supported by this e2fsck. /dev/nvme0n1p2: ...
user109871's user avatar
0 votes
0 answers
126 views

unable to remove old kernels after upgrading to 20.4

After updating my Ubuntu distribution from 18.04 to 20.04 I'm unable to clean up old kernels. I'm also blocked from running any update or cleanup because of that. Currently I'm running my system on ...
user2091046's user avatar
0 votes
0 answers
465 views

initramfs error when trying to reboot to newly installed Ubuntu 22.04

I got an initramfs error when trying to reboot to newly installed Ubuntu 22.04. ACPI BIOS error ALERT!  /dev/sda2 does not exist. Dropping to a shell!
Honey Deol's user avatar
0 votes
0 answers
330 views

initramfs shell after upgrade to Ubuntu 22.04 - raid

I upgraded from 20.04 to 22.04 and after reboot I get the following screen / errors (see screenshot) and it goes to the initramfs shell. It's a RAID system. It might be that boot partition was too ...
user238740's user avatar
1 vote
0 answers
463 views

mdadm: error opening /dev/md?*:

I have a Ubuntu 22.04 LTS Jammy Jellyfish system with RAID0 and LVM on 2x 2TB hard. After rebooting, the server ended up in initramfs: mdadm: No devices listed in conf file were found. mdadm: error ...
webster's user avatar
  • 11
-1 votes
1 answer
50 views

Server 18.04 won't boot, likely bad package upgrade

Summary: update-initramfs fails, can't reinstall it, can't boot server Details: Ubuntu Server 18.04 LTS ends up with something like this from Ubuntu server crashes on boot "end trace ...
jtd's user avatar
  • 2,365
0 votes
1 answer
97 views

How to save changes in /etc/initramfs-tools/initramfs.conf?

I do not have enough storage on boot to update my version of Ubuntu, »sudo apt autoremove« did not help. Therefore I wanted to put "Compress=xz" in »/etc/initramfs-tools/initramfs.conf«. ...
Bla Bla's user avatar
0 votes
1 answer
150 views

Increased initrd image size in 5.19.0

After I upgraded from 5.19.0-23 to 5.19.0-26, my initrd.img size grew a lot: Size Update 49M initrd.img-5.19.0-23-generic 131M initrd.img-5.19.0-26-generic I already have 2 workarounds from Bug ...
m1st0's user avatar
  • 109
1 vote
0 answers
729 views

Ubuntu upgrade to 22.04 with dual boot - Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I don't have enough reputation to answer any question, so I decided to create a new one to share a solution to my problem. In my case, I have a dual boot with Windows 10 and Ubuntu. I did an automatic ...
raul quijada ferrero's user avatar
0 votes
0 answers
62 views

Adding module configuration to initramfs to use an SDcard as a LUKS key?

So I'm running Ubuntu on a 2011 mac mini, which has well documented issues playing nice with the SDcard reader. There's a working solution that involves adding an options sdhci debug_quirks2=4 to /...
christopher0936's user avatar
0 votes
0 answers
290 views

Ubuntu 22.10 Crashing and failing to boot

System: Razer Blaze 15 (2022) OS: Ubuntu 22.10 with LVM2 partitioning Brand new Samsung 980 evo SSD. I’ve had to re-install my Ubuntu and system Config about 3 times now. Every time the system would ...
Rafael Zasas's user avatar
1 vote
2 answers
272 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 ...
Brunob's user avatar
  • 11
0 votes
0 answers
166 views

Ubuntu 22.04.1 LTS boot aborted (initramfs)

updated pic hereI am pretty new on Ubuntu and at first my disk drives were too full to even plug in a USB with a small item and files wouldn't let me even see the contents. Now after turning it off ...
shinigamishredding94's user avatar
0 votes
0 answers
236 views

dracut didn't auto mount luks rootfs and stuck at Reached target Initrd Root Device for Ubuntu 20.04 LTS

I spent the past few days trying to make dracut running on Ubuntu 20.04 since I wanted to use the masterkey and integrity dracut module to automatically add key to kernel keyring for EVM HMAC purpose. ...
D.Sync's user avatar
  • 1
0 votes
2 answers
140 views

UbuntuStudio 22.04 initramfs error in USB FAT32 live session

I am trying to install UbuntuStudio 22.04 in my machine. The problem is that the image file that needs to be copied into the USB stick is 4.2 GBs. This appears to be causing the initramfs problem as ...
jrsv's user avatar
  • 1
0 votes
1 answer
340 views

Ubuntu 20.04.1 doesnt boot stuck on initramfs

I am having this problem. After updating and upgrading the new kernel loads up which is 5.15.0-52 and it doesnt boot. Stuck on initramfs. While the old kernel which is 5.15.0-48 still boots up just ...
indistress's user avatar
0 votes
0 answers
57 views

Ubuntu don't work. Problem with microcode

I was doing an Ubuntu update. After rebooting the Ubuntu pc it stopped working. I was seeing this error 0.039443) (Firmuare Bug1: TSC DEADLINE disabled due to Errata: please updat : microcode to ...
Ocinemod's user avatar
0 votes
0 answers
236 views

Boot Failure: "nvme nvme1: Duplicate cntlid 0 with nvme0, rejecting" after installing Ubuntu 22.04.1 LTS

I wanted to install Ubuntu linux (22.04.1 LTS, kernel: 5.15.0-52-generic) instead of Windows 11. Therefore, I followed Ubuntu official tutorial: https://ubuntu.com/tutorials/install-ubuntu-desktop#1-...
Mohanned Ahmed's user avatar
0 votes
1 answer
209 views

Issues runnig kernel 6.0.1

I have issues when booting the kernel 6.0.1, here the things : I can compile the kernel, but when making update-initramfs -u (for update or -c to create) -k 6.0.1, the initramfs-tools scripts : /usr/...
Arthod's user avatar
  • 1
0 votes
0 answers
219 views

System crash, boots into intitramfs, says root filesystem requires a manual fsck, run fsck and can't exit or reboot

I was running a debug symbols tool for kdenlive, to get a backtrace for a software crash. Replicated the crash but then the system froze. Decided to hard shutdown the machine and now I'm stuck in the ...
redreddington's user avatar
0 votes
0 answers
42 views

Upgraded from 20.04 to 22.04 on Dell T7920, panics to Initramfs prompt (Dual Boot System)

After upgrading a few old thinkpads to 22.04 I got too confident and upgraded my Dual Boot T7920 (20.04/win10). I have a basic RAID 0 setup with the partition split for both Operating Systems. I ...
dalkore's user avatar
0 votes
1 answer
292 views

Help with boot problems (/dev/nvme0n1p2 partition)

Whenever I try to boot into ubuntu now I get this error: /init: line 872: logsave: The Text file is busy The root filesystem on /dev/nvme0n1p2 requires a manual fsck and then it displays the initramfs ...
GeoGuy's user avatar
  • 1
1 vote
0 answers
644 views

Failed to mount early API filesystems

I have Ubuntu 20.04 installed on my system, but I'm unable to load it. I'm getting the following error while loading. Output of fsck /dev/sda2 -y and exit is attached.
Hithesh kumar's user avatar
0 votes
1 answer
469 views

Can't compile kernel on Ubuntu 22.04.1, dependecy replaces initramfs with tiny-initramfs

I'm trying to compile a kernel on a brand new Ubuntu 22.04.1. If I follow the guide in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel I get a scary warning after make install: tiny-initramfs: ...
hfingler's user avatar
  • 101
0 votes
0 answers
115 views

Kernel Panics Unable to mount rootfs, HELP

Hej, I need some serious help, I recently updated to 22.04. I'm not unable to start server with out getting this error. I upgraded from 18.04 to 20.04 with no issues so am surprised I now got this. ...
weavil's user avatar
  • 1
0 votes
1 answer
15 views

Unable to import zpool after accidental hibernation on FDE system (acer aspire 7)

I'm on a full disk encrypted (FDE) Ubuntu 22.04 Due to low battery, my notebook went into hibernation (which most likely isn't properly implemented with FDE). As I'm trying to boot, I get the error: ...
Thomas B's user avatar
0 votes
0 answers
684 views

Upgrading from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS caused kernel panic. “Fixing” the problem “works” – but this does not solve the problem for good!

Until a few days ago, I was running Ubuntu 20.04 LTS and accidentally pressed Ctrl + Alt + F6. This made my screen turn black and I stumbled upon this question. I do not know how I fixed the problem ...
Nemgathos's user avatar
  • 197
0 votes
1 answer
109 views

old windows server wont boot new ubuntu installation: Gave up waiting for root file system device

I got an old server running windows server 2003 with three 1tb disk drives. The drives have been replaced and the server was used until 2018. After receiving it I wanted to wipe it so I tried to put ...
BRANSON TURNER's user avatar
1 vote
1 answer
766 views

How can I rebuild etc crypttab?

tldr: My /etc/crypttab went missing and I do not know how to rebuild it. I tried to upgrade from 20.04 to 22.04 and something wrong. When booting I just landed in initramfs. Never heard of that. After ...
MDoe's user avatar
  • 65
1 vote
1 answer
402 views

Looking for wrong encrypted partition on boot

I had a complete failure during Ubuntu LTS do-release-upgrade and the kernel would panic on boot, even in rescue mode. So I loaded a LiveUSB, mounted my encrypted partition, chrooted to it and ...
dargaud's user avatar
  • 870

1
2 3 4 5
11