source: grub-pc/trunk/fuentes/docs/grub.cfg @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 5 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 1.7 KB
Line 
1#
2# Sample GRUB configuration file
3#
4
5# Boot automatically after 30 secs.
6set timeout=30
7
8# By default, boot the GNU/Linux
9set default=gnulinux
10
11# Fallback to GNU/Hurd.
12set fallback=gnuhurd
13
14# For booting GNU/Linux
15menuentry "GNU/Linux" --id gnulinux {
16        set root=(hd0,msdos1)
17        linux /vmlinuz root=/dev/sda1
18        initrd /initrd.img
19}
20
21# For booting GNU/Hurd
22menuentry "GNU (aka GNU/Hurd)" --id gnuhurd {
23        set root=(hd0,msdos1)
24        multiboot /boot/gnumach.gz root=device:hd0s1
25        module /hurd/ext2fs.static ext2fs --readonly \
26                        --multiboot-command-line='${kernel-command-line}' \
27                        --host-priv-port='${host-port}' \
28                        --device-master-port='${device-port}' \
29                        --exec-server-task='${exec-task}' -T typed '${root}' \
30                        '$(task-create)' '$(task-resume)'
31        module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
32}
33
34# For booting FreeBSD
35menuentry "FreeBSD (or GNU/kFreeBSD), direct boot" {
36        set root=(hd0,msdos1,bsd1)
37        kfreebsd /boot/kernel/kernel
38        kfreebsd_loadenv /boot/device.hints
39        kfreebsd_module /boot/splash.bmp type=splash_image_data
40        set kFreeBSD.vfs.root.mountfrom=ufs:ad0s1a
41}
42
43menuentry "FreeBSD (or GNU/kFreeBSD), via /boot/loader" {
44        set root=(hd0,msdos1,bsd1)
45        kfreebsd /boot/loader
46}
47
48# For booting NetBSD
49menuentry "NetBSD" {
50        set root=(hd0,netbsd1)
51        knetbsd /netbsd
52}
53
54# For booting OpenBSD
55menuentry "OpenBSD" {
56        set root=(hd0,openbsd1)
57        kopenbsd /bsd
58}
59
60# For booting Microsoft Windows
61menuentry "Microsoft Windows" {
62        set root=(hd0,msdos1)
63        chainloader +1
64}
65
66# For booting Memtest86+
67menuentry "Memtest86+" {
68        set root=(hd0,1)
69        linux16 /memtest86+.bin
70}
71
72# Change the colors.
73menuentry "Change the colors" {
74        set menu_color_normal=light-green/brown
75        set menu_color_highlight=red/blue
76}
Note: See TracBrowser for help on using the repository browser.