Page 1 of 1
[Solved] grub-mkrescue: error: Decompressor is too big.
Posted: Fri Aug 21, 2020 7:28 am
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.
Re: grub-mkrescue: error: Decompressor is too big.
Posted: Fri Aug 21, 2020 6:07 pm
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
Re: grub-mkrescue: error: Decompressor is too big.
Posted: Sat Aug 22, 2020 9:59 am
by ForgeLoxus
I updated all packages, but the same error happens.
Re: grub-mkrescue: error: Decompressor is too big.
Posted: Sat Aug 22, 2020 3:30 pm
by Octocontrabass
Which version of Ubuntu on WSL are you using?
Re: grub-mkrescue: error: Decompressor is too big.
Posted: Sun Aug 23, 2020 2:48 am
by ForgeLoxus
20.04.1 LTS. I'm still using wsl 1 because i haven't updated to 2004 yet.
Re: grub-mkrescue: error: Decompressor is too big.
Posted: Sun Aug 23, 2020 11:46 am
by Octocontrabass
I installed that version of Ubuntu in WSL (not WSL2) but I can't reproduce the issue.

Re: grub-mkrescue: error: Decompressor is too big.
Posted: Mon Aug 24, 2020 3:35 am
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.