Magellan Linux

Annotation of /tags/grubby-8_39/test/grub2.2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1840 - (hide annotations) (download)
Mon Jul 2 12:48:49 2012 UTC (11 years, 10 months ago) by niro
Original Path: trunk/grubby/test/grub2.2
File size: 2750 byte(s)
Preserve "trailing indentation" when splitting line elements (#742720)
1 niro 1698 #
2     # DO NOT EDIT THIS FILE
3     #
4     # It is automatically generated by grub2-mkconfig using templates
5     # from /etc/grub.d and settings from /etc/default/grub
6     #
7    
8     ### BEGIN /etc/grub.d/00_header ###
9     if [ -s $prefix/grubenv ]; then
10     load_env
11     fi
12     set default="0"
13     if [ "${prev_saved_entry}" ]; then
14     set saved_entry="${prev_saved_entry}"
15     save_env saved_entry
16     set prev_saved_entry=
17     save_env prev_saved_entry
18     set boot_once=true
19     fi
20    
21     function savedefault {
22     if [ -z "${boot_once}" ]; then
23     saved_entry="${chosen}"
24     save_env saved_entry
25     fi
26     }
27    
28     function load_video {
29     insmod vbe
30     insmod vga
31     insmod video_bochs
32     insmod video_cirrus
33     }
34    
35     set timeout=5
36     ### END /etc/grub.d/00_header ###
37    
38 niro 1840 set superusers="foo bar baz"
39    
40 niro 1698 ### BEGIN /etc/grub.d/10_linux ###
41     menuentry 'title' --class gnu-linux --class gnu --class os {
42     load_video
43     set gfxpayload=keep
44     insmod part_msdos
45     insmod ext2
46     set root='(hd0,msdos1)'
47     search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
48     echo 'Loading title'
49     linux /new-kernel.img root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
50     echo 'Loading initial ramdisk ...'
51     }
52     menuentry 'Linux, with Linux 2.6.38.8-32.fc15.x86_64' --class gnu-linux --class gnu --class os {
53     load_video
54     set gfxpayload=keep
55     insmod part_msdos
56     insmod ext2
57     set root='(hd0,msdos1)'
58     search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
59     echo 'Loading Linux 2.6.38.8-32.fc15.x86_64 ...'
60     linux /vmlinuz-2.6.38.8-32.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
61     echo 'Loading initial ramdisk ...'
62     initrd /initramfs-2.6.38.8-32.fc15.x86_64.img
63     }
64     menuentry 'Linux, with Linux 2.6.38.2-9.fc15.x86_64' --class gnu-linux --class gnu --class os {
65     load_video
66     set gfxpayload=keep
67     insmod part_msdos
68     insmod ext2
69     set root='(hd0,msdos1)'
70     search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
71     echo 'Loading Linux 2.6.38.2-9.fc15.x86_64 ...'
72     linux /vmlinuz-2.6.38.2-9.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
73     echo 'Loading initial ramdisk ...'
74     initrd /initramfs-2.6.38.2-9.fc15.x86_64.img
75     }
76     ### END /etc/grub.d/10_linux ###
77    
78     ### BEGIN /etc/grub.d/20_linux_xen ###
79     ### END /etc/grub.d/20_linux_xen ###
80    
81     ### BEGIN /etc/grub.d/30_os-prober ###
82     ### END /etc/grub.d/30_os-prober ###
83    
84     ### BEGIN /etc/grub.d/40_custom ###
85     # This file provides an easy way to add custom menu entries. Simply type the
86     # menu entries you want to add after this comment. Be careful not to change
87     # the 'exec tail' line above.
88     ### END /etc/grub.d/40_custom ###
89    
90     ### BEGIN /etc/grub.d/41_custom ###
91     if [ -f $prefix/custom.cfg ]; then
92     source $prefix/custom.cfg;
93     fi
94     ### END /etc/grub.d/41_custom ###
95    
96     ### BEGIN /etc/grub.d/90_persistent ###
97     ### END /etc/grub.d/90_persistent ###