View difference between Paste ID: kLzC9JyH and JvKyMHQK
SHOW: | | - or go back to the newest paste.
1
#
2
# DO NOT EDIT THIS FILE
3
#
4
# It is automatically generated by grub-mkconfig using templates
5
# from /etc/grub.d and settings from /etc/default/grub
6
#
7
8
### BEGIN /etc/grub.d/00_header ###
9
insmod part_gpt
10
insmod part_msdos
11
if [ -s $prefix/grubenv ]; then
12
  load_env
13
fi
14
set default="0"
15
16
if [ x"${feature_menuentry_id}" = xy ]; then
17
  menuentry_id_option="--id"
18
else
19
  menuentry_id_option=""
20
fi
21
22
export menuentry_id_option
23
24
if [ "${prev_saved_entry}" ]; then
25
  set saved_entry="${prev_saved_entry}"
26
  save_env saved_entry
27
  set prev_saved_entry=
28
  save_env prev_saved_entry
29
  set boot_once=true
30
fi
31
32
function savedefault {
33
  if [ -z "${boot_once}" ]; then
34
    saved_entry="${chosen}"
35
    save_env saved_entry
36
  fi
37
}
38
39
function load_video {
40
  if [ x$feature_all_video_module = xy ]; then
41
    insmod all_video
42
  else
43
    insmod efi_gop
44
    insmod efi_uga
45
    insmod ieee1275_fb
46
    insmod vbe
47
    insmod vga
48
    insmod video_bochs
49
    insmod video_cirrus
50
  fi
51
}
52
53
if [ x$feature_default_font_path = xy ] ; then
54
   font=unicode
55
else
56
insmod part_msdos
57
insmod ext2
58
set root='hd0,msdos3'
59
if [ x$feature_platform_search_hint = xy ]; then
60
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
61
else
62
  search --no-floppy --fs-uuid --set=root 6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
63
fi
64
    font="/usr/share/grub/unicode.pf2"
65
fi
66
67
if loadfont $font ; then
68
  set gfxmode=auto
69
  load_video
70
  insmod gfxterm
71
  set locale_dir=$prefix/locale
72
  set lang=en_US
73
  insmod gettext
74
fi
75
terminal_input console
76
terminal_output gfxterm
77
set timeout=5
78
### END /etc/grub.d/00_header ###
79
80
### BEGIN /etc/grub.d/10_linux ###
81
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e' {
82
	load_video
83
	set gfxpayload=keep
84
	insmod gzio
85
	insmod part_msdos
86
	insmod ext2
87
	set root='hd0,msdos3'
88
	if [ x$feature_platform_search_hint = xy ]; then
89
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
90
	else
91
	  search --no-floppy --fs-uuid --set=root 6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
92
	fi
93
	echo	'Loading Linux core repo kernel ...'
94
	linux	/boot/vmlinuz-linux root=UUID=6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e ro init=/usr/lib/systemd/systemd 
95
	echo	'Loading initial ramdisk ...'
96
	initrd	/boot/initramfs-linux.img
97
}
98
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e' {
99
	load_video
100
	set gfxpayload=keep
101
	insmod gzio
102
	insmod part_msdos
103
	insmod ext2
104
	set root='hd0,msdos3'
105
	if [ x$feature_platform_search_hint = xy ]; then
106
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
107
	else
108
	  search --no-floppy --fs-uuid --set=root 6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e
109
	fi
110
	echo	'Loading Linux core repo kernel ...'
111
	linux	/boot/vmlinuz-linux root=UUID=6d86f58c-a30e-4d7e-ab8a-f8f536e82e5e ro  
112
	echo	'Loading initial ramdisk ...'
113
	initrd	/boot/initramfs-linux-fallback.img
114
}
115
116
### END /etc/grub.d/10_linux ###
117
118
### BEGIN /etc/grub.d/20_linux_xen ###
119
### END /etc/grub.d/20_linux_xen ###
120
121
### BEGIN /etc/grub.d/20_memtest86+ ###
122
### END /etc/grub.d/20_memtest86+ ###
123
124
### BEGIN /etc/grub.d/30_os-prober ###
125
menuentry 'Windows 8 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-1408F96B08F94BEC' {
126
	insmod part_msdos
127
	insmod ntfs
128
	set root='hd0,msdos2'
129
	if [ x$feature_platform_search_hint = xy ]; then
130
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  1408F96B08F94BEC
131
	else
132
	  search --no-floppy --fs-uuid --set=root 1408F96B08F94BEC
133
	fi
134
	drivemap -s (hd0) ${root}
135
	chainloader +1
136
}
137
### END /etc/grub.d/30_os-prober ###
138
139
### BEGIN /etc/grub.d/40_custom ###
140
# This file provides an easy way to add custom menu entries.  Simply type the
141
# menu entries you want to add after this comment.  Be careful not to change
142
# the 'exec tail' line above.
143
### END /etc/grub.d/40_custom ###
144
145
### BEGIN /etc/grub.d/41_custom ###
146
if [ -f  ${config_directory}/custom.cfg ]; then
147
  source ${config_directory}/custom.cfg
148
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
149
  source $prefix/custom.cfg;
150
fi
151
### END /etc/grub.d/41_custom ###