Annotation of /tags/grubby-8_34/test/grub2.7
Parent Directory | Revision Log
Revision 2713 -
(hide annotations)
(download)
Wed Jul 16 10:59:23 2014 UTC (10 years, 2 months ago) by niro
File size: 3411 byte(s)
Wed Jul 16 10:59:23 2014 UTC (10 years, 2 months ago) by niro
File size: 3411 byte(s)
tagged 'grubby-8_34'
1 | niro | 2252 | # |
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 | if [ "${next_entry}" ] ; then | ||
13 | set default="${next_entry}" | ||
14 | set next_entry= | ||
15 | save_env next_entry | ||
16 | set boot_once=true | ||
17 | else | ||
18 | set default="${saved_entry}" | ||
19 | fi | ||
20 | |||
21 | if [ x"${feature_menuentry_id}" = xy ]; then | ||
22 | menuentry_id_option="--id" | ||
23 | else | ||
24 | menuentry_id_option="" | ||
25 | fi | ||
26 | |||
27 | export menuentry_id_option | ||
28 | |||
29 | if [ "${prev_saved_entry}" ]; then | ||
30 | set saved_entry="${prev_saved_entry}" | ||
31 | save_env saved_entry | ||
32 | set prev_saved_entry= | ||
33 | save_env prev_saved_entry | ||
34 | set boot_once=true | ||
35 | fi | ||
36 | |||
37 | function savedefault { | ||
38 | if [ -z "${boot_once}" ]; then | ||
39 | saved_entry="${chosen}" | ||
40 | save_env saved_entry | ||
41 | fi | ||
42 | } | ||
43 | |||
44 | function load_video { | ||
45 | if [ x$feature_all_video_module = xy ]; then | ||
46 | insmod all_video | ||
47 | else | ||
48 | insmod efi_gop | ||
49 | insmod efi_uga | ||
50 | insmod ieee1275_fb | ||
51 | insmod vbe | ||
52 | insmod vga | ||
53 | insmod video_bochs | ||
54 | insmod video_cirrus | ||
55 | fi | ||
56 | } | ||
57 | |||
58 | if [ x$feature_default_font_path = xy ] ; then | ||
59 | font=unicode | ||
60 | else | ||
61 | insmod part_gpt | ||
62 | insmod btrfs | ||
63 | set root='hd0,gpt4' | ||
64 | if [ x$feature_platform_search_hint = xy ]; then | ||
65 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 5a2ca487-30f7-4fa5-96bd-abe38b68ceb3 | ||
66 | else | ||
67 | search --no-floppy --fs-uuid --set=root 5a2ca487-30f7-4fa5-96bd-abe38b68ceb3 | ||
68 | fi | ||
69 | font="/root/usr/share/grub/unicode.pf2" | ||
70 | fi | ||
71 | |||
72 | if loadfont $font ; then | ||
73 | set gfxmode=auto | ||
74 | load_video | ||
75 | insmod gfxterm | ||
76 | set locale_dir=$prefix/locale | ||
77 | set lang=en_US | ||
78 | insmod gettext | ||
79 | fi | ||
80 | terminal_output gfxterm | ||
81 | set timeout=5 | ||
82 | ### END /etc/grub.d/00_header ### | ||
83 | |||
84 | ### BEGIN /etc/grub.d/10_linux ### | ||
85 | menuentry 'Linux, with Fedora 2.6.38.8-32.fc15.x86_64' --class gnu-linux --class gnu --class os { | ||
86 | load_video | ||
87 | set gfxpayload=keep | ||
88 | insmod part_msdos | ||
89 | insmod ext2 | ||
90 | set root='(hd0,msdos1)' | ||
91 | search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed | ||
92 | echo 'Loading Fedora 2.6.38.8-32.fc15.x86_64 ...' | ||
93 | linux /vmlinuz-2.6.38.8-32.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb | ||
94 | echo 'Loading initial ramdisk ...' | ||
95 | initrd /initramfs-2.6.38.8-32.fc15.x86_64.img | ||
96 | } | ||
97 | menuentry 'Linux, with Linux 2.6.38.2-9.fc15.x86_64' --class gnu-linux --class gnu --class os { | ||
98 | load_video | ||
99 | set gfxpayload=keep | ||
100 | insmod part_msdos | ||
101 | insmod ext2 | ||
102 | set root='(hd0,msdos1)' | ||
103 | search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed | ||
104 | echo 'Loading Linux 2.6.38.2-9.fc15.x86_64 ...' | ||
105 | linux /vmlinuz-2.6.38.2-9.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb | ||
106 | echo 'Loading initial ramdisk ...' | ||
107 | initrd /initramfs-2.6.38.2-9.fc15.x86_64.img | ||
108 | } | ||
109 | ### END /etc/grub.d/10_linux ### | ||
110 | |||
111 | ### BEGIN /etc/grub.d/20_linux_xen ### | ||
112 | ### END /etc/grub.d/20_linux_xen ### | ||
113 | |||
114 | ### BEGIN /etc/grub.d/30_os-prober ### | ||
115 | ### END /etc/grub.d/30_os-prober ### | ||
116 | |||
117 | ### BEGIN /etc/grub.d/40_custom ### | ||
118 | # This file provides an easy way to add custom menu entries. Simply type the | ||
119 | # menu entries you want to add after this comment. Be careful not to change | ||
120 | # the 'exec tail' line above. | ||
121 | ### END /etc/grub.d/40_custom ### | ||
122 | |||
123 | ### BEGIN /etc/grub.d/41_custom ### | ||
124 | if [ -f $prefix/custom.cfg ]; then | ||
125 | source $prefix/custom.cfg; | ||
126 | fi | ||
127 | ### END /etc/grub.d/41_custom ### | ||
128 | |||
129 | ### BEGIN /etc/grub.d/90_persistent ### | ||
130 | ### END /etc/grub.d/90_persistent ### |