Fixed a mislabeled grub entry
[valix:valix-002.git] / build / image_root / boot / grub / grub.cfg
1 set gfxmode=640x480
2 loadfont /boot/grub/8x13.pf2
3 insmod font
4 insmod gfxterm
5 insmod vbe
6 insmod tga
7 terminal_output gfxterm
8 background_image /boot/grub/valix_boot.tga
9
10 set timeout=10
11 set default=0
12 Action=Exit
13
14 menuentry "Load Valix" {
15         multiboot /boot/kernel.elf
16         boot
17 }
18 menuentry "Switch GRUB Mode(gfx, console)" {
19         if [ $Action == "Exit" ]
20         then
21             terminal_output console
22             Action=Enter
23         else
24             if [ $Action == "Enter" ]
25             then
26                 terminal_output gfxterm
27                 background_image /boot/grub/valix_boot.tga
28                 Action=Exit
29             fi
30         fi
31 }
32 menuentry "Reboot" {
33         reboot
34 }