SHARE
TWEET

Untitled

a guest Jul 16th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nobodyknown@nobody:~$ sudo cat /boot/grub/grub.cfg
  2. [sudo] password for nobodyknown:            
  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.  
  10. ### BEGIN /etc/grub.d/00_header ###
  11. if [ -s $prefix/grubenv ]; then
  12.   set have_grubenv=true
  13.   load_env
  14. fi
  15. if [ "${next_entry}" ] ; then
  16.    set default="${next_entry}"
  17.    set next_entry=
  18.    save_env next_entry
  19.    set boot_once=true
  20. else
  21.    set default="0"
  22. fi
  23.  
  24. if [ x"${feature_menuentry_id}" = xy ]; then
  25.   menuentry_id_option="--id"
  26. else
  27.   menuentry_id_option=""
  28. fi
  29.  
  30. export menuentry_id_option
  31.  
  32. if [ "${prev_saved_entry}" ]; then
  33.   set saved_entry="${prev_saved_entry}"
  34.   save_env saved_entry
  35.   set prev_saved_entry=
  36.   save_env prev_saved_entry
  37.   set boot_once=true
  38. fi
  39.  
  40. function savedefault {
  41.   if [ -z "${boot_once}" ]; then
  42.     saved_entry="${chosen}"
  43.     save_env saved_entry
  44.   fi
  45. }
  46. function recordfail {
  47.   set recordfail=1
  48.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  49. }
  50. function load_video {
  51.   if [ x$feature_all_video_module = xy ]; then
  52.     insmod all_video
  53.   else
  54.     insmod efi_gop
  55.     insmod efi_uga
  56.     insmod ieee1275_fb
  57.     insmod vbe
  58.     insmod vga
  59.     insmod video_bochs
  60.     insmod video_cirrus
  61.   fi
  62. }
  63.  
  64. if [ x$feature_default_font_path = xy ] ; then
  65.    font=unicode
  66. else
  67. insmod part_msdos
  68. insmod ext2
  69. set root='hd0,msdos1'
  70. if [ x$feature_platform_search_hint = xy ]; then
  71.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  72. else
  73.   search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  74. fi
  75.     font="/usr/share/grub/unicode.pf2"
  76. fi
  77.  
  78. if loadfont $font ; then
  79.   set gfxmode=800x600
  80.   load_video
  81.   insmod gfxterm
  82.   set locale_dir=$prefix/locale
  83.   set lang=en_AU
  84.   insmod gettext
  85. fi
  86. terminal_output gfxterm
  87. if [ "${recordfail}" = 1 ] ; then
  88.   set timeout=30
  89. else
  90.   if [ x$feature_timeout_style = xy ] ; then
  91.     set timeout_style=hidden
  92.     set timeout=0
  93.   # Fallback hidden-timeout code in case the timeout_style feature is
  94.   # unavailable.
  95.   elif sleep --interruptible 0 ; then
  96.     set timeout=0
  97.   fi
  98. fi
  99. ### END /etc/grub.d/00_header ###
  100.  
  101. ### BEGIN /etc/grub.d/05_debian_theme ###
  102. set menu_color_normal=white/black
  103. set menu_color_highlight=black/light-gray
  104. ### END /etc/grub.d/05_debian_theme ###
  105.  
  106. ### BEGIN /etc/grub.d/10_linux ###
  107. function gfxmode {
  108.     set gfxpayload="${1}"
  109.     if [ "${1}" = "keep" ]; then
  110.         set vt_handoff=vt.handoff=1
  111.     else
  112.         set vt_handoff=
  113.     fi
  114. }
  115. if [ "${recordfail}" != 1 ]; then
  116.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  117.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  118.       if [ ${match} = 0 ]; then
  119.         set linux_gfx_mode=keep
  120.       else
  121.         set linux_gfx_mode=text
  122.       fi
  123.     else
  124.       set linux_gfx_mode=text
  125.     fi
  126.   else
  127.     set linux_gfx_mode=keep
  128.   fi
  129. else
  130.   set linux_gfx_mode=text
  131. fi
  132. export linux_gfx_mode
  133. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  134.     recordfail
  135.     load_video
  136.     gfxmode $linux_gfx_mode
  137.     insmod gzio
  138.     if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  139.     insmod part_msdos
  140.     insmod ext2
  141.     set root='hd0,msdos1'
  142.     if [ x$feature_platform_search_hint = xy ]; then
  143.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  144.     else
  145.       search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  146.     fi
  147.         linux   /boot/vmlinuz-5.0.0-15-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  148.     initrd  /boot/initrd.img-5.0.0-15-generic
  149. }
  150. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  151.     menuentry 'Ubuntu, with Linux 5.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-15-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  152.         recordfail
  153.         load_video
  154.         gfxmode $linux_gfx_mode
  155.         insmod gzio
  156.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  157.         insmod part_msdos
  158.         insmod ext2
  159.         set root='hd0,msdos1'
  160.         if [ x$feature_platform_search_hint = xy ]; then
  161.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  162.         else
  163.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  164.         fi
  165.         echo    'Loading Linux 5.0.0-15-generic ...'
  166.             linux   /boot/vmlinuz-5.0.0-15-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  167.         echo    'Loading initial ramdisk ...'
  168.         initrd  /boot/initrd.img-5.0.0-15-generic
  169.     }
  170.     menuentry 'Ubuntu, with Linux 5.0.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-15-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  171.         recordfail
  172.         load_video
  173.         insmod gzio
  174.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  175.         insmod part_msdos
  176.         insmod ext2
  177.         set root='hd0,msdos1'
  178.         if [ x$feature_platform_search_hint = xy ]; then
  179.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  180.         else
  181.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  182.         fi
  183.         echo    'Loading Linux 5.0.0-15-generic ...'
  184.             linux   /boot/vmlinuz-5.0.0-15-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  185.         echo    'Loading initial ramdisk ...'
  186.         initrd  /boot/initrd.img-5.0.0-15-generic
  187.     }
  188.     menuentry 'Ubuntu, with Linux 4.18.0-20-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-20-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  189.         recordfail
  190.         load_video
  191.         gfxmode $linux_gfx_mode
  192.         insmod gzio
  193.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  194.         insmod part_msdos
  195.         insmod ext2
  196.         set root='hd0,msdos1'
  197.         if [ x$feature_platform_search_hint = xy ]; then
  198.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  199.         else
  200.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  201.         fi
  202.         echo    'Loading Linux 4.18.0-20-generic ...'
  203.             linux   /boot/vmlinuz-4.18.0-20-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  204.         echo    'Loading initial ramdisk ...'
  205.         initrd  /boot/initrd.img-4.18.0-20-generic
  206.     }
  207.     menuentry 'Ubuntu, with Linux 4.18.0-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-20-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  208.         recordfail
  209.         load_video
  210.         insmod gzio
  211.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  212.         insmod part_msdos
  213.         insmod ext2
  214.         set root='hd0,msdos1'
  215.         if [ x$feature_platform_search_hint = xy ]; then
  216.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  217.         else
  218.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  219.         fi
  220.         echo    'Loading Linux 4.18.0-20-generic ...'
  221.             linux   /boot/vmlinuz-4.18.0-20-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  222.         echo    'Loading initial ramdisk ...'
  223.         initrd  /boot/initrd.img-4.18.0-20-generic
  224.     }
  225.     menuentry 'Ubuntu, with Linux 4.15.0-54-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-54-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  226.         recordfail
  227.         load_video
  228.         gfxmode $linux_gfx_mode
  229.         insmod gzio
  230.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  231.         insmod part_msdos
  232.         insmod ext2
  233.         set root='hd0,msdos1'
  234.         if [ x$feature_platform_search_hint = xy ]; then
  235.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  236.         else
  237.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  238.         fi
  239.         echo    'Loading Linux 4.15.0-54-generic ...'
  240.             linux   /boot/vmlinuz-4.15.0-54-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  241.         echo    'Loading initial ramdisk ...'
  242.         initrd  /boot/initrd.img-4.15.0-54-generic
  243.     }
  244.     menuentry 'Ubuntu, with Linux 4.15.0-54-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-54-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  245.         recordfail
  246.         load_video
  247.         insmod gzio
  248.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  249.         insmod part_msdos
  250.         insmod ext2
  251.         set root='hd0,msdos1'
  252.         if [ x$feature_platform_search_hint = xy ]; then
  253.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  254.         else
  255.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  256.         fi
  257.         echo    'Loading Linux 4.15.0-54-generic ...'
  258.             linux   /boot/vmlinuz-4.15.0-54-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  259.         echo    'Loading initial ramdisk ...'
  260.         initrd  /boot/initrd.img-4.15.0-54-generic
  261.     }
  262.     menuentry 'Ubuntu, with Linux 4.15.0-52-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-52-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  263.         recordfail
  264.         load_video
  265.         gfxmode $linux_gfx_mode
  266.         insmod gzio
  267.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  268.         insmod part_msdos
  269.         insmod ext2
  270.         set root='hd0,msdos1'
  271.         if [ x$feature_platform_search_hint = xy ]; then
  272.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  273.         else
  274.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  275.         fi
  276.         echo    'Loading Linux 4.15.0-52-generic ...'
  277.             linux   /boot/vmlinuz-4.15.0-52-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  278.         echo    'Loading initial ramdisk ...'
  279.         initrd  /boot/initrd.img-4.15.0-52-generic
  280.     }
  281.     menuentry 'Ubuntu, with Linux 4.15.0-52-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-52-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  282.         recordfail
  283.         load_video
  284.         insmod gzio
  285.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  286.         insmod part_msdos
  287.         insmod ext2
  288.         set root='hd0,msdos1'
  289.         if [ x$feature_platform_search_hint = xy ]; then
  290.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  291.         else
  292.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  293.         fi
  294.         echo    'Loading Linux 4.15.0-52-generic ...'
  295.             linux   /boot/vmlinuz-4.15.0-52-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  296.         echo    'Loading initial ramdisk ...'
  297.         initrd  /boot/initrd.img-4.15.0-52-generic
  298.     }
  299.     menuentry 'Ubuntu, with Linux 4.15.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-51-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  300.         recordfail
  301.         load_video
  302.         gfxmode $linux_gfx_mode
  303.         insmod gzio
  304.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  305.         insmod part_msdos
  306.         insmod ext2
  307.         set root='hd0,msdos1'
  308.         if [ x$feature_platform_search_hint = xy ]; then
  309.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  310.         else
  311.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  312.         fi
  313.         echo    'Loading Linux 4.15.0-51-generic ...'
  314.             linux   /boot/vmlinuz-4.15.0-51-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  315.         echo    'Loading initial ramdisk ...'
  316.         initrd  /boot/initrd.img-4.15.0-51-generic
  317.     }
  318.     menuentry 'Ubuntu, with Linux 4.15.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-51-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  319.         recordfail
  320.         load_video
  321.         insmod gzio
  322.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  323.         insmod part_msdos
  324.         insmod ext2
  325.         set root='hd0,msdos1'
  326.         if [ x$feature_platform_search_hint = xy ]; then
  327.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  328.         else
  329.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  330.         fi
  331.         echo    'Loading Linux 4.15.0-51-generic ...'
  332.             linux   /boot/vmlinuz-4.15.0-51-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  333.         echo    'Loading initial ramdisk ...'
  334.         initrd  /boot/initrd.img-4.15.0-51-generic
  335.     }
  336.     menuentry 'Ubuntu, with Linux 4.15.0-50-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-50-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  337.         recordfail
  338.         load_video
  339.         gfxmode $linux_gfx_mode
  340.         insmod gzio
  341.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  342.         insmod part_msdos
  343.         insmod ext2
  344.         set root='hd0,msdos1'
  345.         if [ x$feature_platform_search_hint = xy ]; then
  346.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  347.         else
  348.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  349.         fi
  350.         echo    'Loading Linux 4.15.0-50-generic ...'
  351.             linux   /boot/vmlinuz-4.15.0-50-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  352.         echo    'Loading initial ramdisk ...'
  353.         initrd  /boot/initrd.img-4.15.0-50-generic
  354.     }
  355.     menuentry 'Ubuntu, with Linux 4.15.0-50-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-50-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  356.         recordfail
  357.         load_video
  358.         insmod gzio
  359.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  360.         insmod part_msdos
  361.         insmod ext2
  362.         set root='hd0,msdos1'
  363.         if [ x$feature_platform_search_hint = xy ]; then
  364.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  365.         else
  366.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  367.         fi
  368.         echo    'Loading Linux 4.15.0-50-generic ...'
  369.             linux   /boot/vmlinuz-4.15.0-50-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  370.         echo    'Loading initial ramdisk ...'
  371.         initrd  /boot/initrd.img-4.15.0-50-generic
  372.     }
  373.     menuentry 'Ubuntu, with Linux 4.15.0-20-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-advanced-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  374.         recordfail
  375.         load_video
  376.         gfxmode $linux_gfx_mode
  377.         insmod gzio
  378.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  379.         insmod part_msdos
  380.         insmod ext2
  381.         set root='hd0,msdos1'
  382.         if [ x$feature_platform_search_hint = xy ]; then
  383.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  384.         else
  385.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  386.         fi
  387.         echo    'Loading Linux 4.15.0-20-generic ...'
  388.             linux   /boot/vmlinuz-4.15.0-20-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro  quiet splash $vt_handoff
  389.         echo    'Loading initial ramdisk ...'
  390.         initrd  /boot/initrd.img-4.15.0-20-generic
  391.     }
  392.     menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-recovery-469bbc52-c379-4ac5-a7d0-a1240c61ee9a' {
  393.         recordfail
  394.         load_video
  395.         insmod gzio
  396.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  397.         insmod part_msdos
  398.         insmod ext2
  399.         set root='hd0,msdos1'
  400.         if [ x$feature_platform_search_hint = xy ]; then
  401.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  402.         else
  403.           search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  404.         fi
  405.         echo    'Loading Linux 4.15.0-20-generic ...'
  406.             linux   /boot/vmlinuz-4.15.0-20-generic root=UUID=469bbc52-c379-4ac5-a7d0-a1240c61ee9a ro recovery nomodeset
  407.         echo    'Loading initial ramdisk ...'
  408.         initrd  /boot/initrd.img-4.15.0-20-generic
  409.     }
  410. }
  411.  
  412. ### END /etc/grub.d/10_linux ###
  413.  
  414. ### BEGIN /etc/grub.d/20_linux_xen ###
  415.  
  416. ### END /etc/grub.d/20_linux_xen ###
  417.  
  418. ### BEGIN /etc/grub.d/20_memtest86+ ###
  419. menuentry 'Memory test (memtest86+)' {
  420.     insmod part_msdos
  421.     insmod ext2
  422.     set root='hd0,msdos1'
  423.     if [ x$feature_platform_search_hint = xy ]; then
  424.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  425.     else
  426.       search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  427.     fi
  428.     knetbsd /boot/memtest86+.elf
  429. }
  430. menuentry 'Memory test (memtest86+, serial console 115200)' {
  431.     insmod part_msdos
  432.     insmod ext2
  433.     set root='hd0,msdos1'
  434.     if [ x$feature_platform_search_hint = xy ]; then
  435.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  436.     else
  437.       search --no-floppy --fs-uuid --set=root 469bbc52-c379-4ac5-a7d0-a1240c61ee9a
  438.     fi
  439.     linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  440. }
  441. ### END /etc/grub.d/20_memtest86+ ###
  442.  
  443. ### BEGIN /etc/grub.d/30_os-prober ###
  444. ### END /etc/grub.d/30_os-prober ###
  445.  
  446. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  447. ### END /etc/grub.d/30_uefi-firmware ###
  448.  
  449. ### BEGIN /etc/grub.d/40_custom ###
  450. # This file provides an easy way to add custom menu entries.  Simply type the
  451. # menu entries you want to add after this comment.  Be careful not to change
  452. # the 'exec tail' line above.
  453. ### END /etc/grub.d/40_custom ###
  454.  
  455. ### BEGIN /etc/grub.d/41_custom ###
  456. if [ -f  ${config_directory}/custom.cfg ]; then
  457.   source ${config_directory}/custom.cfg
  458. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  459.   source $prefix/custom.cfg;
  460. fi
  461. ### END /etc/grub.d/41_custom ###
  462. nobodyknown@nobody:~$ ^C
  463. nobodyknown@nobody:~$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top