Based upon the procedure at https://wiki.debian.org/RepackBootableISO I am trying to make some custom bootable ISOs that have multiple options for preseeding.
I've got menu entries like this in a .cfg file in the /boot/grub directory of the custom installation ISO:
menuentry 'Graphical automated install - testvm-gui.cfg' {
set background_color=black
linux /install.amd/vmlinuz auto=true priority=critical vga=788 file=/cdrom/unclet-preseed/testvm-gui.cfg --- quiet
initrd /install.amd/gtk/initrd.gz
}
However, when I boot this image on a UEFI amd64 machine, the menuentry titles are truncated, even though there is plenty of screen space available.
I don't have this problem on amd64 BIOS machines or on arm64 machines.
How do I fix this?
Custom Grub install menu entries truncated
-
- Global Moderator
- Posts: 4259
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 124 times
- Been thanked: 576 times
Re: Custom Grub install menu entries truncated
Hello,
The menu items are truncated due to fixed length according to the display resolution at boot time.
You can change the /etc/default/grub configuration file from:
to a different (higher) resolution allowed by your graphic card.
The other way around is to use the text console, as suggested in the previous post.
Hope this helps.
The menu items are truncated due to fixed length according to the display resolution at boot time.
You can change the /etc/default/grub configuration file from:
Code: Select all
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=640x480
The other way around is to use the text console, as suggested in the previous post.
Hope this helps.