Ubuntu – USB installer: “ Initramfs unpacking failed: Decoding failed”

20.04bootdual-bootinitramfsusb

I am currently trying to install Ubuntu as a Dual boot to my Windows.

I have created a USB-installer using Rufus and the downlodable iso from Ubuntu's own website.

However, when I boot my computer with the USB, and select Ubuntu through the grub loader, I am stuck with the error: “Initramfs unpacking failed: Decoding failed”, while some of my screen is flickering.

I have afterwards tried to boot my laptop using the same bootable USB, and are not met with the error on the laptop.

Does anyone know how i should proceed? Or have anyone also encountered this?

Best Answer

It's kind of a bogus error, unless you can't fully boot into Ubuntu.

Either boot into Ubuntu, or into Recovery Mode from the GRUB menu...

  • GRUB menu
    • Additional Options
      • Recovery Mode
        • Root Access

...and type the following commands. This will rebuild the (possibly) broken ramdisk file.

sudo update-initramfs -c -k $(uname -r)

reboot

Related Question