summaryrefslogtreecommitdiff
blob: 864e12ab6f4eed62812e6c24da3a655a71274e2d (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
##
## $Header$
## Wolfram Schlich <wschlich@gentoo.org>
## Licensed under the GNU GPL v2 or later
##

# >
# > generic settings
# >

password --md5 %pw_grub_md5%
lock
timeout 10

# >> serial console (disable grub splashimage and kernel framebuffer!)
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 console serial

# >> splash image (disable when using serial console!)
# splashimage = (hd0,0)/boot/grub/splash.xpm.gz

# >> load last booted kernel by default
default saved
fallback 0

# >
# > kernels
# >

# >> Fallback entry
title = Gentoo Linux [Fallback] (local,serial) {rc:default}
	root (hd0,0)
	kernel (hd0,0)/bzImage-%kv% root=%dev_root% grub-entry=0 panic=60 panic_on_oops=1 console=ttyS0,115200n8 console=tty0 softlevel=default
	savedefault

# >> Kernel #1
title = Gentoo Linux [%kv%] (local,serial) {rc:default}
	root (hd0,0)
	kernel (hd0,0)/bzImage-%kv% root=%dev_root% grub-entry=1 panic=60 panic_on_oops=1 console=ttyS0,115200n8 console=tty0 softlevel=default
	savedefault fallback

# >> Kernel #2
title = Gentoo Linux [%kv%] (serial,local) {rc:default}
	root (hd0,0)
	kernel (hd0,0)/bzImage-%kv% root=%dev_root% grub-entry=2 panic=60 panic_on_oops=1 console=tty0 console=ttyS0,115200n8 softlevel=default
	savedefault fallback