Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel failed to compress initramfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Wed Mar 05, 2014 11:06 pm    Post subject: genkernel failed to compress initramfs Reply with quote

I'm trying to install inside a virtual machine, no error encountered until now.

For the complete log see here /var/log/genkernel.log

Code:
-----------------CUT-------------------
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Appending splash cpio data...
*                >> No splash detected; skipping!
*         >> Appending modprobed cpio data...
*         >> Compressing cpio data (.xz)...
* Gentoo Linux Genkernel; Version 3.4.45.1
* Running with options: all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* ERROR: Compression (/usr/bin/xz -e --check=none -z -f -9) failed
-----------------CUT-------------------
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7323
Location: Saint Amant, Acadiana

PostPosted: Thu Mar 06, 2014 2:35 am    Post subject: Reply with quote

Are app-arch/xz-utils installed?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Thu Mar 06, 2014 9:54 am    Post subject: Reply with quote

yes, they are installed, I tried to re-emerge them and run genkernel but I got the same error
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Fri Mar 07, 2014 8:55 am    Post subject: Reply with quote

Not properly solved, but worked around by editing the config of genkernel

I added to /etc/genkernel.conf:
Code:
COMPRESS_INITRD="no"
Back to top
View user's profile Send private message
kohina
n00b
n00b


Joined: 21 Dec 2016
Posts: 9
Location: Finland

PostPosted: Wed Dec 28, 2016 12:49 am    Post subject: Reply with quote

leonixyz wrote:
Not properly solved, but worked around by editing the config of genkernel

I added to /etc/genkernel.conf:
Code:
COMPRESS_INITRD="no"


I had the problem that my xz(the compression program) froze up on my 512mb pentium box. I first tried your method but got an error, I fixed it by switching the compression from "best" to "fastest". It can be selected right below the compression or no compression options.

Cheers.
_________________
I was once surrounded by beautiful gentoo boxen but they've all withered away due to portagetic arrest (death resulting from portage failure). The atom, the core2duo, the athlon... may these brave souls find peace in the afterlife.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum