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

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.

1
vote
0answers
19 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
2answers
173 views

Ubuntu 18.04: 4.19.1 kernel: after closing the lid for the night (not logging out), root filesystem is corrupted [on hold]

I'm running Ubuntu 18.04, with linux kernel 4.19.1. My laptop is single boot ubuntu. When I close the lid for the night, without logging off, on reopening the lid the next morning, and trying to ...
1
vote
1answer
69 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
60 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
96 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
183 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
172 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
28 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
0answers
154 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
40 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
101 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
40 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
136 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
37 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
61 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
62 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
14 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
47 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
116 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
31 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
43 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
0answers
18 views

Start computer and noting

swith my computer, it went in a purpure screem *Ubuntu Advanced optipns for Ubunto System setup Pressing *Ubuntu A text /dev/sda2 contain a file with error...... And said to do RUN A fsck manualy ( ...
0
votes
1answer
91 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
34 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
214 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
202 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
70 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
460 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 ...
1
vote
1answer
141 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 ...
0
votes
0answers
42 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
182 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
49 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
49 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
131 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
98 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
29 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
99 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 ...
1
vote
1answer
113 views

Ubuntu iso customization with a different kernel version, hangs on initramfs

I am trying to build a customized ubuntu iso based on ubuntu Bionic Beaver : 129292a182136a35e1f89c586dbac2e2 ubuntu-18.04-desktop-amd64.iso I followed this tutorial : https://help.ubuntu.com/...
0
votes
1answer
45 views

Lost My Root Filesystem

I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug ...
1
vote
2answers
833 views

Apt autoremove failed to fully uninstall old kernels, now they block apt-get

I was trying to remove some old linux-kernels by using sudo apt autoremove as suggest by apt-get upgrade. However the autoremoval was unsuccessful. Now, trying to remove an old kernel yields sudo apt ...
0
votes
1answer
522 views

“mdadm: Duplicate MD device names in conf file where found."

Problem: When I boot my Ubuntu 16.04 (Server) box. I'm dropped to a Busybox V1.22.1 (initramfs) prompt I receive a message “mdadm: Duplicate MD device names in conf file where found.” Good to know ...
0
votes
1answer
582 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
1answer
188 views

How do I force Ubuntu to boot into initramfs?

root@Pavlov:/# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS" I made the sad mistake of putting / on an LVM2 volume ...
0
votes
0answers
61 views

Problem with boot-up, possibly snap/core related

Recently started having boot-up issues with my tower machine (see .jpg files). Eventually, the machine will boot-up correctly - takes 5-7 minutes, after numerous messages. I believe the numbers in ...
0
votes
0answers
50 views

Ubuntu Installer Menu boots me onto a 'initramfs' console?

So I'm trying to boot Ubuntu onto my Acer Chromebook R11 as ChromeOS is just too bad. I've followed a few guides on how to install Linux off a USB (those guides are: https://www.youtube.com/watch?v=...
-2
votes
1answer
77 views

What am I supposed to so with this, nothing I've tried has worked. [duplicate]

Busybox v1. 22. 1 (Ubuntu 1:1. 22. 0-19ubuntu2) built-in shell (ash) enter 'help' for a list of built-in commands.
0
votes
0answers
291 views

New Ubuntu 16.04 initrd.img-4.13.0-43-generic can't uncompress

New Ubuntu 16.04 initrd.img-4.13.0-43-generic can't uncompress Just upgrade yesterday. The new initrd.img can't be uncompress anymore. $ cpio -id < ../initrd.img-4.13.0-43-generic 194 blocks @...
1
vote
0answers
440 views

Repacking initrd.img with SSH keys

So I'm trying to modify initrd.img which is used on Raspberry Pi 2(Ubuntu 18.04) but when I repack it again and start Raspberry Pi with new initrd.img I can't connect via SSH(dropbear is installed) to ...
0
votes
0answers
48 views

problem booting ubuntu initramfs no /dev/sda1

my computer Dell XPS shutdown brutally because it was out of battery, when I reboot it, it came with an (initframps) command line, then I spent a many time on many forums to try to solve it but it ...
0
votes
0answers
23 views

(initramfs) blkid doesn't show boot drive

I am trying to boot a usb created with mmiglier's guide on a mac pro. It crashes into and initramfs shell, and blkid doesnt list the USB /dev/sdb. After unplugging and replugging the USB, it is shown ...