My-distro-configs-debian/bootloaders/grub-pc/grub.cfg

70 lines
2.7 KiB
INI

if loadfont $prefix/font.pf2 ; then
set gfxmode=1024x768
set gfxpayload=keep
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
terminal_output gfxterm
fi
if background_image /isolinux/splash.png; then
set color_normal=light-gray/black
set color_highlight=white/black
elif background_image /splash.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
insmod play
play 960 440 1 0 4 440 1
if [ ${iso_path} ] ; then
set loopback="findiso=${iso_path}"
export loopback
fi
menuentry "My-distro Live" {
linux /live/vmlinuz boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "My-distro Live (fail-safe mode)" {
linux /live/initrd.img boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal
initrd /live/initrd.img
}
submenu "My-distro Live with Localisation Support" {
menuentry "Portuguese (pt)" {
linux /live/vmlinuz boot=live components locales=pt_PT.UTF-8 quiet splash keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "Portuguese (Brazil) (pt_BR)" {
linux /live/vmlinuz boot=live components locales=pt_BR.UTF-8 quiet splash keyboard-layouts=br username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "English (en)" {
linux /live/vmlinuz boot=live components locales=en_US.UTF-8 quiet splash keyboard-layouts=en username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "French (fr)" {
linux /live/vmlinuz boot=live components locales=fr_FR.UTF-8 quiet splash keyboard-layouts=fr username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "German (de)" {
linux /live/vmlinuz boot=live components locales=de_DE.UTF-8 quiet splash keyboard-layouts=de username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "Italian (it)" {
linux /live/vmlinuz boot=live components locales=it_IT.UTF-8 quiet splash keyboard-layouts=it username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "Spanish (es)" {
linux /live/vmlinuz boot=live components locales=es_ES.UTF-8 quiet splash keyboard-layouts=es username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
initrd /live/initrd.img
}
}