Advertisement
krax

Untitled

Jul 11th, 2011
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.51 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. 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 load_video {
  29.   insmod vbe
  30.   insmod vga
  31.   insmod video_bochs
  32.   insmod video_cirrus
  33. }
  34.  
  35. insmod part_gpt
  36. insmod ext2
  37. set root='(hd0,gpt3)'
  38. search --no-floppy --fs-uuid --set=root 96adb702-2619-4a61-9725-90434c50d394
  39. if loadfont /usr/share/grub/unicode.pf2 ; then
  40.   set gfxmode=640x480
  41.   load_video
  42.   insmod gfxterm
  43. fi
  44. terminal_output gfxterm
  45. insmod part_gpt
  46. insmod ext2
  47. set root='(hd0,gpt4)'
  48. search --no-floppy --fs-uuid --set=root 99e8fd32-d762-4fe9-a526-561bf909ba85
  49. set locale_dir=($root)/grub/locale
  50. set lang=en_GB
  51. insmod gettext
  52. set timeout=5
  53. ### END /etc/grub.d/00_header ###
  54.  
  55. ### BEGIN /etc/grub.d/10_linux ###
  56. menuentry 'Gentoo GNU/Linux, with Linux 2.6.39-gentoo-r2' --class gentoo --class gnu-linux --class gnu --class os {
  57.     load_video
  58.     insmod part_gpt
  59.     insmod ext2
  60.     set root='(hd0,gpt4)'
  61.     search --no-floppy --fs-uuid --set=root 99e8fd32-d762-4fe9-a526-561bf909ba85
  62.     echo    'Loading Linux 2.6.39-gentoo-r2 ...'
  63.     linux   /vmlinuz-2.6.39-gentoo-r2 root=/dev/sda3 ro  
  64. }
  65. menuentry 'Gentoo GNU/Linux, with Linux 2.6.39-gentoo-r2 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os {
  66.     load_video
  67.     insmod part_gpt
  68.     insmod ext2
  69.     set root='(hd0,gpt4)'
  70.     search --no-floppy --fs-uuid --set=root 99e8fd32-d762-4fe9-a526-561bf909ba85
  71.     echo    'Loading Linux 2.6.39-gentoo-r2 ...'
  72.     linux   /vmlinuz-2.6.39-gentoo-r2 root=/dev/sda3 ro single
  73. }
  74. ### END /etc/grub.d/10_linux ###
  75.  
  76. ### BEGIN /etc/grub.d/20_linux_xen ###
  77. ### END /etc/grub.d/20_linux_xen ###
  78.  
  79. ### BEGIN /etc/grub.d/30_os-prober ###
  80. ### END /etc/grub.d/30_os-prober ###
  81.  
  82. ### BEGIN /etc/grub.d/40_custom ###
  83. # This file provides an easy way to add custom menu entries.  Simply type the
  84. # menu entries you want to add after this comment.  Be careful not to change
  85. # the 'exec tail' line above.
  86. ### END /etc/grub.d/40_custom ###
  87.  
  88. ### BEGIN /etc/grub.d/41_custom ###
  89. if [ -f  $prefix/custom.cfg ]; then
  90.   source $prefix/custom.cfg;
  91. fi
  92. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement