[Solved] grub-mkrescue: error: Decompressor is too big.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ForgeLoxus
Posts: 4
Joined: Fri Aug 21, 2020 7:12 am
Libera.chat IRC: ForgeLoxus
Location: Slovakia

[Solved] grub-mkrescue: error: Decompressor is too big.

Post by ForgeLoxus »

Hello.
I've been following the bare bones tutorial on the wiki, but when i execute the grub-mkrescue command, this error happens:

Code: Select all

grub-mkrescue: error: Decompressor is too big.
I've seen this error on the forum (I haven't understood it), but i'm using Ubuntu on WSL, not Cygwin.
Last edited by ForgeLoxus on Tue Aug 25, 2020 3:01 am, edited 1 time in total.
Octocontrabass
Member
Member
Posts: 5572
Joined: Mon Mar 25, 2013 7:01 pm

Re: grub-mkrescue: error: Decompressor is too big.

Post by Octocontrabass »

Sounds like it could be this bug. Try updating your installed packages.

If you don't want to wait for all of your packages to update, try updating just GRUB.

Code: Select all

# apt update
# apt install grub-pc-bin
ForgeLoxus
Posts: 4
Joined: Fri Aug 21, 2020 7:12 am
Libera.chat IRC: ForgeLoxus
Location: Slovakia

Re: grub-mkrescue: error: Decompressor is too big.

Post by ForgeLoxus »

I updated all packages, but the same error happens.
Octocontrabass
Member
Member
Posts: 5572
Joined: Mon Mar 25, 2013 7:01 pm

Re: grub-mkrescue: error: Decompressor is too big.

Post by Octocontrabass »

Which version of Ubuntu on WSL are you using?
ForgeLoxus
Posts: 4
Joined: Fri Aug 21, 2020 7:12 am
Libera.chat IRC: ForgeLoxus
Location: Slovakia

Re: grub-mkrescue: error: Decompressor is too big.

Post by ForgeLoxus »

20.04.1 LTS. I'm still using wsl 1 because i haven't updated to 2004 yet.
Octocontrabass
Member
Member
Posts: 5572
Joined: Mon Mar 25, 2013 7:01 pm

Re: grub-mkrescue: error: Decompressor is too big.

Post by Octocontrabass »

I installed that version of Ubuntu in WSL (not WSL2) but I can't reproduce the issue. :|
ForgeLoxus
Posts: 4
Joined: Fri Aug 21, 2020 7:12 am
Libera.chat IRC: ForgeLoxus
Location: Slovakia

Re: grub-mkrescue: error: Decompressor is too big.

Post by ForgeLoxus »

I've found the solution:
I uninstalled the grub I installed from source, then I did

Code: Select all

apt install grub-common
apt install grub-pc-bin
Then, grub-mkrescue worked.
Post Reply