LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-07-2004, 12:01 AM   #1
yoha
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Need help on how to uncompess Linux's kernel for good


Hi!, i recently upgraded the kernel from kernel -2.6.5-1.349 to kernel -2.6.5-1.351. I am using FC2Test3. Now during reboot, when i selected the latter version in the grub menu, i noticed that it needs to be uncompressed. The message precisely "Uncompressing Linux......" I realized because of this decompression, the time it takes to the desktop becomes longer than usual. The former version which does not need to be uncompressed, of course, boots up much faster. I noticed from the forum that a lot of people experienced problem even booting to linux when that message appeared. Mine, on the other hand, went smoothly after the message.
My question is how can i "uncompress" the kernel for good so the machine does not need to do that everytime it reboots?

sincerely,
yoha
 
Old 05-07-2004, 05:34 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...do you make the choice when you build the kernel? I mean, after compiling a kernel from source and checking it via file command I recall once seeing a text like "compressed kernel image" or something..

I don't know for sure, but my guess would be that this is done when the kernel is built. compressed kernel images are, if I guess right, good if you need to have it in a small disk space like in a floppy or something..altough I could be wrong (so correct if you know better, folks heh)

you might want to go to kernel.org and see if there's something for you regarding this. they at least should know
 
Old 05-07-2004, 05:53 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
When compiling a kernel from source, it is compressed during the "make (bz)Image" command. For 2.6 kernels, I believe this is integrated into the "make" command (which appears to consist of make dep, make (bz)Image, make modules, and make modules_install), but under 2.4, where you're likely still doing the full sequence of commands it is usually done after make dep but before make modules and make modules_install.

Afaik, b0uncer is correct about the floppy thing, although most current kernels, even compressed, are too big to fit on a standard floppy anymore.

Might this be a Fedora-specific issue, though? At least, I'm using 2.6.5-r1 under Gentoo, as far as I know my kernel is compressed (didn't know I had a choice about it) and I'm not experiencing any issues with GRUB that made me think I had a problem of any sort. I haven't noticed any particular slowdown in booting, and certainly am not failing to boot. Next time I reboot (just for you, I have no need to reboot atm), I'll look at the boot messages to confirm, but afaik our systems are similarly configured in terms of kernel version, kernel compression and bootloader, and the only difference is the distro. If so, then maybe the distro itself is the problem.
 
Old 05-07-2004, 10:45 AM   #4
yoha
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the responses. Actually i did not compile, make,.........etc. the kernel manually by myself. FC did it automatically on my behalf. Plus, i have tons of space in my hdd(only 10% being used). I dont know why the kernel is by default in compression mode.

sincerely,
yoha
 
Old 05-07-2004, 01:03 PM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Well, everybody doesn't have tons of space, and so why not compress the kernel, since (under normal circumstances) it works fine that way? Or should we add to the general overhead with a disk check for free space during a kernel install (when actual disk space probably can't be read reliably anyway, due to temp file usage) and if it's under/above a certain amount, skip compression?

That'll be the day .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobility Between linux's ZyRo70 Fedora 10 02-19-2005 02:10 AM
What is Linux's Paint equivalent? Dark_Helmet Linux - Software 2 05-12-2004 10:15 PM
Need help on how to uncompess Linux's kernel for good yoha Linux - Newbie 1 05-07-2004 02:19 AM
How can I view the Linux's kernel version (in terminal)? woodland Linux - Newbie 4 04-26-2004 12:12 AM
Is Linux's graphics better than.... chutsu Slackware 23 11-13-2003 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration