Update MirOS bsd4grml to 20090812
[grml-live.git] / templates / boot / grub / grub.cfg
1 ## grub2 configuration
2 set default=0
3 set timeout=5
4
5 if font (hd0,1)/boot/grub/ascii.pff ; then
6    insmod png
7    set gfxmode=640x480
8    insmod gfxterm
9    insmod vbe
10    terminal gfxterm
11 fi
12
13 if background_image (hd0,1)/boot/grub/grml.png ; then
14   set color_normal=black/black
15   set color_highlight=red/black
16 else
17   set menu_color_normal=white/black
18   set menu_color_highlight=black/yellow
19 fi
20
21 menuentry "%GRML_NAME% - release %VERSION% (default)" {
22     linux   /boot/%GRML_NAME%/linux26 apm=power-off vga=791 quiet boot=live nomce 
23     initrd  /boot/%GRML_NAME%/initrd.gz
24 }
25
26 menuentry "Memory test (memtest86+)" {
27     linux   /boot/addons/memtest
28 }
29
30 menuentry "Grub - all in one image" {
31     linux   /boot/addons/memdisk
32     initrd  /boot/addons/allinone.img
33 }
34
35 menuentry "FreeDOS" {
36     linux   /boot/addons/memdisk
37     initrd  /boot/addons/balder10.imz
38 }
39
40 menuentry "MirOS bsd4grml (regular method)" {
41     multiboot   /boot/addons/bsd4grml/ldbsd.com
42 }
43
44 menuentry "MirOS bsd4grml (fallback method)" {
45     multiboot   /boot/addons/bsd4grml/ldbsd.com
46     module      /boot/addons/bsd4grml/bsd.rd
47     module      /boot/addons/bsd4grml/boot.1
48     module      /boot/addons/bsd4grml/boot.2
49     module      /boot/addons/bsd4grml/boot.3
50     module      /boot/addons/bsd4grml/boot.4
51     module      /boot/addons/bsd4grml/boot.5
52     module      /boot/addons/bsd4grml/boot.6
53     module      /boot/addons/bsd4grml/boot.cfg
54 }
55
56 menuentry "Boot OS of first partition on first disk" {
57     chainloader +1
58 }
59
60 menuentry "%GRML_NAME% - enable persistent mode" {
61     linux  /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet persistent 
62     initrd /boot/%GRML_NAME%/initrd.gz
63 }
64
65 menuentry "%GRML_NAME% - copy grml to RAM" {
66     linux  /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet toram=%GRML_NAME%.squashfs 
67     initrd /boot/%GRML_NAME%/initrd.gz
68 }
69
70 menuentry "%GRML_NAME% - copy whole medium to RAM" {
71     linux  /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet toram
72     initrd /boot/%GRML_NAME%/initrd.gz
73 }
74
75 menuentry "%GRML_NAME% - start X by default" {
76     linux  /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet startx=wm-ng 
77     initrd /boot/%GRML_NAME%/initrd.gz
78 }
79
80 menuentry "%GRML_NAME% - disable framebuffer" {
81     linux  /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce quiet vga=normal video=ofonly 
82     initrd /boot/%GRML_NAME%/initrd.gz
83 }
84
85 menuentry "%GRML_NAME% - forensic mode" {
86     linux /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 readonly quiet nofstab noraid nolvm noautoconfig noswap raid=noautodetect 
87     initrd /boot/%GRML_NAME%/initrd.gz
88 }
89
90 menuentry "%GRML_NAME% - failsafe mode" {
91     linux /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce quiet vga=normal boot=live noautoconfig atapicd noapic noacpi acpi=off nomodules nofirewire noudev nousb nohotplug noapm nopcmcia nosmp maxcpus=0 noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noraid nolvm noresume selinux=0 edd=off 
92     initrd /boot/%GRML_NAME%/initrd.gz
93 }
94
95 menuentry "%GRML_NAME% - debug mode" {
96     linux /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce vga=791 debug boot=live initcall_debug
97     initrd /boot/%GRML_NAME%/initrd.gz
98 }
99
100 menuentry "%GRML_NAME% - serial mode" {
101     linux /boot/%GRML_NAME%/linux26 apm=power-off boot=live nomce quiet vga=normal video=vesafb:off console=tty1 console=ttyS0,9600n8 
102     initrd /boot/%GRML_NAME%/initrd.gz
103 }
104
105 # EOF