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.

267 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
Mostafa Ahangarha's user avatar
6 votes
1 answer
3k views

Is zfs-dkms required for ZFS support in generic kernels?

I adapted a ZoL guide for putting Ubuntu Server 14.04 on ZFS root for 18.04 Bionic Beaver and desktop installations: http://vlog.averyfreeman.com/doku.php/ubuntu.18.04.desktop.on.zfs I'm trying to ...
Avery Freeman's user avatar
5 votes
0 answers
10k views

initramfs unpacking failed: write error

I'm attempting to put Ubuntu on an old HP Pavilion zt1130, which has a Celeron i686 processor. I used an Ubuntu MATE 16.04 disk that was lying around. However, I got the error: initramfs unpacking ...
Micah Lindley's user avatar
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 /...
juppy8's user avatar
  • 51
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 ...
Kevin Li's user avatar
  • 309
5 votes
2 answers
524 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'...
kostr22's user avatar
  • 151
4 votes
1 answer
2k views

Hyper-V Ubuntu initramfs on reboot

On the virtual machine when I update grub (sudo update-grub) and restart I get the BusyBox initramfs shell on boot. I have a checkpoint on the machine so I can easily go back to just before I ran the ...
DanMc's user avatar
  • 41
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 ...
abba2566's user avatar
4 votes
1 answer
1k views

Gave Up Waiting For Root Device - Fresh Install 14.04

I am getting the error: Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system ...
ChasingLogic's user avatar
4 votes
0 answers
6k views

What is the correct way to use key file LUKS authorization?

Before filing new bug reports i decided to try to get support on my situation here. Sorry for my english (it may sound frustrating) in advance, feel free to ask about additional details and thanks!! ...
n0PxN0p's user avatar
  • 51
3 votes
0 answers
382 views

update-initramfs causes segmentation fault

I was trying to install lsscsi on my Raspberry Pi 4, running Ubuntu 20.04. I don't have a detailed log of what happened, but it got to the end where it says "processing triggers", then it ...
Russel Dirks's user avatar
3 votes
1 answer
1k views

Errors in initramfs-tools

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. ...
Andre Ashmeade's user avatar
3 votes
0 answers
936 views

zswap can never find required modules on boot

I've had no trouble with Ubuntu 16.04 or 18.04, but I have recently span up a 20.04 VM and I cannot get it to set the correct Zswap parameters at boot. It would appear that it cannot find the required ...
Ken Sharp's user avatar
  • 982
3 votes
0 answers
126 views

Dell Latitude 5491 hangs on restart at initramfs after latest update to 19.10

I have a Dell Latitude 5491 running 19.10 which hangs at the initramfs subsequent to the capsule firmware update which was released on 26 Feb 2020. If I boot from USB I can access the drive (...
TwoCows's user avatar
  • 31
3 votes
0 answers
1k views

Repairing corrupt superblock in crypto_LUKS filesystem

I am having some troubles booting into my laptop (Toshiba P75-A7200). Powering on my laptop promptly brings me to the GNU GRUB screen. Selecting the Ubuntu option (or anything from the Advanced ...
H. Smith's user avatar
3 votes
0 answers
647 views

How to deploy ramdisk image on to disk less nodes using MAAS?

I am using MAAS version 1.7.6 with ubuntu 14.04. Currently MAAS can deploy ubuntu/centos images on to the nodes by installing into local disk. I want to deploy my disk less nodes with ramdisk image. ...
Kishore Devireddy's user avatar
3 votes
0 answers
646 views

How to remove a write-back EnhanceIO cache on root partition?

I accidentially created a write-back EnhanceIO cache for my root partition. I didn't know that Creating a writeback cache on root device is not supported. This is because the root device is mounted ...
Kalle Richter's user avatar
3 votes
0 answers
7k views

ubuntu 14.04 not booting, update-initramfs "nothing to do, exiting"

I did a mess while installing ubuntu 14.04 on my XPS 15 (9530 haswell) and I need help to rebuild boot partition. My computer has one miniSATA SSD 32 GB and a 1TB HDD. I crypted both with LUKS with ...
luis's user avatar
  • 91
2 votes
0 answers
41 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
2 votes
0 answers
532 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
196 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
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 ...
orionphy's user avatar
  • 121
2 votes
0 answers
511 views

Kernel package processing and update-initramfs issues after upgrade from 19.04 to 20.04

I just upgraded my Ubuntu from 19.04 to 19.10 a few days ago and ever since then I have faced an issue with booting. When I boot up, GRUB boots into the new kernel image (of 19.10) and I see the ...
Yatn Bangad's user avatar
2 votes
0 answers
2k 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 ...
Pushkar's user avatar
  • 121
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....
tenjohn's user avatar
  • 361
2 votes
0 answers
303 views

Edit Aufs Tmpfs partition size

I followed this instruction https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash to create a aufs RAMDISK for my xubuntu. It creates a 512MB Filesystem. SO, HOW CAN I CHANGE THAT SIZE FOR ...
Ted Mosby's user avatar
2 votes
0 answers
1k views

Error with update-initramfs

I am having trouble when running update-initramfs in an Ubuntu 14.04 server. It all started trying to recover a non booting system. From a chroot console (from an Ubuntu 14.04.3 desktop CD), when I ...
Alejandro Gonzalez's user avatar
2 votes
0 answers
903 views

Install Ubuntu with full disk encryption - /dev/mapper/vg-root does not exist

I want to install Ubuntu with full disk encryption without swap. Therefore I've followed: Install Ubuntu 15.04 with full disk encryption, but without swap partition It didn't work, thus I've also ...
piotrwest's user avatar
  • 121
2 votes
0 answers
2k views

change host name initramfs ALERT! /dev/mapper/guacamole--vg-root does not exist

I have two servers - guacamole and chorizo to be set up with Openstack cloud. I installed ubuntu server on one, then used the linux "dd" to image the disk to build the other, and renamed the server ...
MagicLAMP's user avatar
  • 121
2 votes
0 answers
844 views

Ubuntu 14.04 Desktop drops into initramfs after PXE boot with no errors

I've been experimenting with PXE booting so that if any of the systems on my home network crash I can rescue boot them into an OS off my Home Server. As a test i'm trying to PXE Ubuntu 14.04 Desktop ...
Ractrin's user avatar
  • 21
2 votes
0 answers
5k views

Ubuntu 15.04 update-initramfs fails after packages installation

I have a big script I use in fresh installs since 14.10, but when using it on Ubuntu 15.04 I get an initramfs error. The script looks like this: echo "Starting configuration" && echo "Please,...
Víctor Matía Rodríguez's user avatar
2 votes
0 answers
1k views

Encrypted disk kernel warning - initramfs image won't boot

After an upgrade to 14.10 on my netbook, I can only manage to boot with the old kernel remaining from the previous 14.04 installation. For the most recent kernels, I get this warning when they are ...
David Planella's user avatar
2 votes
1 answer
3k views

LVM VG is not activated during system boot

Since upgrade from Ubuntu 14.04 to 14.10, one of my VGs doesn't come online when the system boots up, and unfortunately, this VG has my root FS, thus I'm dropped to the initrd BusyBox prompt. ...
MegaBrutal's user avatar
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)...
soham's user avatar
  • 390
2 votes
0 answers
900 views

BusyBox: dropping to build-in shell: initramfs problem with encrypted hard drive

I tried to do an upgrade from 13.10 to 14.04 on my laptop. When I came back a bit later, the machine had crashed. I restarted it and it had got in a pickle halfway through the upgrade process. I did ...
Epimetheus's user avatar
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 ...
Stephane Filion's user avatar
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 ...
Manticore's user avatar
  • 181
2 votes
1 answer
846 views

Ubuntu 12.04 won't boot

I upgraded to 12.04 a while ago and the internet dropped out halfway through so something went wrong, I would have upgraded/downgraded it but I can't boot off a CD/USB and terminal and my update ...
Izzye's user avatar
  • 21
2 votes
0 answers
3k views

10.04 drops to '(initramfs)' prompt on boot

I'm not sure what to do to solve the problem, I received this error upon boot. mount: mounting /dev/disk/by-uuid/f60e3ce2-0237-45bb-bf07-581d0090cbc7 on /root failed: Invalid argument mount: mounting ...
David Yenor's user avatar
1 vote
0 answers
78 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
1 vote
0 answers
137 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
1 vote
0 answers
147 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
1 vote
0 answers
221 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
1 vote
0 answers
157 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
1 vote
0 answers
508 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
1 vote
0 answers
167 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
1 vote
0 answers
341 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
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
1 vote
0 answers
111 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
1 vote
0 answers
1k 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
2 3 4 5 6