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



_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to