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
16 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
17 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
50 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
27 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
45 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
33 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
15 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
45 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
9 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
37 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
66 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
26 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
42 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
45 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
29 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
78 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 ...
0
votes
0answers
68 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
56 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
132 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 ...
0
votes
1answer
46 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
22 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
71 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
40 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
43 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
89 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
67 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
21 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
55 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
83 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
41 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
581 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
318 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
346 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
88 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
59 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
43 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
72 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
263 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
367 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
46 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
17 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 ...
1
vote
1answer
177 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 light-weight/malware-free nature). I repaired a hinge in the laptop that ...
5
votes
1answer
165 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 ...
2
votes
0answers
184 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 ...
0
votes
0answers
73 views

Kernel panic and only one kernel found in grub

I updated/upgraded my Ubuntu software in a console and went to work as normal. After a few hours working my comp crashed, as it occasionally does, and I rebooted. The computer booted and I got an ...
1
vote
1answer
120 views

Ubuntu boot problem Stuck

I was having Ubuntu 16.04 and I was trying to dual my system to win7. While creating partition for win7 the partition got corrupted and resulted in a initramfs Problem. I cleared the issue by running ...
0
votes
0answers
12 views

Initramfs busy box problem [duplicate]

"The root filesystem on /Dev/sda2 requires a manual fsck.' This is problem I am facing fsck -fy /Dev/sda2 is not working What to do can any1 help.. it's urgent..
1
vote
1answer
2k views

Busybox initramfs again and again

I have ubuntu 16.04 installed.. whenever I boot the system and try to run ubuntu, busy box pops up. I do a manual check ---fsck -yf /dev/sda12--- and then reboot.. now the ubuntu boots properly but ...
0
votes
0answers
37 views

/dev/mapper/ubuntu--vg-root does not exist [duplicate]

Whenever I turn on my PC which is running ubuntu 16.04, an elert comes up, so i ran my computer in emergency mode instead and this is what comes up: Gave up waiting for root device. Common problems: -...