SHARE
TWEET

Untitled

a guest Apr 9th, 2014 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [12:20:55][whoami--> ~]$sudo cat /boot/grub/grub.cfg
  2. Password:
  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. insmod part_gpt
  12. insmod part_msdos
  13. if [ -s $prefix/grubenv ]; then
  14.   load_env
  15. fi
  16. set default="${saved_entry}"
  17.  
  18. if [ x"${feature_menuentry_id}" = xy ]; then
  19.   menuentry_id_option="--id"
  20. else
  21.   menuentry_id_option=""
  22. fi
  23.  
  24. export menuentry_id_option
  25.  
  26. if [ "${prev_saved_entry}" ]; then
  27.   set saved_entry="${prev_saved_entry}"
  28.   save_env saved_entry
  29.   set prev_saved_entry=
  30.   save_env prev_saved_entry
  31.   set boot_once=true
  32. fi
  33.  
  34. function savedefault {
  35.   if [ -z "${boot_once}" ]; then
  36.     saved_entry="${chosen}"
  37.     save_env saved_entry
  38.   fi
  39. }
  40.  
  41. function load_video {
  42.   if [ x$feature_all_video_module = xy ]; then
  43.     insmod all_video
  44.   else
  45.     insmod efi_gop
  46.     insmod efi_uga
  47.     insmod ieee1275_fb
  48.     insmod vbe
  49.     insmod vga
  50.     insmod video_bochs
  51.     insmod video_cirrus
  52.   fi
  53. }
  54.  
  55. set menu_color_normal=light-blue/black
  56. set menu_color_highlight=light-cyan/blue
  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='hd0,msdos1'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  66. else
  67.   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  68. fi
  69.     font="/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73.   set gfxmode=auto
  74.   load_video
  75.   insmod gfxterm
  76.   set locale_dir=$prefix/locale
  77.   set lang=it_IT
  78.   insmod gettext
  79. fi
  80. terminal_input console
  81. terminal_output gfxterm
  82. insmod part_msdos
  83. insmod ext2
  84. set root='hd0,msdos1'
  85. if [ x$feature_platform_search_hint = xy ]; then
  86.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  87. else
  88.   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  89. fi
  90. insmod gfxmenu
  91. loadfont ($root)/usr/share/grub/themes/starfield/dejavu_10.pf2
  92. loadfont ($root)/usr/share/grub/themes/starfield/dejavu_12.pf2
  93. loadfont ($root)/usr/share/grub/themes/starfield/dejavu_14.pf2
  94. loadfont ($root)/usr/share/grub/themes/starfield/dejavu_16.pf2
  95. loadfont ($root)/usr/share/grub/themes/starfield/dejavu_bold_14.pf2
  96. insmod png
  97. set theme=($root)/usr/share/grub/themes/starfield/theme.txt
  98. export theme
  99. set timeout=5
  100. ### END /etc/grub.d/00_header ###
  101.  
  102. ### BEGIN /etc/grub.d/10_linux ###
  103. menuentry 'Chakra Linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-513b735c-dac1-432f-9857-16ba9fc11856' {
  104.         savedefault
  105.         load_video
  106.         set gfxpayload=keep
  107.         insmod gzio
  108.         insmod part_msdos
  109.         insmod ext2
  110.         set root='hd0,msdos1'
  111.         if [ x$feature_platform_search_hint = xy ]; then
  112.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  113.         else
  114.           search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  115.         fi
  116.         echo    'Caricamento Linux pf...'
  117.         linux   /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro  rw resume=/dev/sda2 elevator=bfq
  118.         echo    'Caricamento ramdisk iniziale...'
  119.         initrd  /boot/initramfs-linux-pf.img
  120. }
  121. submenu 'Opzioni avanzate per Chakra Linux' $menuentry_id_option 'gnulinux-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
  122.         menuentry 'Chakra Linux, con Linux pf' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-pf-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
  123.         savedefault
  124.                 load_video
  125.                 set gfxpayload=keep
  126.                 insmod gzio
  127.                 insmod part_msdos
  128.                 insmod ext2
  129.                 set root='hd0,msdos1'
  130.                 if [ x$feature_platform_search_hint = xy ]; then
  131.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  132.                 else
  133.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  134.                 fi
  135.                 echo    'Caricamento Linux pf...'
  136.                 linux   /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro  rw resume=/dev/sda2 elevator=bfq
  137.                 echo    'Caricamento ramdisk iniziale...'
  138.                 initrd  /boot/initramfs-linux-pf.img
  139.         }
  140.         menuentry 'Chakra Linux, con Linux pf (modalit√† ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-pf-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
  141.                 load_video
  142.                 set gfxpayload=keep
  143.                 insmod gzio
  144.                 insmod part_msdos
  145.                 insmod ext2
  146.                 set root='hd0,msdos1'
  147.                 if [ x$feature_platform_search_hint = xy ]; then
  148.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  149.                 else
  150.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  151.                 fi
  152.                 echo    'Caricamento Linux pf...'
  153.                 linux   /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
  154.                 echo    'Caricamento ramdisk iniziale...'
  155.                 initrd  /boot/initramfs-linux-pf.img
  156.         }
  157.         menuentry 'Chakra Linux, con Linux ck' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
  158.         savedefault
  159.                 load_video
  160.                 set gfxpayload=keep
  161.                 insmod gzio
  162.                 insmod part_msdos
  163.                 insmod ext2
  164.                 set root='hd0,msdos1'
  165.                 if [ x$feature_platform_search_hint = xy ]; then
  166.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  167.                 else
  168.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  169.                 fi
  170.                 echo    'Caricamento Linux ck...'
  171.                 linux   /boot/vmlinuz-linux-ck root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro  rw resume=/dev/sda2 elevator=bfq
  172.                 echo    'Caricamento ramdisk iniziale...'
  173.                 initrd  /boot/initramfs-linux-ck.img
  174.         }
  175.         menuentry 'Chakra Linux, con Linux ck (modalit√† ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
  176.                 load_video
  177.                 set gfxpayload=keep
  178.                 insmod gzio
  179.                 insmod part_msdos
  180.                 insmod ext2
  181.                 set root='hd0,msdos1'
  182.                 if [ x$feature_platform_search_hint = xy ]; then
  183.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  184.                 else
  185.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  186.                 fi
  187.                 echo    'Caricamento Linux ck...'
  188.                 linux   /boot/vmlinuz-linux-ck root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
  189.                 echo    'Caricamento ramdisk iniziale...'
  190.                 initrd  /boot/initramfs-linux-ck.img
  191.         }
  192.         menuentry 'Chakra Linux, con Linux linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
  193.         savedefault
  194.                 load_video
  195.                 set gfxpayload=keep
  196.                 insmod gzio
  197.                 insmod part_msdos
  198.                 insmod ext2
  199.                 set root='hd0,msdos1'
  200.                 if [ x$feature_platform_search_hint = xy ]; then
  201.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  202.                 else
  203.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  204.                 fi
  205.                 echo    'Caricamento Linux linux...'
  206.                 linux   /boot/vmlinuz-linux root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro  rw resume=/dev/sda2 elevator=bfq
  207.                 echo    'Caricamento ramdisk iniziale...'
  208.                 initrd  /boot/initramfs-linux.img
  209.         }
  210.         menuentry 'Chakra Linux, con Linux linux (modalit√† ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
  211.                 load_video
  212.                 set gfxpayload=keep
  213.                 insmod gzio
  214.                 insmod part_msdos
  215.                 insmod ext2
  216.                 set root='hd0,msdos1'
  217.                 if [ x$feature_platform_search_hint = xy ]; then
  218.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  513b735c-dac1-432f-9857-16ba9fc11856
  219.                 else
  220.                   search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
  221.                 fi
  222.                 echo    'Caricamento Linux linux...'
  223.                 linux   /boot/vmlinuz-linux root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
  224.                 echo    'Caricamento ramdisk iniziale...'
  225.                 initrd  /boot/initramfs-linux.img
  226.         }
  227. }
  228.  
  229. ### END /etc/grub.d/10_linux ###
  230.  
  231. ### BEGIN /etc/grub.d/20_linux_xen ###
  232. ### END /etc/grub.d/20_linux_xen ###
  233.  
  234. ### BEGIN /etc/grub.d/30_os-prober ###
  235. ### END /etc/grub.d/30_os-prober ###
  236.  
  237. ### BEGIN /etc/grub.d/40_custom ###
  238. # This file provides an easy way to add custom menu entries.  Simply type the
  239. # menu entries you want to add after this comment.  Be careful not to change
  240. # the 'exec tail' line above.
  241.  
  242.  
  243. ### END /etc/grub.d/40_custom ###
  244.  
  245. ### BEGIN /etc/grub.d/41_custom ###
  246. if [ -f  ${config_directory}/custom.cfg ]; then
  247.   source ${config_directory}/custom.cfg
  248. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  249.   source $prefix/custom.cfg;
  250. fi
  251. ### END /etc/grub.d/41_custom ###
  252.  
  253. ---------------------------------------------------------------------------------------------------
  254. [14:06:01][whoami--> ~]$cat /etc/default/grub
  255. GRUB_DEFAULT=saved
  256. GRUB_TIMEOUT=5
  257. GRUB_DISTRIBUTOR="Chakra"
  258. GRUB_CMDLINE_LINUX_DEFAULT="rw resume=/dev/sda2 elevator=bfq"
  259. GRUB_CMDLINE_LINUX=""
  260.  
  261. # If you want to enable the save default function, uncomment the following
  262. # line, and set GRUB_DEFAULT to saved.
  263. GRUB_SAVEDEFAULT=true
  264.  
  265. # Preload both GPT and MBR modules so that they are not missed
  266. GRUB_PRELOAD_MODULES="part_gpt part_msdos"
  267.  
  268. # Uncomment to enable Hidden Menu, and optionally hide the timeout count
  269. #GRUB_HIDDEN_TIMEOUT=5
  270. #GRUB_HIDDEN_TIMEOUT_QUIET=true
  271.  
  272. # Uncomment to use basic console
  273. GRUB_TERMINAL_INPUT=console
  274.  
  275. # Uncomment to disable graphical terminal
  276. #GRUB_TERMINAL_OUTPUT=console
  277.  
  278. # The resolution used on graphical terminal
  279. # note that you can use only modes which your graphic card supports via VBE
  280. # you can see them in real GRUB with the command `vbeinfo'
  281. #GRUB_GFXMODE=640x480
  282.  
  283. # Uncomment to allow the kernel use the same resolution used by grub
  284. GRUB_GFXPAYLOAD_LINUX=keep
  285.  
  286. # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
  287. # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
  288. #GRUB_DISABLE_LINUX_UUID=true
  289.  
  290. # Uncomment to disable generation of recovery mode menu entries
  291. #GRUB_DISABLE_RECOVERY=true
  292.  
  293. # Uncomment and set to the desired menu colors.  Used by normal and wallpaper
  294. # modes only.  Entries specified as foreground/background.
  295. GRUB_COLOR_NORMAL="light-blue/black"
  296. GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
  297.  
  298. # Uncomment one of them for the gfx desired, a image background or a gfxtheme
  299. #GRUB_BACKGROUND="/path/to/wallpaper"
  300. GRUB_THEME="/usr/share/grub/themes/starfield/theme.txt"
  301.  
  302. # Uncomment to get a beep at GRUB start
  303. #GRUB_INIT_TUNE="480 440 1"
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