Contents of /trunk/grubby/test/results/setdefaultindex/g2.1.9
Parent Directory | Revision Log
Revision 1860 -
(show annotations)
(download)
Mon Jul 2 13:17:12 2012 UTC (11 years, 9 months ago) by niro
File size: 2343 byte(s)
Mon Jul 2 13:17:12 2012 UTC (11 years, 9 months ago) by niro
File size: 2343 byte(s)
Add tests for --set-default-index feature
1 | # |
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 [ "${prev_saved_entry}" ]; then |
13 | set saved_entry="${prev_saved_entry}" |
14 | save_env saved_entry |
15 | set prev_saved_entry= |
16 | save_env prev_saved_entry |
17 | set boot_once=true |
18 | fi |
19 | |
20 | function savedefault { |
21 | if [ -z "${boot_once}" ]; then |
22 | saved_entry="${chosen}" |
23 | save_env saved_entry |
24 | fi |
25 | } |
26 | |
27 | function load_video { |
28 | insmod vbe |
29 | insmod vga |
30 | insmod video_bochs |
31 | insmod video_cirrus |
32 | } |
33 | |
34 | set timeout=5 |
35 | ### END /etc/grub.d/00_header ### |
36 | |
37 | ### BEGIN /etc/grub.d/10_linux ### |
38 | menuentry 'Linux, with Fedora 2.6.38.8-32.fc15.x86_64' --class gnu-linux --class gnu --class os { |
39 | load_video |
40 | set gfxpayload=keep |
41 | insmod part_msdos |
42 | insmod ext2 |
43 | set root='(hd0,msdos1)' |
44 | search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed |
45 | echo 'Loading Fedora 2.6.38.8-32.fc15.x86_64 ...' |
46 | linux /vmlinuz-2.6.38.8-32.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb |
47 | echo 'Loading initial ramdisk ...' |
48 | initrd /initramfs-2.6.38.8-32.fc15.x86_64.img |
49 | } |
50 | menuentry 'Linux, with Linux 2.6.38.2-9.fc15.x86_64' --class gnu-linux --class gnu --class os { |
51 | load_video |
52 | set gfxpayload=keep |
53 | insmod part_msdos |
54 | insmod ext2 |
55 | set root='(hd0,msdos1)' |
56 | search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed |
57 | echo 'Loading Linux 2.6.38.2-9.fc15.x86_64 ...' |
58 | linux /vmlinuz-2.6.38.2-9.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb |
59 | echo 'Loading initial ramdisk ...' |
60 | initrd /initramfs-2.6.38.2-9.fc15.x86_64.img |
61 | } |
62 | ### END /etc/grub.d/10_linux ### |
63 | |
64 | ### BEGIN /etc/grub.d/20_linux_xen ### |
65 | ### END /etc/grub.d/20_linux_xen ### |
66 | |
67 | ### BEGIN /etc/grub.d/30_os-prober ### |
68 | ### END /etc/grub.d/30_os-prober ### |
69 | |
70 | ### BEGIN /etc/grub.d/40_custom ### |
71 | # This file provides an easy way to add custom menu entries. Simply type the |
72 | # menu entries you want to add after this comment. Be careful not to change |
73 | # the 'exec tail' line above. |
74 | ### END /etc/grub.d/40_custom ### |
75 | |
76 | ### BEGIN /etc/grub.d/41_custom ### |
77 | if [ -f $prefix/custom.cfg ]; then |
78 | source $prefix/custom.cfg; |
79 | fi |
80 | ### END /etc/grub.d/41_custom ### |
81 | |
82 | ### BEGIN /etc/grub.d/90_persistent ### |
83 | ### END /etc/grub.d/90_persistent ### |