1 reason in context of i386 is while boot-process ( in real mode ) cpu has 4+16 bit address space giving access to only 1MB. so some of the early boot loaders were not able to load kernels. thats why they came up with compressed kernel images. CMIIW
Thanks,
Mahaveer
--
---------------------------
Thanks & Regards,
Mahaveer Darade
mah.darade@xxxxxxxxx
Mobile - 9970365267
http://mahaveerdarade.wordpress.com/
--- Dream it , Code it.
Thanks,
Mahaveer
On Tue, Oct 7, 2008 at 8:20 PM, Sri Ram K Vemulpali <vsriramksh@xxxxxxxxx> wrote:
Hi all,The reason is, I tried without compressing. I made elf image and did not execute (make bzimage) and copied all the kernel and symbols to /boot dir and modified config file and tried to boot the kernel. I got two errors 1. insufficient memory 2. did not boot. What is the reason. thank you.SriOn Tue, Oct 7, 2008 at 3:24 AM, Henrik Austad <henrikau@xxxxxxxxxxxxxx> wrote:
Most likely because decompressing an image takes less time than it would takeOn Monday 06 October 2008 22:53:10 Sri Ram K Vemulpali wrote:
> hi all,
>
> I have a doubt? why is that kernel has to be compress the image file to
> copy to boot dir, to boot the kernel. I did not get why we do compressing
> image file after we compile the kernel code. Any answers would be helpful.
> Thank you.
to read the uncompressed image from disk. So, in other words, to save time.
Slap me silly if I'm wrong :)
> Sri
--
med vennlig hilsen - Yours Sincerely,
Henrik Austad
--
---------------------------
Thanks & Regards,
Mahaveer Darade
mah.darade@xxxxxxxxx
Mobile - 9970365267
http://mahaveerdarade.wordpress.com/
--- Dream it , Code it.