summaryrefslogtreecommitdiffstats
path: root/images/grub2.config
blob: 0e1c57e90499f4745f0e8bfb1cd58337d5ba9edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

if test ${grub_cpu} == arm64 ; then set larch=aarch64 ;
elif test ${grub_cpu} == arm ; then set larch=armv7hl ;
elif test ${grub_cpu} == i386 ; then set larch=i386   ;
elif test ${grub_cpu} == x86_64 ; then set larch=x86_64 ;
else set larch=x86_64 ;
fi

insmod efi_gop
if [ ${grub_cpu} == i386 -o ${grub_cpu} == x86_64 ] ; then
   insmod efi_uga
   insmod video_bochs
   insmod video_cirrus
fi
insmod video_fb


insmod font
if loadfont ($root)/EFI/BOOT/fonts/unicode.pf2
then
   insmod gfxterm
   set gfxmode=1024x768,800x600,640x480
   set gfxpayload=keep
   terminal_output gfxterm
fi

insmod png
set theme=($root)/EFI/BOOT/themes/maggy/theme.txt
export theme

set timeout=10

search --no-floppy --set=root -l 'Mageia-9-netinstall'

menuentry 'Start Mageia 10 (Cauldron) Install' {
        linux /isolinux/${larch}/vmlinuz audit=0 quiet noiswmd
        initrd /isolinux/${larch}/all.rdz
}

menuentry 'Start Mageia 10 (Cauldron) Rescue' {
        linux /isolinux/${larch}/vmlinuz audit=0 noiswmd rescue
        initrd /isolinux/${larch}/all.rdz
}

menuentry 'Memory Test' {
        linux32 /isolinux/memtest
}