* bzImage too big to boot???
@ 2006-09-24 11:29 James Cloos
2006-09-24 14:33 ` Denis Vlasenko
0 siblings, 1 reply; 2+ messages in thread
From: James Cloos @ 2006-09-24 11:29 UTC (permalink / raw)
To: linux-kernel
I don't know whether this is a build-time issue or a grub issue, but
I've found that on my (pent-3m) laptop I cannot boot any kernel that
is larger than about 2500 K. (2504K boots, 2552K fails.)
Past that threshold grub complains: ERR_BAD_FILETYPE.
A 2504 K bzImage translates to a 6128 K vmlinux, 2552 K to 6252 K.
Should bzImages that large be bootable on x86?
File(1) shows the same output for the larger files as for the smaller
ones, so if it is a bug in the vmlinux -> bzImage build process it is
corrupting the files only beyond the point that file(1) checks.
The laptop's optical drive failed¹, so I cannot test whether syslinux
can boot it. (Unless there is a way to have grub boot a vfat file-
system image with syslinux and the kernel?)
Any thoughts on where I should look? Or should I just bug-grub?
-JimC
¹ The old adage that software cannot kill hardware doesn't apply
when the hardware expects the software to moderate the thermally
inefficient laser and lacks safeguards for software which doesn't
know how to keep the laser from overheating and letting all of the
magic smoke out..... ;-/
--
James Cloos <cloos@jhcloos.com> OpenPGP: 0xED7DAEA6
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bzImage too big to boot???
2006-09-24 11:29 bzImage too big to boot??? James Cloos
@ 2006-09-24 14:33 ` Denis Vlasenko
0 siblings, 0 replies; 2+ messages in thread
From: Denis Vlasenko @ 2006-09-24 14:33 UTC (permalink / raw)
To: James Cloos; +Cc: linux-kernel
On Sunday 24 September 2006 13:29, James Cloos wrote:
> I don't know whether this is a build-time issue or a grub issue, but
> I've found that on my (pent-3m) laptop I cannot boot any kernel that
> is larger than about 2500 K. (2504K boots, 2552K fails.)
>
> Past that threshold grub complains: ERR_BAD_FILETYPE.
>
> A 2504 K bzImage translates to a 6128 K vmlinux, 2552 K to 6252 K.
>
> Should bzImages that large be bootable on x86?
Yes. I can boot 3MB bzImage with lilo and with linld,
although lilo seems to have some trouble with initrd
with kernel images that large.
--
vda
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-24 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-24 11:29 bzImage too big to boot??? James Cloos
2006-09-24 14:33 ` Denis Vlasenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox