barjac

grub.cfg (labels)

Oct 27th, 2010
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by /usr/sbin/grub2-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. insmod ext2
  28. search --no-floppy --label --set 2010_1_64_root
  29. set locale_dir=($root)/boot/grub2/locale
  30. set lang=en
  31. insmod gettext
  32. set timeout=5
  33. ### END /etc/grub.d/00_header ###
  34.  
  35. ### BEGIN /etc/grub.d/10_linux ###
  36. menuentry "Mandriva GNU/Linux, with Linux 2.6.33.7-desktop-69mib" --class mandriva --class gnu-linux --class gnu --class os {
  37. insmod ext2
  38. search --no-floppy --label --set 2010_1_64_root
  39. echo Loading Linux 2.6.33.7-desktop-69mib ...
  40. linux /boot/vmlinuz-2.6.33.7-desktop-69mib root=LABEL=2010_1_64_root ro splash=silent
  41. echo Loading initial ramdisk ...
  42. initrd /boot/initrd-2.6.33.7-desktop-69mib.img
  43. }
  44. menuentry "Mandriva GNU/Linux, with Linux 2.6.33.7-desktop-2mnb" --class mandriva --class gnu-linux --class gnu --class os {
  45. insmod ext2
  46. search --no-floppy --label --set 2010_1_64_root
  47. echo Loading Linux 2.6.33.7-desktop-2mnb ...
  48. linux /boot/vmlinuz-2.6.33.7-desktop-2mnb root=LABEL=2010_1_64_root ro splash=silent
  49. echo Loading initial ramdisk ...
  50. initrd /boot/initrd-2.6.33.7-desktop-2mnb.img
  51. }
  52. menuentry "Mandriva GNU/Linux, with Linux 2.6.33.7-desktop-1mnb" --class mandriva --class gnu-linux --class gnu --class os {
  53. insmod ext2
  54. search --no-floppy --label --set 2010_1_64_root
  55. echo Loading Linux 2.6.33.7-desktop-1mnb ...
  56. linux /boot/vmlinuz-2.6.33.7-desktop-1mnb root=LABEL=2010_1_64_root ro splash=silent
  57. echo Loading initial ramdisk ...
  58. initrd /boot/initrd-2.6.33.7-desktop-1mnb.img
  59. }
  60. menuentry "Mandriva GNU/Linux, with Linux desktop" --class mandriva --class gnu-linux --class gnu --class os {
  61. insmod ext2
  62. search --no-floppy --label --set 2010_1_64_root
  63. echo Loading Linux desktop ...
  64. linux /boot/vmlinuz-desktop root=LABEL=2010_1_64_root ro splash=silent
  65. echo Loading initial ramdisk ...
  66. initrd /boot/initrd-desktop.img
  67. }
  68. ### END /etc/grub.d/10_linux ###
  69.  
  70. ### BEGIN /etc/grub.d/30_os-prober ###
  71. ### END /etc/grub.d/30_os-prober ###
  72.  
  73. ### BEGIN /etc/grub.d/40_custom ###
  74. # This file provides an easy way to add custom menu entries. Simply type the
  75. # menu entries you want to add after this comment. Be careful not to change
  76. # the 'exec tail' line above.
  77. ### END /etc/grub.d/40_custom ###
  78.  
  79. ### BEGIN /etc/grub.d/90_persistent ###
  80. ### END /etc/grub.d/90_persistent ###
Add Comment
Please, Sign In to add comment