Add 'noquick' to the serial bootoption
[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/%SHORT_NAME%/linux26 apm=power-off vga=791 quiet boot=live nomce 
23     initrd  /boot/%SHORT_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     module      /boot/grub/%GRUB_LEGACY%
55     module      /boot/grub/core.img
56 }
57
58 menuentry "Boot OS of first partition on first disk" {
59     chainloader +1
60 }
61
62 menuentry "%GRML_NAME% - enable persistent mode" {
63     linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet persistent 
64     initrd /boot/%SHORT_NAME%/initrd.gz
65 }
66
67 menuentry "%GRML_NAME% - copy grml to RAM" {
68     linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet toram=%GRML_NAME%.squashfs 
69     initrd /boot/%SHORT_NAME%/initrd.gz
70 }
71
72 menuentry "%GRML_NAME% - copy whole medium to RAM" {
73     linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet toram
74     initrd /boot/%SHORT_NAME%/initrd.gz
75 }
76
77 menuentry "%GRML_NAME% - start X by default" {
78     linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 quiet startx=wm-ng 
79     initrd /boot/%SHORT_NAME%/initrd.gz
80 }
81
82 menuentry "%GRML_NAME% - disable framebuffer" {
83     linux  /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce quiet vga=normal video=ofonly 
84     initrd /boot/%SHORT_NAME%/initrd.gz
85 }
86
87 menuentry "%GRML_NAME% - forensic mode" {
88     linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 readonly quiet nofstab noraid nolvm noautoconfig noswap raid=noautodetect 
89     initrd /boot/%SHORT_NAME%/initrd.gz
90 }
91
92 menuentry "%GRML_NAME% - failsafe mode" {
93     linux /boot/%SHORT_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 
94     initrd /boot/%SHORT_NAME%/initrd.gz
95 }
96
97 menuentry "%GRML_NAME% - debug mode" {
98     linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce vga=791 debug boot=live initcall_debug
99     initrd /boot/%SHORT_NAME%/initrd.gz
100 }
101
102 menuentry "%GRML_NAME% - serial mode" {
103     linux /boot/%SHORT_NAME%/linux26 apm=power-off boot=live nomce quiet vga=normal video=vesafb:off noquick console=tty1 console=ttyS0,9600n8 
104     initrd /boot/%SHORT_NAME%/initrd.gz
105 }
106
107 # EOF