[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to resize and repositioned the GRUB menu triangle ?
From: |
adrian15 |
Subject: |
Re: how to resize and repositioned the GRUB menu triangle ? |
Date: |
Thu, 01 Nov 2007 17:07:04 +0100 |
User-agent: |
IceDove 1.5.0.10 (X11/20070329) |
J.Bakshi escribió:
I am talking about the menu displayed by menu.lst How can I resize
and repositioned that menu ?
Ah, it's not a triangle but a rectangle.
You should edit source code for doing this. If you are prepared to
edit source code I might give you some clues on how to do that.
please suggest how to do it ?
thanks
Check stage2/stage2.c file.
Check the:
static void
run_menu (char *menu_entries, char *config_entries, int num_entries,
char *heap, int entryno)
function and its line:
print_entries (3, 12, first_entry,
entryno, menu_entries);
I think that changing 12 to 5 will force even if you have 20 boot
entries only 5 are displayed.
If you change the 3 for some other value you can move up/down the menu I
think also.
Hacking the print_entries function will also help.
adrian15