1. sudo cat /boot/grub/grub.cfg
  2. [sudo] password for toji:
  3. #
  4. # DO NOT EDIT THIS FILE
  5. #
  6. # It is automatically generated by grub-mkconfig using templates
  7. # from /etc/grub.d and settings from /etc/default/grub
  8. #
  9. ### BEGIN /etc/grub.d/00_header ###
  10. if [ -s $prefix/grubenv ]; then
  11. set have_grubenv=true
  12. load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15. set default="${next_entry}"
  16. set next_entry=
  17. save_env next_entry
  18. set boot_once=true
  19. else
  20. set default="Ubuntu GNU/Linux, with Xen hypervisor"
  21. fi
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27. export menuentry_id_option
  28. if [ "${prev_saved_entry}" ]; then
  29. set saved_entry="${prev_saved_entry}"
  30. save_env saved_entry
  31. set prev_saved_entry=
  32. save_env prev_saved_entry
  33. set boot_once=true
  34. fi
  35. function savedefault {
  36. if [ -z "${boot_once}" ]; then
  37. saved_entry="${chosen}"
  38. save_env saved_entry
  39. fi
  40. }
  41. function recordfail {
  42. set recordfail=1
  43. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  44. }
  45. function load_video {
  46. if [ x$feature_all_video_module = xy ]; then
  47. insmod all_video
  48. else
  49. insmod efi_gop
  50. insmod efi_uga
  51. insmod ieee1275_fb
  52. insmod vbe
  53. insmod vga
  54. insmod video_bochs
  55. insmod video_cirrus
  56. fi
  57. }
  58. if [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_msdos
  62. insmod ext2
  63. set root='hd1,msdos1'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  66. else
  67. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  68. fi
  69. font="/usr/share/grub/unicode.pf2"
  70. fi
  71. if loadfont $font ; then
  72. set gfxmode=auto
  73. load_video
  74. insmod gfxterm
  75. set locale_dir=$prefix/locale
  76. set lang=en_IN
  77. insmod gettext
  78. fi
  79. terminal_output gfxterm
  80. if [ "${recordfail}" = 1 ] ; then
  81. set timeout=30
  82. else
  83. if [ x$feature_timeout_style = xy ] ; then
  84. set timeout_style=menu
  85. set timeout=10
  86. # Fallback normal timeout code in case the timeout_style feature is
  87. # unavailable.
  88. else
  89. set timeout=10
  90. fi
  91. fi
  92. ### END /etc/grub.d/00_header ###
  93. ### BEGIN /etc/grub.d/05_debian_theme ###
  94. set menu_color_normal=white/black
  95. set menu_color_highlight=black/light-gray
  96. if background_color 44,0,30,0; then
  97. clear
  98. fi
  99. ### END /etc/grub.d/05_debian_theme ###
  100. ### BEGIN /etc/grub.d/10_linux ###
  101. function gfxmode {
  102. set gfxpayload="${1}"
  103. if [ "${1}" = "keep" ]; then
  104. set vt_handoff=vt.handoff=7
  105. else
  106. set vt_handoff=
  107. fi
  108. }
  109. if [ "${recordfail}" != 1 ]; then
  110. if [ -e ${prefix}/gfxblacklist.txt ]; then
  111. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  112. if [ ${match} = 0 ]; then
  113. set linux_gfx_mode=keep
  114. else
  115. set linux_gfx_mode=text
  116. fi
  117. else
  118. set linux_gfx_mode=text
  119. fi
  120. else
  121. set linux_gfx_mode=keep
  122. fi
  123. else
  124. set linux_gfx_mode=text
  125. fi
  126. export linux_gfx_mode
  127. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cbd871e6-2a79-403a-9143-bca20374bf08' {
  128. recordfail
  129. load_video
  130. gfxmode $linux_gfx_mode
  131. insmod gzio
  132. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd1,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  138. else
  139. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  140. fi
  141. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro
  142. initrd /boot/initrd.img-4.2.0-22-generic
  143. }
  144. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  145. menuentry 'Ubuntu, with Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  146. recordfail
  147. load_video
  148. gfxmode $linux_gfx_mode
  149. insmod gzio
  150. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  151. insmod part_msdos
  152. insmod ext2
  153. set root='hd1,msdos1'
  154. if [ x$feature_platform_search_hint = xy ]; then
  155. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  156. else
  157. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  158. fi
  159. echo 'Loading Linux 4.2.0-22-generic ...'
  160. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro
  161. echo 'Loading initial ramdisk ...'
  162. initrd /boot/initrd.img-4.2.0-22-generic
  163. }
  164. menuentry 'Ubuntu, with Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  165. recordfail
  166. load_video
  167. gfxmode $linux_gfx_mode
  168. insmod gzio
  169. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  170. insmod part_msdos
  171. insmod ext2
  172. set root='hd1,msdos1'
  173. if [ x$feature_platform_search_hint = xy ]; then
  174. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  175. else
  176. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  177. fi
  178. echo 'Loading Linux 4.2.0-22-generic ...'
  179. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro init=/sbin/upstart
  180. echo 'Loading initial ramdisk ...'
  181. initrd /boot/initrd.img-4.2.0-22-generic
  182. }
  183. menuentry 'Ubuntu, with Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  184. recordfail
  185. load_video
  186. insmod gzio
  187. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  188. insmod part_msdos
  189. insmod ext2
  190. set root='hd1,msdos1'
  191. if [ x$feature_platform_search_hint = xy ]; then
  192. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  193. else
  194. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  195. fi
  196. echo 'Loading Linux 4.2.0-22-generic ...'
  197. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro recovery nomodeset
  198. echo 'Loading initial ramdisk ...'
  199. initrd /boot/initrd.img-4.2.0-22-generic
  200. }
  201. }
  202. ### END /etc/grub.d/10_linux ###
  203. ### BEGIN /etc/grub.d/20_linux_xen ###
  204. menuentry 'Ubuntu GNU/Linux, with Xen hypervisor' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-cbd871e6-2a79-403a-9143-bca20374bf08' {
  205. insmod part_msdos
  206. insmod ext2
  207. set root='hd1,msdos1'
  208. if [ x$feature_platform_search_hint = xy ]; then
  209. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  210. else
  211. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  212. fi
  213. echo 'Loading Xen xen ...'
  214. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  215. xen_rm_opts=
  216. else
  217. xen_rm_opts="no-real-mode edd=off"
  218. fi
  219. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  220. echo 'Loading Linux 4.2.0-22-generic ...'
  221. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  222. echo 'Loading initial ramdisk ...'
  223. module --nounzip /boot/initrd.img-4.2.0-22-generic
  224. }
  225. submenu 'Advanced options for Ubuntu GNU/Linux (with Xen hypervisor)' $menuentry_id_option 'gnulinux-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  226. submenu 'Xen hypervisor, version xen' $menuentry_id_option 'xen-hypervisor-xen-cbd871e6-2a79-403a-9143-bca20374bf08' {
  227. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  228. insmod part_msdos
  229. insmod ext2
  230. set root='hd1,msdos1'
  231. if [ x$feature_platform_search_hint = xy ]; then
  232. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  233. else
  234. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  235. fi
  236. echo 'Loading Xen xen ...'
  237. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  238. xen_rm_opts=
  239. else
  240. xen_rm_opts="no-real-mode edd=off"
  241. fi
  242. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  243. echo 'Loading Linux 4.2.0-22-generic ...'
  244. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  245. echo 'Loading initial ramdisk ...'
  246. module --nounzip /boot/initrd.img-4.2.0-22-generic
  247. }
  248. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  249. insmod part_msdos
  250. insmod ext2
  251. set root='hd1,msdos1'
  252. if [ x$feature_platform_search_hint = xy ]; then
  253. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  254. else
  255. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  256. fi
  257. echo 'Loading Xen xen ...'
  258. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  259. xen_rm_opts=
  260. else
  261. xen_rm_opts="no-real-mode edd=off"
  262. fi
  263. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  264. echo 'Loading Linux 4.2.0-22-generic ...'
  265. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  266. echo 'Loading initial ramdisk ...'
  267. module --nounzip /boot/initrd.img-4.2.0-22-generic
  268. }
  269. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  270. insmod part_msdos
  271. insmod ext2
  272. set root='hd1,msdos1'
  273. if [ x$feature_platform_search_hint = xy ]; then
  274. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  275. else
  276. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  277. fi
  278. echo 'Loading Xen xen ...'
  279. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  280. xen_rm_opts=
  281. else
  282. xen_rm_opts="no-real-mode edd=off"
  283. fi
  284. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  285. echo 'Loading Linux 4.2.0-22-generic ...'
  286. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  287. echo 'Loading initial ramdisk ...'
  288. module --nounzip /boot/initrd.img-4.2.0-22-generic
  289. }
  290. }
  291. submenu 'Xen hypervisor, version 4' $menuentry_id_option 'xen-hypervisor-4-cbd871e6-2a79-403a-9143-bca20374bf08' {
  292. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  293. insmod part_msdos
  294. insmod ext2
  295. set root='hd1,msdos1'
  296. if [ x$feature_platform_search_hint = xy ]; then
  297. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  298. else
  299. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  300. fi
  301. echo 'Loading Xen 4 ...'
  302. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  303. xen_rm_opts=
  304. else
  305. xen_rm_opts="no-real-mode edd=off"
  306. fi
  307. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  308. echo 'Loading Linux 4.2.0-22-generic ...'
  309. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  310. echo 'Loading initial ramdisk ...'
  311. module --nounzip /boot/initrd.img-4.2.0-22-generic
  312. }
  313. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  314. insmod part_msdos
  315. insmod ext2
  316. set root='hd1,msdos1'
  317. if [ x$feature_platform_search_hint = xy ]; then
  318. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  319. else
  320. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  321. fi
  322. echo 'Loading Xen 4 ...'
  323. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  324. xen_rm_opts=
  325. else
  326. xen_rm_opts="no-real-mode edd=off"
  327. fi
  328. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  329. echo 'Loading Linux 4.2.0-22-generic ...'
  330. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  331. echo 'Loading initial ramdisk ...'
  332. module --nounzip /boot/initrd.img-4.2.0-22-generic
  333. }
  334. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  335. insmod part_msdos
  336. insmod ext2
  337. set root='hd1,msdos1'
  338. if [ x$feature_platform_search_hint = xy ]; then
  339. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  340. else
  341. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  342. fi
  343. echo 'Loading Xen 4 ...'
  344. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  345. xen_rm_opts=
  346. else
  347. xen_rm_opts="no-real-mode edd=off"
  348. fi
  349. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  350. echo 'Loading Linux 4.2.0-22-generic ...'
  351. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  352. echo 'Loading initial ramdisk ...'
  353. module --nounzip /boot/initrd.img-4.2.0-22-generic
  354. }
  355. }
  356. submenu 'Xen hypervisor, version 4.7' $menuentry_id_option 'xen-hypervisor-4.7-cbd871e6-2a79-403a-9143-bca20374bf08' {
  357. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  358. insmod part_msdos
  359. insmod ext2
  360. set root='hd1,msdos1'
  361. if [ x$feature_platform_search_hint = xy ]; then
  362. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  363. else
  364. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  365. fi
  366. echo 'Loading Xen 4.7 ...'
  367. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  368. xen_rm_opts=
  369. else
  370. xen_rm_opts="no-real-mode edd=off"
  371. fi
  372. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  373. echo 'Loading Linux 4.2.0-22-generic ...'
  374. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  375. echo 'Loading initial ramdisk ...'
  376. module --nounzip /boot/initrd.img-4.2.0-22-generic
  377. }
  378. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  379. insmod part_msdos
  380. insmod ext2
  381. set root='hd1,msdos1'
  382. if [ x$feature_platform_search_hint = xy ]; then
  383. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  384. else
  385. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  386. fi
  387. echo 'Loading Xen 4.7 ...'
  388. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  389. xen_rm_opts=
  390. else
  391. xen_rm_opts="no-real-mode edd=off"
  392. fi
  393. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  394. echo 'Loading Linux 4.2.0-22-generic ...'
  395. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  396. echo 'Loading initial ramdisk ...'
  397. module --nounzip /boot/initrd.img-4.2.0-22-generic
  398. }
  399. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  400. insmod part_msdos
  401. insmod ext2
  402. set root='hd1,msdos1'
  403. if [ x$feature_platform_search_hint = xy ]; then
  404. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  405. else
  406. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  407. fi
  408. echo 'Loading Xen 4.7 ...'
  409. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  410. xen_rm_opts=
  411. else
  412. xen_rm_opts="no-real-mode edd=off"
  413. fi
  414. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  415. echo 'Loading Linux 4.2.0-22-generic ...'
  416. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  417. echo 'Loading initial ramdisk ...'
  418. module --nounzip /boot/initrd.img-4.2.0-22-generic
  419. }
  420. }
  421. submenu 'Xen hypervisor, version 4.7-unstable' $menuentry_id_option 'xen-hypervisor-4.7-unstable-cbd871e6-2a79-403a-9143-bca20374bf08' {
  422. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  423. insmod part_msdos
  424. insmod ext2
  425. set root='hd1,msdos1'
  426. if [ x$feature_platform_search_hint = xy ]; then
  427. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  428. else
  429. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  430. fi
  431. echo 'Loading Xen 4.7-unstable ...'
  432. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  433. xen_rm_opts=
  434. else
  435. xen_rm_opts="no-real-mode edd=off"
  436. fi
  437. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  438. echo 'Loading Linux 4.2.0-22-generic ...'
  439. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  440. echo 'Loading initial ramdisk ...'
  441. module --nounzip /boot/initrd.img-4.2.0-22-generic
  442. }
  443. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  444. insmod part_msdos
  445. insmod ext2
  446. set root='hd1,msdos1'
  447. if [ x$feature_platform_search_hint = xy ]; then
  448. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  449. else
  450. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  451. fi
  452. echo 'Loading Xen 4.7-unstable ...'
  453. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  454. xen_rm_opts=
  455. else
  456. xen_rm_opts="no-real-mode edd=off"
  457. fi
  458. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  459. echo 'Loading Linux 4.2.0-22-generic ...'
  460. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  461. echo 'Loading initial ramdisk ...'
  462. module --nounzip /boot/initrd.img-4.2.0-22-generic
  463. }
  464. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  465. insmod part_msdos
  466. insmod ext2
  467. set root='hd1,msdos1'
  468. if [ x$feature_platform_search_hint = xy ]; then
  469. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  470. else
  471. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  472. fi
  473. echo 'Loading Xen 4.7-unstable ...'
  474. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  475. xen_rm_opts=
  476. else
  477. xen_rm_opts="no-real-mode edd=off"
  478. fi
  479. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  480. echo 'Loading Linux 4.2.0-22-generic ...'
  481. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  482. echo 'Loading initial ramdisk ...'
  483. module --nounzip /boot/initrd.img-4.2.0-22-generic
  484. }
  485. }
  486. }
  487. ### END /etc/grub.d/20_linux_xen ###
  488. ### BEGIN /etc/grub.d/20_memtest86+ ###
  489. menuentry 'Memory test (memtest86+)' {
  490. insmod part_msdos
  491. insmod ext2
  492. set root='hd1,msdos1'
  493. if [ x$feature_platform_search_hint = xy ]; then
  494. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  495. else
  496. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  497. fi
  498. knetbsd /boot/memtest86+.elf
  499. }
  500. menuentry 'Memory test (memtest86+, serial console 115200)' {
  501. insmod part_msdos
  502. insmod ext2
  503. set root='hd1,msdos1'
  504. if [ x$feature_platform_search_hint = xy ]; then
  505. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  506. else
  507. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  508. fi
  509. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  510. }
  511. ### END /etc/grub.d/20_memtest86+ ###
  512. ### BEGIN /etc/grub.d/30_os-prober ###
  513. menuentry 'Ubuntu 15.10 (15.10) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  514. insmod part_msdos
  515. insmod lvm
  516. insmod ext2
  517. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  518. if [ x$feature_platform_search_hint = xy ]; then
  519. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  520. else
  521. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  522. fi
  523. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  524. initrd /boot/initrd.img-4.2.0-22-generic
  525. }
  526. submenu 'Advanced options for Ubuntu 15.10 (15.10) (on /dev/mapper/vg0-pv--guest--disk)' $menuentry_id_option 'osprober-gnulinux-advanced-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  527. menuentry 'Ubuntu 15.10, kernel 4.2.0-22-generic (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  528. insmod part_msdos
  529. insmod lvm
  530. insmod ext2
  531. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  532. if [ x$feature_platform_search_hint = xy ]; then
  533. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  534. else
  535. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  536. fi
  537. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  538. initrd /boot/initrd.img-4.2.0-22-generic
  539. }
  540. menuentry 'Ubuntu 15.10, kernel 4.2.0-22-generic (single-user mode) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic-root=/dev/xvda2 ro elevator=noop single-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  541. insmod part_msdos
  542. insmod lvm
  543. insmod ext2
  544. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  545. if [ x$feature_platform_search_hint = xy ]; then
  546. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  547. else
  548. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  549. fi
  550. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop single
  551. initrd /boot/initrd.img-4.2.0-22-generic
  552. }
  553. menuentry 'Ubuntu 15.10 (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  554. insmod part_msdos
  555. insmod lvm
  556. insmod ext2
  557. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  558. if [ x$feature_platform_search_hint = xy ]; then
  559. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  560. else
  561. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  562. fi
  563. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  564. initrd /boot/initrd.img-4.2.0-22-generic
  565. }
  566. menuentry 'Ubuntu 15.10 (Single-User) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic-root=/dev/xvda2 ro single elevator=noop-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  567. insmod part_msdos
  568. insmod lvm
  569. insmod ext2
  570. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  571. if [ x$feature_platform_search_hint = xy ]; then
  572. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  573. else
  574. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  575. fi
  576. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro single elevator=noop
  577. initrd /boot/initrd.img-4.2.0-22-generic
  578. }
  579. menuentry 'Ubuntu 15.10 (Default Kernel) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  580. insmod part_msdos
  581. insmod lvm
  582. insmod ext2
  583. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  584. if [ x$feature_platform_search_hint = xy ]; then
  585. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  586. else
  587. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  588. fi
  589. linux /vmlinuz root=/dev/xvda2 ro elevator=noop
  590. initrd /initrd.img
  591. }
  592. menuentry 'Ubuntu 15.10 (Default Kernel, Single-User) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-root=/dev/xvda2 ro single elevator=noop-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  593. insmod part_msdos
  594. insmod lvm
  595. insmod ext2
  596. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  597. if [ x$feature_platform_search_hint = xy ]; then
  598. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  599. else
  600. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  601. fi
  602. linux /vmlinuz root=/dev/xvda2 ro single elevator=noop
  603. initrd /initrd.img
  604. }
  605. }
  606. set timeout_style=menu
  607. if [ "${timeout}" = 0 ]; then
  608. set timeout=10
  609. fi
  610. ### END /etc/grub.d/30_os-prober ###
  611. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  612. ### END /etc/grub.d/30_uefi-firmware ###
  613. ### BEGIN /etc/grub.d/40_custom ###
  614. # This file provides an easy way to add custom menu entries. Simply type the
  615. # menu entries you want to add after this comment. Be careful not to change
  616. # the 'exec tail' line above.
  617. ### END /etc/grub.d/40_custom ###
  618. ### BEGIN /etc/grub.d/41_custom ###
  619. if [ -f ${config_directory}/custom.cfg ]; then
  620. source ${config_directory}/custom.cfg
  621. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  622. source $prefix/custom.cfg;
  623. fi
  624. ### END /etc/grub.d/41_custom ###
  625. sudo cat /boot/grub/grub.cfg
  626. [sudo] password for toji:
  627. #
  628. # DO NOT EDIT THIS FILE
  629. #
  630. # It is automatically generated by grub-mkconfig using templates
  631. # from /etc/grub.d and settings from /etc/default/grub
  632. #
  633. ### BEGIN /etc/grub.d/00_header ###
  634. if [ -s $prefix/grubenv ]; then
  635. set have_grubenv=true
  636. load_env
  637. fi
  638. if [ "${next_entry}" ] ; then
  639. set default="${next_entry}"
  640. set next_entry=
  641. save_env next_entry
  642. set boot_once=true
  643. else
  644. set default="Ubuntu GNU/Linux, with Xen hypervisor"
  645. fi
  646. if [ x"${feature_menuentry_id}" = xy ]; then
  647. menuentry_id_option="--id"
  648. else
  649. menuentry_id_option=""
  650. fi
  651. export menuentry_id_option
  652. if [ "${prev_saved_entry}" ]; then
  653. set saved_entry="${prev_saved_entry}"
  654. save_env saved_entry
  655. set prev_saved_entry=
  656. save_env prev_saved_entry
  657. set boot_once=true
  658. fi
  659. function savedefault {
  660. if [ -z "${boot_once}" ]; then
  661. saved_entry="${chosen}"
  662. save_env saved_entry
  663. fi
  664. }
  665. function recordfail {
  666. set recordfail=1
  667. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  668. }
  669. function load_video {
  670. if [ x$feature_all_video_module = xy ]; then
  671. insmod all_video
  672. else
  673. insmod efi_gop
  674. insmod efi_uga
  675. insmod ieee1275_fb
  676. insmod vbe
  677. insmod vga
  678. insmod video_bochs
  679. insmod video_cirrus
  680. fi
  681. }
  682. if [ x$feature_default_font_path = xy ] ; then
  683. font=unicode
  684. else
  685. insmod part_msdos
  686. insmod ext2
  687. set root='hd1,msdos1'
  688. if [ x$feature_platform_search_hint = xy ]; then
  689. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  690. else
  691. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  692. fi
  693. font="/usr/share/grub/unicode.pf2"
  694. fi
  695. if loadfont $font ; then
  696. set gfxmode=auto
  697. load_video
  698. insmod gfxterm
  699. set locale_dir=$prefix/locale
  700. set lang=en_IN
  701. insmod gettext
  702. fi
  703. terminal_output gfxterm
  704. if [ "${recordfail}" = 1 ] ; then
  705. set timeout=30
  706. else
  707. if [ x$feature_timeout_style = xy ] ; then
  708. set timeout_style=menu
  709. set timeout=10
  710. # Fallback normal timeout code in case the timeout_style feature is
  711. # unavailable.
  712. else
  713. set timeout=10
  714. fi
  715. fi
  716. ### END /etc/grub.d/00_header ###
  717. ### BEGIN /etc/grub.d/05_debian_theme ###
  718. set menu_color_normal=white/black
  719. set menu_color_highlight=black/light-gray
  720. if background_color 44,0,30,0; then
  721. clear
  722. fi
  723. ### END /etc/grub.d/05_debian_theme ###
  724. ### BEGIN /etc/grub.d/10_linux ###
  725. function gfxmode {
  726. set gfxpayload="${1}"
  727. if [ "${1}" = "keep" ]; then
  728. set vt_handoff=vt.handoff=7
  729. else
  730. set vt_handoff=
  731. fi
  732. }
  733. if [ "${recordfail}" != 1 ]; then
  734. if [ -e ${prefix}/gfxblacklist.txt ]; then
  735. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  736. if [ ${match} = 0 ]; then
  737. set linux_gfx_mode=keep
  738. else
  739. set linux_gfx_mode=text
  740. fi
  741. else
  742. set linux_gfx_mode=text
  743. fi
  744. else
  745. set linux_gfx_mode=keep
  746. fi
  747. else
  748. set linux_gfx_mode=text
  749. fi
  750. export linux_gfx_mode
  751. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cbd871e6-2a79-403a-9143-bca20374bf08' {
  752. recordfail
  753. load_video
  754. gfxmode $linux_gfx_mode
  755. insmod gzio
  756. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  757. insmod part_msdos
  758. insmod ext2
  759. set root='hd1,msdos1'
  760. if [ x$feature_platform_search_hint = xy ]; then
  761. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  762. else
  763. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  764. fi
  765. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro
  766. initrd /boot/initrd.img-4.2.0-22-generic
  767. }
  768. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  769. menuentry 'Ubuntu, with Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  770. recordfail
  771. load_video
  772. gfxmode $linux_gfx_mode
  773. insmod gzio
  774. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  775. insmod part_msdos
  776. insmod ext2
  777. set root='hd1,msdos1'
  778. if [ x$feature_platform_search_hint = xy ]; then
  779. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  780. else
  781. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  782. fi
  783. echo 'Loading Linux 4.2.0-22-generic ...'
  784. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro
  785. echo 'Loading initial ramdisk ...'
  786. initrd /boot/initrd.img-4.2.0-22-generic
  787. }
  788. menuentry 'Ubuntu, with Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  789. recordfail
  790. load_video
  791. gfxmode $linux_gfx_mode
  792. insmod gzio
  793. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  794. insmod part_msdos
  795. insmod ext2
  796. set root='hd1,msdos1'
  797. if [ x$feature_platform_search_hint = xy ]; then
  798. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  799. else
  800. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  801. fi
  802. echo 'Loading Linux 4.2.0-22-generic ...'
  803. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro init=/sbin/upstart
  804. echo 'Loading initial ramdisk ...'
  805. initrd /boot/initrd.img-4.2.0-22-generic
  806. }
  807. menuentry 'Ubuntu, with Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  808. recordfail
  809. load_video
  810. insmod gzio
  811. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  812. insmod part_msdos
  813. insmod ext2
  814. set root='hd1,msdos1'
  815. if [ x$feature_platform_search_hint = xy ]; then
  816. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  817. else
  818. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  819. fi
  820. echo 'Loading Linux 4.2.0-22-generic ...'
  821. linux /boot/vmlinuz-4.2.0-22-generic root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro recovery nomodeset
  822. echo 'Loading initial ramdisk ...'
  823. initrd /boot/initrd.img-4.2.0-22-generic
  824. }
  825. }
  826. ### END /etc/grub.d/10_linux ###
  827. ### BEGIN /etc/grub.d/20_linux_xen ###
  828. menuentry 'Ubuntu GNU/Linux, with Xen hypervisor' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-cbd871e6-2a79-403a-9143-bca20374bf08' {
  829. insmod part_msdos
  830. insmod ext2
  831. set root='hd1,msdos1'
  832. if [ x$feature_platform_search_hint = xy ]; then
  833. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  834. else
  835. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  836. fi
  837. echo 'Loading Xen xen ...'
  838. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  839. xen_rm_opts=
  840. else
  841. xen_rm_opts="no-real-mode edd=off"
  842. fi
  843. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  844. echo 'Loading Linux 4.2.0-22-generic ...'
  845. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  846. echo 'Loading initial ramdisk ...'
  847. module --nounzip /boot/initrd.img-4.2.0-22-generic
  848. }
  849. submenu 'Advanced options for Ubuntu GNU/Linux (with Xen hypervisor)' $menuentry_id_option 'gnulinux-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  850. submenu 'Xen hypervisor, version xen' $menuentry_id_option 'xen-hypervisor-xen-cbd871e6-2a79-403a-9143-bca20374bf08' {
  851. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  852. insmod part_msdos
  853. insmod ext2
  854. set root='hd1,msdos1'
  855. if [ x$feature_platform_search_hint = xy ]; then
  856. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  857. else
  858. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  859. fi
  860. echo 'Loading Xen xen ...'
  861. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  862. xen_rm_opts=
  863. else
  864. xen_rm_opts="no-real-mode edd=off"
  865. fi
  866. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  867. echo 'Loading Linux 4.2.0-22-generic ...'
  868. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  869. echo 'Loading initial ramdisk ...'
  870. module --nounzip /boot/initrd.img-4.2.0-22-generic
  871. }
  872. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  873. insmod part_msdos
  874. insmod ext2
  875. set root='hd1,msdos1'
  876. if [ x$feature_platform_search_hint = xy ]; then
  877. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  878. else
  879. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  880. fi
  881. echo 'Loading Xen xen ...'
  882. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  883. xen_rm_opts=
  884. else
  885. xen_rm_opts="no-real-mode edd=off"
  886. fi
  887. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  888. echo 'Loading Linux 4.2.0-22-generic ...'
  889. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  890. echo 'Loading initial ramdisk ...'
  891. module --nounzip /boot/initrd.img-4.2.0-22-generic
  892. }
  893. menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  894. insmod part_msdos
  895. insmod ext2
  896. set root='hd1,msdos1'
  897. if [ x$feature_platform_search_hint = xy ]; then
  898. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  899. else
  900. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  901. fi
  902. echo 'Loading Xen xen ...'
  903. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  904. xen_rm_opts=
  905. else
  906. xen_rm_opts="no-real-mode edd=off"
  907. fi
  908. multiboot /boot/xen.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  909. echo 'Loading Linux 4.2.0-22-generic ...'
  910. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  911. echo 'Loading initial ramdisk ...'
  912. module --nounzip /boot/initrd.img-4.2.0-22-generic
  913. }
  914. }
  915. submenu 'Xen hypervisor, version 4' $menuentry_id_option 'xen-hypervisor-4-cbd871e6-2a79-403a-9143-bca20374bf08' {
  916. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  917. insmod part_msdos
  918. insmod ext2
  919. set root='hd1,msdos1'
  920. if [ x$feature_platform_search_hint = xy ]; then
  921. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  922. else
  923. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  924. fi
  925. echo 'Loading Xen 4 ...'
  926. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  927. xen_rm_opts=
  928. else
  929. xen_rm_opts="no-real-mode edd=off"
  930. fi
  931. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  932. echo 'Loading Linux 4.2.0-22-generic ...'
  933. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  934. echo 'Loading initial ramdisk ...'
  935. module --nounzip /boot/initrd.img-4.2.0-22-generic
  936. }
  937. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  938. insmod part_msdos
  939. insmod ext2
  940. set root='hd1,msdos1'
  941. if [ x$feature_platform_search_hint = xy ]; then
  942. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  943. else
  944. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  945. fi
  946. echo 'Loading Xen 4 ...'
  947. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  948. xen_rm_opts=
  949. else
  950. xen_rm_opts="no-real-mode edd=off"
  951. fi
  952. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  953. echo 'Loading Linux 4.2.0-22-generic ...'
  954. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  955. echo 'Loading initial ramdisk ...'
  956. module --nounzip /boot/initrd.img-4.2.0-22-generic
  957. }
  958. menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  959. insmod part_msdos
  960. insmod ext2
  961. set root='hd1,msdos1'
  962. if [ x$feature_platform_search_hint = xy ]; then
  963. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  964. else
  965. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  966. fi
  967. echo 'Loading Xen 4 ...'
  968. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  969. xen_rm_opts=
  970. else
  971. xen_rm_opts="no-real-mode edd=off"
  972. fi
  973. multiboot /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  974. echo 'Loading Linux 4.2.0-22-generic ...'
  975. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  976. echo 'Loading initial ramdisk ...'
  977. module --nounzip /boot/initrd.img-4.2.0-22-generic
  978. }
  979. }
  980. submenu 'Xen hypervisor, version 4.7' $menuentry_id_option 'xen-hypervisor-4.7-cbd871e6-2a79-403a-9143-bca20374bf08' {
  981. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  982. insmod part_msdos
  983. insmod ext2
  984. set root='hd1,msdos1'
  985. if [ x$feature_platform_search_hint = xy ]; then
  986. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  987. else
  988. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  989. fi
  990. echo 'Loading Xen 4.7 ...'
  991. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  992. xen_rm_opts=
  993. else
  994. xen_rm_opts="no-real-mode edd=off"
  995. fi
  996. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  997. echo 'Loading Linux 4.2.0-22-generic ...'
  998. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  999. echo 'Loading initial ramdisk ...'
  1000. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1001. }
  1002. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1003. insmod part_msdos
  1004. insmod ext2
  1005. set root='hd1,msdos1'
  1006. if [ x$feature_platform_search_hint = xy ]; then
  1007. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1008. else
  1009. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1010. fi
  1011. echo 'Loading Xen 4.7 ...'
  1012. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  1013. xen_rm_opts=
  1014. else
  1015. xen_rm_opts="no-real-mode edd=off"
  1016. fi
  1017. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  1018. echo 'Loading Linux 4.2.0-22-generic ...'
  1019. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  1020. echo 'Loading initial ramdisk ...'
  1021. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1022. }
  1023. menuentry 'Ubuntu GNU/Linux, with Xen 4.7 and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1024. insmod part_msdos
  1025. insmod ext2
  1026. set root='hd1,msdos1'
  1027. if [ x$feature_platform_search_hint = xy ]; then
  1028. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1029. else
  1030. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1031. fi
  1032. echo 'Loading Xen 4.7 ...'
  1033. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  1034. xen_rm_opts=
  1035. else
  1036. xen_rm_opts="no-real-mode edd=off"
  1037. fi
  1038. multiboot /boot/xen-4.7.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  1039. echo 'Loading Linux 4.2.0-22-generic ...'
  1040. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  1041. echo 'Loading initial ramdisk ...'
  1042. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1043. }
  1044. }
  1045. submenu 'Xen hypervisor, version 4.7-unstable' $menuentry_id_option 'xen-hypervisor-4.7-unstable-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1046. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-advanced-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1047. insmod part_msdos
  1048. insmod ext2
  1049. set root='hd1,msdos1'
  1050. if [ x$feature_platform_search_hint = xy ]; then
  1051. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1052. else
  1053. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1054. fi
  1055. echo 'Loading Xen 4.7-unstable ...'
  1056. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  1057. xen_rm_opts=
  1058. else
  1059. xen_rm_opts="no-real-mode edd=off"
  1060. fi
  1061. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  1062. echo 'Loading Linux 4.2.0-22-generic ...'
  1063. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0
  1064. echo 'Loading initial ramdisk ...'
  1065. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1066. }
  1067. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-init-upstart-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1068. insmod part_msdos
  1069. insmod ext2
  1070. set root='hd1,msdos1'
  1071. if [ x$feature_platform_search_hint = xy ]; then
  1072. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1073. else
  1074. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1075. fi
  1076. echo 'Loading Xen 4.7-unstable ...'
  1077. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  1078. xen_rm_opts=
  1079. else
  1080. xen_rm_opts="no-real-mode edd=off"
  1081. fi
  1082. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  1083. echo 'Loading Linux 4.2.0-22-generic ...'
  1084. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro console=hvc0 init=/sbin/upstart
  1085. echo 'Loading initial ramdisk ...'
  1086. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1087. }
  1088. menuentry 'Ubuntu GNU/Linux, with Xen 4.7-unstable and Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.2.0-22-generic-recovery-cbd871e6-2a79-403a-9143-bca20374bf08' {
  1089. insmod part_msdos
  1090. insmod ext2
  1091. set root='hd1,msdos1'
  1092. if [ x$feature_platform_search_hint = xy ]; then
  1093. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1094. else
  1095. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1096. fi
  1097. echo 'Loading Xen 4.7-unstable ...'
  1098. if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
  1099. xen_rm_opts=
  1100. else
  1101. xen_rm_opts="no-real-mode edd=off"
  1102. fi
  1103. multiboot /boot/xen-4.7-unstable.gz placeholder loglvl=all guest_loglvl=all com1=9600,8n1 console=com1,vga gdb=com1 dom0_mem=1024M,max:1024M ${xen_rm_opts}
  1104. echo 'Loading Linux 4.2.0-22-generic ...'
  1105. module /boot/vmlinuz-4.2.0-22-generic placeholder root=UUID=cbd871e6-2a79-403a-9143-bca20374bf08 ro single console=hvc0
  1106. echo 'Loading initial ramdisk ...'
  1107. module --nounzip /boot/initrd.img-4.2.0-22-generic
  1108. }
  1109. }
  1110. }
  1111. ### END /etc/grub.d/20_linux_xen ###
  1112. ### BEGIN /etc/grub.d/20_memtest86+ ###
  1113. menuentry 'Memory test (memtest86+)' {
  1114. insmod part_msdos
  1115. insmod ext2
  1116. set root='hd1,msdos1'
  1117. if [ x$feature_platform_search_hint = xy ]; then
  1118. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1119. else
  1120. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1121. fi
  1122. knetbsd /boot/memtest86+.elf
  1123. }
  1124. menuentry 'Memory test (memtest86+, serial console 115200)' {
  1125. insmod part_msdos
  1126. insmod ext2
  1127. set root='hd1,msdos1'
  1128. if [ x$feature_platform_search_hint = xy ]; then
  1129. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 cbd871e6-2a79-403a-9143-bca20374bf08
  1130. else
  1131. search --no-floppy --fs-uuid --set=root cbd871e6-2a79-403a-9143-bca20374bf08
  1132. fi
  1133. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  1134. }
  1135. ### END /etc/grub.d/20_memtest86+ ###
  1136. ### BEGIN /etc/grub.d/30_os-prober ###
  1137. menuentry 'Ubuntu 15.10 (15.10) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1138. insmod part_msdos
  1139. insmod lvm
  1140. insmod ext2
  1141. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1142. if [ x$feature_platform_search_hint = xy ]; then
  1143. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1144. else
  1145. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1146. fi
  1147. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  1148. initrd /boot/initrd.img-4.2.0-22-generic
  1149. }
  1150. submenu 'Advanced options for Ubuntu 15.10 (15.10) (on /dev/mapper/vg0-pv--guest--disk)' $menuentry_id_option 'osprober-gnulinux-advanced-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1151. menuentry 'Ubuntu 15.10, kernel 4.2.0-22-generic (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1152. insmod part_msdos
  1153. insmod lvm
  1154. insmod ext2
  1155. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1156. if [ x$feature_platform_search_hint = xy ]; then
  1157. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1158. else
  1159. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1160. fi
  1161. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  1162. initrd /boot/initrd.img-4.2.0-22-generic
  1163. }
  1164. menuentry 'Ubuntu 15.10, kernel 4.2.0-22-generic (single-user mode) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic-root=/dev/xvda2 ro elevator=noop single-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1165. insmod part_msdos
  1166. insmod lvm
  1167. insmod ext2
  1168. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1169. if [ x$feature_platform_search_hint = xy ]; then
  1170. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1171. else
  1172. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1173. fi
  1174. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop single
  1175. initrd /boot/initrd.img-4.2.0-22-generic
  1176. }
  1177. menuentry 'Ubuntu 15.10 (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1178. insmod part_msdos
  1179. insmod lvm
  1180. insmod ext2
  1181. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1182. if [ x$feature_platform_search_hint = xy ]; then
  1183. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1184. else
  1185. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1186. fi
  1187. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro elevator=noop
  1188. initrd /boot/initrd.img-4.2.0-22-generic
  1189. }
  1190. menuentry 'Ubuntu 15.10 (Single-User) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.0-22-generic-root=/dev/xvda2 ro single elevator=noop-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1191. insmod part_msdos
  1192. insmod lvm
  1193. insmod ext2
  1194. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1195. if [ x$feature_platform_search_hint = xy ]; then
  1196. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1197. else
  1198. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1199. fi
  1200. linux /boot/vmlinuz-4.2.0-22-generic root=/dev/xvda2 ro single elevator=noop
  1201. initrd /boot/initrd.img-4.2.0-22-generic
  1202. }
  1203. menuentry 'Ubuntu 15.10 (Default Kernel) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1204. insmod part_msdos
  1205. insmod lvm
  1206. insmod ext2
  1207. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1208. if [ x$feature_platform_search_hint = xy ]; then
  1209. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1210. else
  1211. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1212. fi
  1213. linux /vmlinuz root=/dev/xvda2 ro elevator=noop
  1214. initrd /initrd.img
  1215. }
  1216. menuentry 'Ubuntu 15.10 (Default Kernel, Single-User) (on /dev/mapper/vg0-pv--guest--disk)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-root=/dev/xvda2 ro single elevator=noop-c9e0af98-4b92-4afc-a436-cde3b378b125' {
  1217. insmod part_msdos
  1218. insmod lvm
  1219. insmod ext2
  1220. set root='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F'
  1221. if [ x$feature_platform_search_hint = xy ]; then
  1222. search --no-floppy --fs-uuid --set=root --hint='lvmid/vhOJv3-hrqV-aVJn-eKrq-3KFW-RF2t-b0gcV3/jL7wpk-VaQS-Re8H-XzME-mCCR-nVen-Qt8c8F' c9e0af98-4b92-4afc-a436-cde3b378b125
  1223. else
  1224. search --no-floppy --fs-uuid --set=root c9e0af98-4b92-4afc-a436-cde3b378b125
  1225. fi
  1226. linux /vmlinuz root=/dev/xvda2 ro single elevator=noop
  1227. initrd /initrd.img
  1228. }
  1229. }
  1230. set timeout_style=menu
  1231. if [ "${timeout}" = 0 ]; then
  1232. set timeout=10
  1233. fi
  1234. ### END /etc/grub.d/30_os-prober ###
  1235. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  1236. ### END /etc/grub.d/30_uefi-firmware ###
  1237. ### BEGIN /etc/grub.d/40_custom ###
  1238. # This file provides an easy way to add custom menu entries. Simply type the
  1239. # menu entries you want to add after this comment. Be careful not to change
  1240. # the 'exec tail' line above.
  1241. ### END /etc/grub.d/40_custom ###
  1242. ### BEGIN /etc/grub.d/41_custom ###
  1243. if [ -f ${config_directory}/custom.cfg ]; then
  1244. source ${config_directory}/custom.cfg
  1245. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  1246. source $prefix/custom.cfg;
  1247. fi
  1248. ### END /etc/grub.d/41_custom ###
Comments powered by Disqus