help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to reduce the kernel.img size?


From: BogDan Vatra
Subject: How to reduce the kernel.img size?
Date: Thu, 14 Sep 2023 20:48:06 +0300

Hello there,

I'm trying to port grub to an ancient computer, an altos 386 series 1000
[0] (nope is not using 80386 anymore, I upgraded it to 486 (using an 80486
DLC + an 387 DX/DLC).
I managed to port the basics using the excellent porting guide from here
[1], but the results were a bit disappointing.
The problem is that altos memory is very limited (12MB total). Grub needs
to fit in 64KB, but right has over 67KB.
Are there any tricks to make it smaller ? I'd like to have it under 48KB if
possible.

Thanks!

Cheers,
BogDan.

[0]
http://www.bitsavers.org/pdf/altos/386/Altos-386_Series_1000_Brochure_Nov88.pdf
[1] https://www.gnu.org/software/grub/manual/grub-dev/grub-dev.html#Porting


reply via email to

[Prev in Thread] Current Thread [Next in Thread]