[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to reduce the kernel.img size?
From: |
Randy Goldenberg |
Subject: |
Re: How to reduce the kernel.img size? |
Date: |
Thu, 14 Sep 2023 14:37:48 -0700 |
Are older versions of grub not small enough?
On Thu, Sep 14, 2023 at 1:09 PM BogDan Vatra <bogdan@kde.org> wrote:
> 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
>