Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.75 KB | None | 0 0
  1. # /etc/fstab: static file system information.
  2. #
  3. # Use 'blkid' to print the universally unique identifier for a
  4. # device; this may be used with UUID= as a more robust way to name devices
  5. # that works even if disks are added and removed. See fstab(5).
  6. #
  7. # <file system> <mount point> <type> <options> <dump> <pass>
  8. # / was on /dev/sda7 during installation
  9. UUID=ffdc22f4-4129-43e1-a111-21c11dd8bc58 / ext4 errors=remount-ro 0 1
  10. # /boot/efi was on /dev/sda2 during installation
  11. UUID=7E26-1812 /boot/efi vfat umask=0077 0 1
  12. # swap was on /dev/sda8 during installation
  13. UUID=ed7604ef-a0ee-4473-a9bf-5f45f802538c none swap sw 0 0
  14.  
  15.  
  16.  
  17. NAME FSTYPE LABEL UUID MOUNTPOINT
  18. sda
  19. ├─sda1 ntfs System 1E7424E77424C37F
  20. ├─sda2 vfat 7E26-1812 /boot/efi
  21. ├─sda3 ntfs 88E82779E82764A2
  22. ├─sda4 ntfs TI31327100A 5838297438295274
  23. ├─sda5 ntfs EC0881FE0881C7D2
  24. ├─sda6 ntfs Recovery 24784D98784D6A1E
  25. ├─sda7 ext4 ffdc22f4-4129-43e1-a111-21c11dd8bc58 /
  26. └─sda8 swap ed7604ef-a0ee-4473-a9bf-5f45f802538c [SWAP]
  27. sdb
  28. └─sdb1 vfat AC60-9BFF /media/guille/AC60-9BFF
  29. sr0
  30.  
  31.  
  32.  
  33.  
  34. #
  35. # DO NOT EDIT THIS FILE
  36. #
  37. # It is automatically generated by grub-mkconfig using templates
  38. # from /etc/grub.d and settings from /etc/default/grub
  39. #
  40.  
  41. ### BEGIN /etc/grub.d/00_header ###
  42. if [ -s $prefix/grubenv ]; then
  43. set have_grubenv=true
  44. load_env
  45. fi
  46. if [ "${next_entry}" ] ; then
  47. set default="${next_entry}"
  48. set next_entry=
  49. save_env next_entry
  50. set boot_once=true
  51. else
  52. set default="0"
  53. fi
  54.  
  55. if [ x"${feature_menuentry_id}" = xy ]; then
  56. menuentry_id_option="--id"
  57. else
  58. menuentry_id_option=""
  59. fi
  60.  
  61. export menuentry_id_option
  62.  
  63. if [ "${prev_saved_entry}" ]; then
  64. set saved_entry="${prev_saved_entry}"
  65. save_env saved_entry
  66. set prev_saved_entry=
  67. save_env prev_saved_entry
  68. set boot_once=true
  69. fi
  70.  
  71. function savedefault {
  72. if [ -z "${boot_once}" ]; then
  73. saved_entry="${chosen}"
  74. save_env saved_entry
  75. fi
  76. }
  77. function recordfail {
  78. set recordfail=1
  79. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  80. }
  81. function load_video {
  82. if [ x$feature_all_video_module = xy ]; then
  83. insmod all_video
  84. else
  85. insmod efi_gop
  86. insmod efi_uga
  87. insmod ieee1275_fb
  88. insmod vbe
  89. insmod vga
  90. insmod video_bochs
  91. insmod video_cirrus
  92. fi
  93. }
  94.  
  95. if [ x$feature_default_font_path = xy ] ; then
  96. font=unicode
  97. else
  98. insmod part_gpt
  99. insmod ext2
  100. set root='hd0,gpt7'
  101. if [ x$feature_platform_search_hint = xy ]; then
  102. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ffdc22f4-4129-43e1-a111-21c11dd8bc58
  103. else
  104. search --no-floppy --fs-uuid --set=root ffdc22f4-4129-43e1-a111-21c11dd8bc58
  105. fi
  106. font="/usr/share/grub/unicode.pf2"
  107. fi
  108.  
  109. if loadfont $font ; then
  110. set gfxmode=auto
  111. load_video
  112. insmod gfxterm
  113. set locale_dir=$prefix/locale
  114. set lang=en_US
  115. insmod gettext
  116. fi
  117. terminal_output gfxterm
  118. if [ "${recordfail}" = 1 ] ; then
  119. set timeout=30
  120. else
  121. if [ x$feature_timeout_style = xy ] ; then
  122. set timeout_style=menu
  123. set timeout=10
  124. # Fallback normal timeout code in case the timeout_style feature is
  125. # unavailable.
  126. else
  127. set timeout=10
  128. fi
  129. fi
  130. ### END /etc/grub.d/00_header ###
  131.  
  132. ### BEGIN /etc/grub.d/05_debian_theme ###
  133. set menu_color_normal=white/black
  134. set menu_color_highlight=black/light-gray
  135. if background_color 44,0,30,0; then
  136. clear
  137. fi
  138. ### END /etc/grub.d/05_debian_theme ###
  139.  
  140. ### BEGIN /etc/grub.d/10_linux ###
  141. function gfxmode {
  142. set gfxpayload="${1}"
  143. if [ "${1}" = "keep" ]; then
  144. set vt_handoff=vt.handoff=7
  145. else
  146. set vt_handoff=
  147. fi
  148. }
  149. if [ "${recordfail}" != 1 ]; then
  150. if [ -e ${prefix}/gfxblacklist.txt ]; then
  151. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  152. if [ ${match} = 0 ]; then
  153. set linux_gfx_mode=keep
  154. else
  155. set linux_gfx_mode=text
  156. fi
  157. else
  158. set linux_gfx_mode=text
  159. fi
  160. else
  161. set linux_gfx_mode=keep
  162. fi
  163. else
  164. set linux_gfx_mode=text
  165. fi
  166. export linux_gfx_mode
  167. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ffdc22f4-4129-43e1-a111-21c11dd8bc58' {
  168. recordfail
  169. load_video
  170. gfxmode $linux_gfx_mode
  171. insmod gzio
  172. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  173. insmod part_gpt
  174. insmod ext2
  175. set root='hd0,gpt7'
  176. if [ x$feature_platform_search_hint = xy ]; then
  177. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ffdc22f4-4129-43e1-a111-21c11dd8bc58
  178. else
  179. search --no-floppy --fs-uuid --set=root ffdc22f4-4129-43e1-a111-21c11dd8bc58
  180. fi
  181. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=ffdc22f4-4129-43e1-a111-21c11dd8bc58 ro quiet splash $vt_handoff
  182. initrd /boot/initrd.img-4.4.0-21-generic
  183. }
  184. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ffdc22f4-4129-43e1-a111-21c11dd8bc58' {
  185. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-ffdc22f4-4129-43e1-a111-21c11dd8bc58' {
  186. recordfail
  187. load_video
  188. gfxmode $linux_gfx_mode
  189. insmod gzio
  190. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  191. insmod part_gpt
  192. insmod ext2
  193. set root='hd0,gpt7'
  194. if [ x$feature_platform_search_hint = xy ]; then
  195. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ffdc22f4-4129-43e1-a111-21c11dd8bc58
  196. else
  197. search --no-floppy --fs-uuid --set=root ffdc22f4-4129-43e1-a111-21c11dd8bc58
  198. fi
  199. echo 'Loading Linux 4.4.0-21-generic ...'
  200. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=ffdc22f4-4129-43e1-a111-21c11dd8bc58 ro quiet splash $vt_handoff
  201. echo 'Loading initial ramdisk ...'
  202. initrd /boot/initrd.img-4.4.0-21-generic
  203. }
  204. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-ffdc22f4-4129-43e1-a111-21c11dd8bc58' {
  205. recordfail
  206. load_video
  207. gfxmode $linux_gfx_mode
  208. insmod gzio
  209. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  210. insmod part_gpt
  211. insmod ext2
  212. set root='hd0,gpt7'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ffdc22f4-4129-43e1-a111-21c11dd8bc58
  215. else
  216. search --no-floppy --fs-uuid --set=root ffdc22f4-4129-43e1-a111-21c11dd8bc58
  217. fi
  218. echo 'Loading Linux 4.4.0-21-generic ...'
  219. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=ffdc22f4-4129-43e1-a111-21c11dd8bc58 ro quiet splash $vt_handoff init=/sbin/upstart
  220. echo 'Loading initial ramdisk ...'
  221. initrd /boot/initrd.img-4.4.0-21-generic
  222. }
  223. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-ffdc22f4-4129-43e1-a111-21c11dd8bc58' {
  224. recordfail
  225. load_video
  226. insmod gzio
  227. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  228. insmod part_gpt
  229. insmod ext2
  230. set root='hd0,gpt7'
  231. if [ x$feature_platform_search_hint = xy ]; then
  232. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 ffdc22f4-4129-43e1-a111-21c11dd8bc58
  233. else
  234. search --no-floppy --fs-uuid --set=root ffdc22f4-4129-43e1-a111-21c11dd8bc58
  235. fi
  236. echo 'Loading Linux 4.4.0-21-generic ...'
  237. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=ffdc22f4-4129-43e1-a111-21c11dd8bc58 ro recovery nomodeset
  238. echo 'Loading initial ramdisk ...'
  239. initrd /boot/initrd.img-4.4.0-21-generic
  240. }
  241. }
  242.  
  243. ### END /etc/grub.d/10_linux ###
  244.  
  245. ### BEGIN /etc/grub.d/20_linux_xen ###
  246.  
  247. ### END /etc/grub.d/20_linux_xen ###
  248.  
  249. ### BEGIN /etc/grub.d/20_memtest86+ ###
  250. ### END /etc/grub.d/20_memtest86+ ###
  251.  
  252. ### BEGIN /etc/grub.d/30_os-prober ###
  253. menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-7E26-1812' {
  254. insmod part_gpt
  255. insmod fat
  256. set root='hd0,gpt2'
  257. if [ x$feature_platform_search_hint = xy ]; then
  258. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 7E26-1812
  259. else
  260. search --no-floppy --fs-uuid --set=root 7E26-1812
  261. fi
  262. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  263. }
  264. set timeout_style=menu
  265. if [ "${timeout}" = 0 ]; then
  266. set timeout=10
  267. fi
  268. ### END /etc/grub.d/30_os-prober ###
  269.  
  270. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  271. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  272. fwsetup
  273. }
  274. ### END /etc/grub.d/30_uefi-firmware ###
  275.  
  276. ### BEGIN /etc/grub.d/40_custom ###
  277. # This file provides an easy way to add custom menu entries. Simply type the
  278. # menu entries you want to add after this comment. Be careful not to change
  279. # the 'exec tail' line above.
  280. ### END /etc/grub.d/40_custom ###
  281.  
  282. ### BEGIN /etc/grub.d/41_custom ###
  283. if [ -f ${config_directory}/custom.cfg ]; then
  284. source ${config_directory}/custom.cfg
  285. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  286. source $prefix/custom.cfg;
  287. fi
  288. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement