Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid compression format from recompiling kernel -solution
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
nazgum
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2003
Posts: 111
Location: Canada

PostPosted: Sat Apr 19, 2003 9:31 pm    Post subject: invalid compression format from recompiling kernel -solution Reply with quote

Just wanted to share the solution to the problem for me, since I could not find it on the gentoo forums and a few other people seem to have similar trouble.

I recompiled my kernel and rebooted and got hit with:

Quote:

Uncompressing Linux...

invalid compressed format (err=2)

-- System halted


I tried to recompile a few more times, searched for help here, tried to revert back to old kernel, etc and nothing worked.

After some thinking I realized might be a problem with my bootloader.

So After I recompiled I ran /sbin/lilo and rebooted and everything worked!

So maybe if someone else is having this problem rerunning lilo may help you.
Back to top
View user's profile Send private message
Stalione
Guru
Guru


Joined: 21 Apr 2002
Posts: 335

PostPosted: Sun Apr 20, 2003 8:11 am    Post subject: Reply with quote

When you first installed your system and configured lilo, did you run the lilo command? Everytime you make any change to lilo.conf you have to run the lilo command for the changes to take effect.

From Gentoo Install guide
Quote:

After you have edited your lilo.conf file, it is time to run LILO to load the information into the MBR:

Code listing 23.7: Running LILO

# /sbin/lilo


Do you think may be you just overlooked that one line and forgot to run lilo ;-)
Back to top
View user's profile Send private message
pi2co
n00b
n00b


Joined: 27 Jun 2003
Posts: 2

PostPosted: Fri Jun 27, 2003 2:16 pm    Post subject: Reply with quote

:lol: :lol:
Yes. This was the problem for me. After you make a recomplitation, you have to exute lilo. It seems it doesn´t matter if you don´t touch the lilo.conf, when you change the kernel in the boot partition you have to rexecute lilo.
Thank you very much. I had the same problem when I try to recompile the kernel.
Back to top
View user's profile Send private message
Krist
n00b
n00b


Joined: 24 Oct 2004
Posts: 8
Location: Belgium

PostPosted: Sun Oct 24, 2004 4:44 pm    Post subject: Reply with quote

:D :D
Thanks , this was also the solution for me ;
I configured LILO on a first attempt to compile my kernel.
I had to redo this (of coarse :-) , but ended with this "invalid compressed format (err=2)
message .
After running /sbin/lilo again , the boot was successfull .
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