motaik

grub.cfg

Jul 8th, 2021
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.66 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by 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. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12.   load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15.    set default="${next_entry}"
  16.    set next_entry=
  17.    save_env next_entry
  18.    set boot_once=true
  19. else
  20.    set default="0"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24.   menuentry_id_option="--id"
  25. else
  26.   menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32.   set saved_entry="${prev_saved_entry}"
  33.   save_env saved_entry
  34.   set prev_saved_entry=
  35.   save_env prev_saved_entry
  36.   set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40.   if [ -z "${boot_once}" ]; then
  41.     saved_entry="${chosen}"
  42.     save_env saved_entry
  43.   fi
  44. }
  45.  
  46. function load_video {
  47.   if [ x$feature_all_video_module = xy ]; then
  48.     insmod all_video
  49.   else
  50.     insmod efi_gop
  51.     insmod efi_uga
  52.     insmod ieee1275_fb
  53.     insmod vbe
  54.     insmod vga
  55.     insmod video_bochs
  56.     insmod video_cirrus
  57.   fi
  58. }
  59.  
  60. if [ x$feature_default_font_path = xy ] ; then
  61.    font=unicode
  62. else
  63. insmod part_gpt
  64. insmod btrfs
  65. if [ x$feature_platform_search_hint = xy ]; then
  66.   search --no-floppy --fs-uuid --set=root  66910a1e-e15c-4339-bd76-c87ff05e9b3b
  67. else
  68.   search --no-floppy --fs-uuid --set=root 66910a1e-e15c-4339-bd76-c87ff05e9b3b
  69. fi
  70.     font="/@/usr/share/grub/unicode.pf2"
  71. fi
  72.  
  73. if loadfont $font ; then
  74.   set gfxmode=desired_resolution,fallback_such_as_1024x768,auto
  75.   load_video
  76.   insmod gfxterm
  77.   set locale_dir=$prefix/locale
  78.   set lang=pt_BR
  79.   insmod gettext
  80. fi
  81. terminal_input console
  82. terminal_output gfxterm
  83. if [ x$feature_timeout_style = xy ] ; then
  84.   set timeout_style=menu
  85.   set timeout=5
  86. # Fallback normal timeout code in case the timeout_style feature is
  87. # unavailable.
  88. else
  89.   set timeout=5
  90. fi
  91. ### END /etc/grub.d/00_header ###
  92.  
  93. ### BEGIN /etc/grub.d/10_linux ###
  94. menuentry 'Peux OS i3' --class peux --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-66910a1e-e15c-4339-bd76-c87ff05e9b3b' {
  95.         load_video
  96.         set gfxpayload=keep
  97.         insmod gzio
  98.         insmod part_gpt
  99.         insmod btrfs
  100.         if [ x$feature_platform_search_hint = xy ]; then
  101.           search --no-floppy --fs-uuid --set=root  66910a1e-e15c-4339-bd76-c87ff05e9b3b
  102.         else
  103.           search --no-floppy --fs-uuid --set=root 66910a1e-e15c-4339-bd76-c87ff05e9b3b
  104.         fi
  105.         echo    'Loading Linux linux ...'
  106.         linux   /@/boot/vmlinuz-linux root=UUID=66910a1e-e15c-4339-bd76-c87ff05e9b3b rw rootflags=subvol=@  quiet splash loglevel=0 rd.systemd.show_status=false udev.log_priority=3 vt.global_cursor_default=0 vga=current
  107.         echo    'Loading initial ramdisk ...'
  108.         initrd  /@/boot/initramfs-linux.img
  109. }
  110. submenu 'Advanced options for Peux OS i3' $menuentry_id_option 'gnulinux-advanced-66910a1e-e15c-4339-bd76-c87ff05e9b3b' {
  111.         menuentry 'Peux OS i3, with Linux linux' --class peux --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-66910a1e-e15c-4339-bd76-c87ff05e9b3b' {
  112.                 load_video
  113.                 set gfxpayload=keep
  114.                 insmod gzio
  115.                 insmod part_gpt
  116.                 insmod btrfs
  117.                 if [ x$feature_platform_search_hint = xy ]; then
  118.                   search --no-floppy --fs-uuid --set=root  66910a1e-e15c-4339-bd76-c87ff05e9b3b
  119.                 else
  120.                   search --no-floppy --fs-uuid --set=root 66910a1e-e15c-4339-bd76-c87ff05e9b3b
  121.                 fi
  122.                 echo    'Loading Linux linux ...'
  123.                 linux   /@/boot/vmlinuz-linux root=UUID=66910a1e-e15c-4339-bd76-c87ff05e9b3b rw rootflags=subvol=@  quiet splash loglevel=0 rd.systemd.show_status=false udev.log_priority=3 vt.global_cursor_default=0 vga=current
  124.                 echo    'Loading initial ramdisk ...'
  125.                 initrd  /@/boot/initramfs-linux.img
  126.         }
  127. }
  128.  
  129. ### END /etc/grub.d/10_linux ###
  130.  
  131. ### BEGIN /etc/grub.d/20_linux_xen ###
  132. ### END /etc/grub.d/20_linux_xen ###
  133.  
  134. ### Begin /boot/grub/grub.cfg ###
  135.  
  136. menuentry "GNU/Linux, Linux 5.10.17-lfs-10.1" {
  137.         insmod ext2
  138.         set root=(hd0,7)
  139.         linux   /boot/vmlinuz-5.10.17-lfs-10.1 root=/dev/nvme0n1p7 ro
  140. }
  141.  
  142. ### BEGIN /etc/grub.d/30_os-prober ###
  143. menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-54FC-DF81' {
  144.         insmod part_gpt
  145.         insmod fat
  146.         if [ x$feature_platform_search_hint = xy ]; then
  147.           search --no-floppy --fs-uuid --set=root  54FC-DF81
  148.         else
  149.           search --no-floppy --fs-uuid --set=root 54FC-DF81
  150.         fi
  151.         chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  152. }
  153. ### END /etc/grub.d/30_os-prober ###
  154.  
  155. ### BEGIN /etc/grub.d/40_custom ###
  156. # This file provides an easy way to add custom menu entries.  Simply type the
  157. # menu entries you want to add after this comment.  Be careful not to change
  158. # the 'exec tail' line above.
  159. ### END /etc/grub.d/40_custom ###
  160.  
  161. ### BEGIN /etc/grub.d/41_custom ###
  162. if [ -f  ${config_directory}/custom.cfg ]; then
  163.   source ${config_directory}/custom.cfg
  164. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  165.   source $prefix/custom.cfg;
  166. fi
  167. ### END /etc/grub.d/41_custom ###
  168.  
  169. ### BEGIN /etc/grub.d/41_snapshots-btrfs ###
  170. submenu 'Peux OS Snapshots (MAX_LIMIT = 50)' {
  171.     configfile "${prefix}/grub-btrfs.cfg"
  172. }
  173. ### END /etc/grub.d/41_snapshots-btrfs ###
  174.  
  175. ### BEGIN /etc/grub.d/60_memtest86+ ###
  176. ### END /etc/grub.d/60_memtest86+ ###
  177.  
Advertisement
Add Comment
Please, Sign In to add comment