با cat چقدر راحت بود!
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 if [ -s $prefix/grubenv ]; then
10 set have_grubenv=true
11 load_env
12 fi
13 if [ "${next_entry}" ] ; then
14 set default="${next_entry}"
15 set next_entry=
16 save_env next_entry
17 set boot_once=true
18 else
19 set default="0"
20 fi
21
22 if [ x"${feature_menuentry_id}" = xy ]; then
23 menuentry_id_option="--id"
24 else
25 menuentry_id_option=""
26 fi
27
28 export menuentry_id_option
29
30 if [ "${prev_saved_entry}" ]; then
31 set saved_entry="${prev_saved_entry}"
32 save_env saved_entry
33 set prev_saved_entry=
34 save_env prev_saved_entry
35 set boot_once=true
36 fi
37
38 function savedefault {
39 if [ -z "${boot_once}" ]; then
40 saved_entry="${chosen}"
41 save_env saved_entry
42 fi
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 ext2
63 search --no-floppy --fs-uuid --set=root 83f4b0fa-6caf-44d8-b00e-5a9d2f42d730
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_output gfxterm
76 if [ "${recordfail}" = 1 ] ; then
77 set timeout=30
78 else
79 if [ x$feature_timeout_style = xy ] ; then
80 set timeout_style=menu
81 set timeout=0.1
82 # Fallback normal timeout code in case the timeout_style feature is
83 # unavailable.
84 else
85 set timeout=0.1
86 fi
87 fi
88 ### END /etc/grub.d/00_header ###
89
90 ### BEGIN /etc/grub.d/05_debian_theme ###
91 insmod part_gpt
92 insmod ext2
93 search --no-floppy --fs-uuid --set=root 83f4b0fa-6caf-44d8-b00e-5a9d2f42d730
94 insmod png
95 if background_image /usr/share/desktop-base/emerald-theme/grub/grub-4x3.png; then
96 set color_normal=white/black
97 set color_highlight=black/white
98 else
99 set menu_color_normal=cyan/blue
100 set menu_color_highlight=white/blue
101 fi
102 ### END /etc/grub.d/05_debian_theme ###
103
104 ### BEGIN /etc/grub.d/10_linux ###
105 function gfxmode {
106 set gfxpayload="${1}"
107 }
108 set linux_gfx_mode=
109 export linux_gfx_mode
110 menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-83f4b0fa-6caf-44d8-b00e-5a9d2f42d730' {
111 load_video
112 insmod gzio
113 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
114 insmod part_gpt
115 insmod ext2
116 search --no-floppy --fs-uuid --set=root 83f4b0fa-6caf-44d8-b00e-5a9d2f42d730
117 echo 'Loading Linux 6.1.0-10-amd64 ...'
118 linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=83f4b0fa-6caf-44d8-b00e-5a9d2f42d730 ro quiet splash resume=UUID=b1d66dbc-502e-443d-9539-eccfcdd35446
119 echo 'Loading initial ramdisk ...'
120 initrd /boot/initrd.img-6.1.0-10-amd64
121 }
122 submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-83f4b0fa-6caf-44d8-b00e-5a9d2f42d730' {
123 menuentry 'Debian GNU/Linux, with Linux 6.1.0-10-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-10-amd64-advanced-83f4b0fa-6caf-44d8-b00e-5a9d2f42d730' {
124 load_video
125 insmod gzio
126 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
127 insmod part_gpt
128 insmod ext2
129 search --no-floppy --fs-uuid --set=root 83f4b0fa-6caf-44d8-b00e-5a9d2f42d730
130 echo 'Loading Linux 6.1.0-10-amd64 ...'
131 linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=83f4b0fa-6caf-44d8-b00e-5a9d2f42d730 ro quiet splash resume=UUID=b1d66dbc-502e-443d-9539-eccfcdd35446
132 echo 'Loading initial ramdisk ...'
133 initrd /boot/initrd.img-6.1.0-10-amd64
134 }
135 menuentry 'Debian GNU/Linux, with Linux 6.1.0-10-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-10-amd64-recovery-83f4b0fa-6caf-44d8-b00e-5a9d2f42d730' {
136 load_video
137 insmod gzio
138 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
139 insmod part_gpt
140 insmod ext2
141 search --no-floppy --fs-uuid --set=root 83f4b0fa-6caf-44d8-b00e-5a9d2f42d730
142 echo 'Loading Linux 6.1.0-10-amd64 ...'
143 linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=83f4b0fa-6caf-44d8-b00e-5a9d2f42d730 ro single
144 echo 'Loading initial ramdisk ...'
145 initrd /boot/initrd.img-6.1.0-10-amd64
146 }
147 }
148
149 ### END /etc/grub.d/10_linux ###
150
151 ### BEGIN /etc/grub.d/20_linux_xen ###
152
153 ### END /etc/grub.d/20_linux_xen ###
154
155 ### BEGIN /etc/grub.d/30_os-prober ###
156 ### END /etc/grub.d/30_os-prober ###
157
158 ### BEGIN /etc/grub.d/30_uefi-firmware ###
159 menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
160 fwsetup
161 }
162 ### END /etc/grub.d/30_uefi-firmware ###
163
164 ### BEGIN /etc/grub.d/35_fwupd ###
165 ### END /etc/grub.d/35_fwupd ###
166
167 ### BEGIN /etc/grub.d/40_custom ###
168 # This file provides an easy way to add custom menu entries. Simply type the
169 # menu entries you want to add after this comment. Be careful not to change
170 # the 'exec tail' line above.
171 ### END /etc/grub.d/40_custom ###
172
173 ### BEGIN /etc/grub.d/41_custom ###
174 if [ -f ${config_directory}/custom.cfg ]; then
175 source ${config_directory}/custom.cfg
176 elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
177 source $prefix/custom.cfg
178 fi
179 ### END /etc/grub.d/41_custom ###