Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.86 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by /usr/sbin/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.   load_env
  11. fi
  12. set default="0"
  13. if [ ${prev_saved_entry} ]; then
  14.   set saved_entry=${prev_saved_entry}
  15.   save_env saved_entry
  16.   set prev_saved_entry=
  17.   save_env prev_saved_entry
  18.   set boot_once=true
  19. fi
  20.  
  21. function savedefault {
  22.   if [ -z ${boot_once} ]; then
  23.     saved_entry=${chosen}
  24.     save_env saved_entry
  25.   fi
  26. }
  27.  
  28. function recordfail {
  29.   set recordfail=1
  30.   if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  31. }
  32. insmod ext2
  33. set root='(hd0,4)'
  34. search --no-floppy --fs-uuid --set 2a39f19f-23a8-412b-be93-aefffab474f7
  35. if loadfont /usr/share/grub/unicode.pf2 ; then
  36.   set gfxmode=640x480
  37.   insmod gfxterm
  38.   insmod vbe
  39.   if terminal_output gfxterm ; then true ; else
  40.     # For backward compatibility with versions of terminal.mod that don't
  41.     # understand terminal_output
  42.     terminal gfxterm
  43.   fi
  44. fi
  45. insmod ext2
  46. set root='(hd0,5)'
  47. search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  48. set locale_dir=($root)/grub/locale
  49. set lang=en
  50. insmod gettext
  51. if [ ${recordfail} = 1 ]; then
  52.   set timeout=-1
  53. else
  54.   set timeout=10
  55. fi
  56. ### END /etc/grub.d/00_header ###
  57.  
  58. ### BEGIN /etc/grub.d/05_debian_theme ###
  59. set menu_color_normal=white/black
  60. set menu_color_highlight=black/light-gray
  61. ### END /etc/grub.d/05_debian_theme ###
  62.  
  63. ### BEGIN /etc/grub.d/06_mint_theme ###
  64. insmod ext2
  65. set root='(hd0,5)'
  66. search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  67. insmod png
  68. if background_image /grub/linuxmint.png ; then
  69.   set color_normal=white/black
  70.   set color_highlight=white/light-gray
  71. else
  72.   set menu_color_normal=white/black
  73.   set menu_color_highlight=white/light-gray
  74. fi
  75. ### END /etc/grub.d/06_mint_theme ###
  76.  
  77. ### BEGIN /etc/grub.d/10_linux ###
  78. menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda5)" --class linuxmint --class gnu-linux --class gnu --class os {
  79.     recordfail
  80.     insmod ext2
  81.     set root='(hd0,5)'
  82.     search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  83.     linux   /vmlinuz-2.6.32-21-generic root=UUID=2a39f19f-23a8-412b-be93-aefffab474f7 ro   quiet splash
  84.     initrd  /initrd.img-2.6.32-21-generic
  85. }
  86. menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda5) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
  87.     recordfail
  88.     insmod ext2
  89.     set root='(hd0,5)'
  90.     search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  91.     echo    'Loading Linux 2.6.32-21-generic ...'
  92.     linux   /vmlinuz-2.6.32-21-generic root=UUID=2a39f19f-23a8-412b-be93-aefffab474f7 ro single
  93.     echo    'Loading initial ramdisk ...'
  94.     initrd  /initrd.img-2.6.32-21-generic
  95. }
  96. ### END /etc/grub.d/10_linux ###
  97.  
  98. ### BEGIN /etc/grub.d/10_lupin ###
  99. ### END /etc/grub.d/10_lupin ###
  100.  
  101. ### BEGIN /etc/grub.d/20_memtest86+ ###
  102. menuentry "Memory test (memtest86+)" {
  103.     insmod ext2
  104.     set root='(hd0,5)'
  105.     search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  106.     linux16 /memtest86+.bin
  107. }
  108. menuentry "Memory test (memtest86+, serial console 115200)" {
  109.     insmod ext2
  110.     set root='(hd0,5)'
  111.     search --no-floppy --fs-uuid --set 76505677-d40d-4eb6-95c6-2b2ad9963a44
  112.     linux16 /memtest86+.bin console=ttyS0,115200n8
  113. }
  114. ### END /etc/grub.d/20_memtest86+ ###
  115.  
  116. ### BEGIN /etc/grub.d/30_os-prober ###
  117. menuentry "Windows Vista (loader) (on /dev/sda1)" {
  118.     insmod ntfs
  119.     set root='(hd0,1)'
  120.     search --no-floppy --fs-uuid --set 4286eb2086eb1369
  121.     chainloader +1
  122. }
  123. ### END /etc/grub.d/30_os-prober ###
  124.  
  125. ### BEGIN /etc/grub.d/40_custom ###
  126. # This file provides an easy way to add custom menu entries.  Simply type the
  127. # menu entries you want to add after this comment.  Be careful not to change
  128. # the 'exec tail' line above.
  129. ### END /etc/grub.d/40_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement