SHARE
TWEET

fstab and grub.cfg config xubuntu 14.4

a guest May 6th, 2014 235 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat /etc/fstab
  2. # /etc/fstab: static file system information.
  3. #
  4. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  5.  
  6. #Entry for /dev/sda5 :
  7. UUID=b39f06f4-5d98-48ad-ade0-8aebd697c264       /       ext4    errors=remount-ro       0       1
  8. #Entry for /dev/sda1 :
  9. UUID=F6E2BB1AE2BADDD5   /media/System_Reserved  ntfs-3g defaults,locale=el_GR.UTF-8     0       0
  10. #Entry for /dev/sda2 :
  11. UUID=CCDCBF6EDCBF5206   /media/ggia/Win7        ntfs-3g defaults,nosuid,nodev,locale=el_GR.UTF-8        0       0
  12. #Entry for /dev/sda6 :
  13. UUID=414a543d-d0c0-47c1-a8ae-f7115b35f1ac       none    swap    sw      0       0
  14.  
  15. cat /boot/grub/grub.cfg
  16. #
  17. # DO NOT EDIT THIS FILE
  18. #
  19. # It is automatically generated by grub-mkconfig using templates
  20. # from /etc/grub.d and settings from /etc/default/grub
  21. #
  22.  
  23. ### BEGIN /etc/grub.d/00_header ###
  24. if [ -s $prefix/grubenv ]; then
  25.   set have_grubenv=true
  26.   load_env
  27. fi
  28. if [ "${next_entry}" ] ; then
  29.    set default="${next_entry}"
  30.    set next_entry=
  31.    save_env next_entry
  32.    set boot_once=true
  33. else
  34.    set default="0"
  35. fi
  36.  
  37. if [ x"${feature_menuentry_id}" = xy ]; then
  38.   menuentry_id_option="--id"
  39. else
  40.   menuentry_id_option=""
  41. fi
  42.  
  43. export menuentry_id_option
  44.  
  45. if [ "${prev_saved_entry}" ]; then
  46.   set saved_entry="${prev_saved_entry}"
  47.   save_env saved_entry
  48.   set prev_saved_entry=
  49.   save_env prev_saved_entry
  50.   set boot_once=true
  51. fi
  52.  
  53. function savedefault {
  54.   if [ -z "${boot_once}" ]; then
  55.     saved_entry="${chosen}"
  56.     save_env saved_entry
  57.   fi
  58. }
  59. function recordfail {
  60.   set recordfail=1
  61.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  62. }
  63. function load_video {
  64.   if [ x$feature_all_video_module = xy ]; then
  65.     insmod all_video
  66.   else
  67.     insmod efi_gop
  68.     insmod efi_uga
  69.     insmod ieee1275_fb
  70.     insmod vbe
  71.     insmod vga
  72.     insmod video_bochs
  73.     insmod video_cirrus
  74.   fi
  75. }
  76.  
  77. if [ x$feature_default_font_path = xy ] ; then
  78.    font=unicode
  79. else
  80. insmod part_msdos
  81. insmod ext2
  82. set root='hd0,msdos5'
  83. if [ x$feature_platform_search_hint = xy ]; then
  84.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  85. else
  86.   search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  87. fi
  88.     font="/usr/share/grub/unicode.pf2"
  89. fi
  90.  
  91. if loadfont $font ; then
  92.   set gfxmode=auto
  93.   load_video
  94.   insmod gfxterm
  95.   set locale_dir=$prefix/locale
  96.   set lang=el_GR
  97.   insmod gettext
  98. fi
  99. terminal_output gfxterm
  100. if [ "${recordfail}" = 1 ] ; then
  101.   set timeout=-1
  102. else
  103.   if [ x$feature_timeout_style = xy ] ; then
  104.     set timeout_style=menu
  105.     set timeout=10
  106.   # Fallback normal timeout code in case the timeout_style feature is
  107.   # unavailable.
  108.   else
  109.     set timeout=10
  110.   fi
  111. fi
  112. ### END /etc/grub.d/00_header ###
  113.  
  114. ### BEGIN /etc/grub.d/05_debian_theme ###
  115. set menu_color_normal=white/black
  116. set menu_color_highlight=black/light-gray
  117. ### END /etc/grub.d/05_debian_theme ###
  118.  
  119. ### BEGIN /etc/grub.d/10_linux ###
  120. function gfxmode {
  121.         set gfxpayload="${1}"
  122.         if [ "${1}" = "keep" ]; then
  123.                 set vt_handoff=vt.handoff=7
  124.         else
  125.                 set vt_handoff=
  126.         fi
  127. }
  128. if [ "${recordfail}" != 1 ]; then
  129.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  130.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  131.       if [ ${match} = 0 ]; then
  132.         set linux_gfx_mode=keep
  133.       else
  134.         set linux_gfx_mode=text
  135.       fi
  136.     else
  137.       set linux_gfx_mode=text
  138.     fi
  139.   else
  140.     set linux_gfx_mode=keep
  141.   fi
  142. else
  143.   set linux_gfx_mode=text
  144. fi
  145. export linux_gfx_mode
  146. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b39f06f4-5d98-48ad-ade0-8aebd697c264' {
  147.         recordfail
  148.         load_video
  149.         gfxmode $linux_gfx_mode
  150.         insmod gzio
  151.         insmod part_msdos
  152.         insmod ext2
  153.         set root='hd0,msdos5'
  154.         if [ x$feature_platform_search_hint = xy ]; then
  155.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  156.         else
  157.           search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  158.         fi
  159.         linux   /boot/vmlinuz-3.13.0-24-generic root=UUID=b39f06f4-5d98-48ad-ade0-8aebd697c264 ro  quiet splash $vt_handoff
  160.         initrd  /boot/initrd.img-3.13.0-24-generic
  161. }
  162. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b39f06f4-5d98-48ad-ade0-8aebd697c264' {
  163.         menuentry 'Ubuntu, με Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-b39f06f4-5d98-48ad-ade0-8aebd697c264' {
  164.                 recordfail
  165.                 load_video
  166.                 gfxmode $linux_gfx_mode
  167.                 insmod gzio
  168.                 insmod part_msdos
  169.                 insmod ext2
  170.                 set root='hd0,msdos5'
  171.                 if [ x$feature_platform_search_hint = xy ]; then
  172.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  173.                 else
  174.                   search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  175.                 fi
  176.                 echo    'Φόρτωση Λίνουξ 3.13.0-24-generic ...'
  177.                 linux   /boot/vmlinuz-3.13.0-24-generic root=UUID=b39f06f4-5d98-48ad-ade0-8aebd697c264 ro  quiet splash $vt_handoff
  178.                 echo    'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
  179.                 initrd  /boot/initrd.img-3.13.0-24-generic
  180.         }
  181.         menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-b39f06f4-5d98-48ad-ade0-8aebd697c264' {
  182.                 recordfail
  183.                 load_video
  184.                 insmod gzio
  185.                 insmod part_msdos
  186.                 insmod ext2
  187.                 set root='hd0,msdos5'
  188.                 if [ x$feature_platform_search_hint = xy ]; then
  189.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  190.                 else
  191.                   search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  192.                 fi
  193.                 echo    'Φόρτωση Λίνουξ 3.13.0-24-generic ...'
  194.                 linux   /boot/vmlinuz-3.13.0-24-generic root=UUID=b39f06f4-5d98-48ad-ade0-8aebd697c264 ro recovery nomodeset
  195.                 echo    'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
  196.                 initrd  /boot/initrd.img-3.13.0-24-generic
  197.         }
  198. }
  199.  
  200. ### END /etc/grub.d/10_linux ###
  201.  
  202. ### BEGIN /etc/grub.d/20_linux_xen ###
  203.  
  204. ### END /etc/grub.d/20_linux_xen ###
  205.  
  206. ### BEGIN /etc/grub.d/20_memtest86+ ###
  207. menuentry 'Memory test (memtest86+)' {
  208.         insmod part_msdos
  209.         insmod ext2
  210.         set root='hd0,msdos5'
  211.         if [ x$feature_platform_search_hint = xy ]; then
  212.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  213.         else
  214.           search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  215.         fi
  216.         knetbsd /boot/memtest86+.elf
  217. }
  218. menuentry 'Memory test (memtest86+, serial console 115200)' {
  219.         insmod part_msdos
  220.         insmod ext2
  221.         set root='hd0,msdos5'
  222.         if [ x$feature_platform_search_hint = xy ]; then
  223.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b39f06f4-5d98-48ad-ade0-8aebd697c264
  224.         else
  225.           search --no-floppy --fs-uuid --set=root b39f06f4-5d98-48ad-ade0-8aebd697c264
  226.         fi
  227.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  228. }
  229. ### END /etc/grub.d/20_memtest86+ ###
  230.  
  231. ### BEGIN /etc/grub.d/30_os-prober ###
  232. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-F6E2BB1AE2BADDD5' {
  233.         insmod part_msdos
  234.         insmod ntfs
  235.         set root='hd0,msdos1'
  236.         if [ x$feature_platform_search_hint = xy ]; then
  237.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  F6E2BB1AE2BADDD5
  238.         else
  239.           search --no-floppy --fs-uuid --set=root F6E2BB1AE2BADDD5
  240.         fi
  241.         parttool ${root} hidden-
  242.         chainloader +1
  243. }
  244. set timeout_style=menu
  245. if [ "${timeout}" = 0 ]; then
  246.   set timeout=10
  247. fi
  248. ### END /etc/grub.d/30_os-prober ###
  249.  
  250. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  251. ### END /etc/grub.d/30_uefi-firmware ###
  252.  
  253. ### BEGIN /etc/grub.d/40_custom ###
  254. # This file provides an easy way to add custom menu entries.  Simply type the
  255. # menu entries you want to add after this comment.  Be careful not to change
  256. # the 'exec tail' line above.
  257. ### END /etc/grub.d/40_custom ###
  258.  
  259. ### BEGIN /etc/grub.d/41_custom ###
  260. if [ -f  ${config_directory}/custom.cfg ]; then
  261.   source ${config_directory}/custom.cfg
  262. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  263.   source $prefix/custom.cfg;
  264. fi
  265. ### END /etc/grub.d/41_custom ###
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