UbuntuOne

Attachment 'grub.cfg'

Download

   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   set have_grubenv=true
  11   load_env
  12 fi
  13 set default="0"
  14 if [ "${prev_saved_entry}" ]; then
  15   set saved_entry="${prev_saved_entry}"
  16   save_env saved_entry
  17   set prev_saved_entry=
  18   save_env prev_saved_entry
  19   set boot_once=true
  20 fi
  21 
  22 function savedefault {
  23   if [ -z "${boot_once}" ]; then
  24     saved_entry="${chosen}"
  25     save_env saved_entry
  26   fi
  27 }
  28 
  29 function recordfail {
  30   set recordfail=1
  31   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  32 }
  33 
  34 function load_video {
  35   insmod vbe
  36   insmod vga
  37 }
  38 
  39 insmod part_msdos
  40 insmod ext2
  41 set root='(hd0,msdos1)'
  42 search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
  43 if loadfont /usr/share/grub/unicode.pf2 ; then
  44   set gfxmode=640x480
  45   load_video
  46   insmod gfxterm
  47 fi
  48 terminal_output gfxterm
  49 insmod part_msdos
  50 insmod ext2
  51 set root='(hd0,msdos1)'
  52 search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
  53 set locale_dir=($root)/boot/grub/locale
  54 set lang=pt
  55 insmod gettext
  56 if [ "${recordfail}" = 1 ]; then
  57   set timeout=-1
  58 else
  59   set timeout=10
  60 fi
  61 ### END /etc/grub.d/00_header ###
  62 
  63 ### BEGIN /etc/grub.d/05_debian_theme ###
  64 set menu_color_normal=white/black
  65 set menu_color_highlight=black/light-gray
  66 ### END /etc/grub.d/05_debian_theme ###
  67 
  68 ### BEGIN /etc/grub.d/10_linux ###
  69 menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  70 	recordfail
  71 	insmod part_msdos
  72 	insmod ext2
  73 	set root='(hd0,msdos1)'
  74 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
  75 	linux	/boot/vmlinuz-2.6.35-28-generic root=UUID=d628f0cc-4b53-438f-b777-e4f74efb3bd5 ro   quiet splash
  76 	initrd	/boot/initrd.img-2.6.35-28-generic
  77 }
  78 menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  79 	recordfail
  80 	insmod part_msdos
  81 	insmod ext2
  82 	set root='(hd0,msdos1)'
  83 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
  84 	echo	'Loading Linux 2.6.35-28-generic ...'
  85 	linux	/boot/vmlinuz-2.6.35-28-generic root=UUID=d628f0cc-4b53-438f-b777-e4f74efb3bd5 ro single 
  86 	echo	'Loading initial ramdisk ...'
  87 	initrd	/boot/initrd.img-2.6.35-28-generic
  88 }
  89 menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  90 	recordfail
  91 	insmod part_msdos
  92 	insmod ext2
  93 	set root='(hd0,msdos1)'
  94 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
  95 	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=d628f0cc-4b53-438f-b777-e4f74efb3bd5 ro   quiet splash
  96 	initrd	/boot/initrd.img-2.6.35-22-generic
  97 }
  98 menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  99 	recordfail
 100 	insmod part_msdos
 101 	insmod ext2
 102 	set root='(hd0,msdos1)'
 103 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
 104 	echo	'Loading Linux 2.6.35-22-generic ...'
 105 	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=d628f0cc-4b53-438f-b777-e4f74efb3bd5 ro single 
 106 	echo	'Loading initial ramdisk ...'
 107 	initrd	/boot/initrd.img-2.6.35-22-generic
 108 }
 109 ### END /etc/grub.d/10_linux ###
 110 
 111 ### BEGIN /etc/grub.d/20_linux_xen ###
 112 ### END /etc/grub.d/20_linux_xen ###
 113 
 114 ### BEGIN /etc/grub.d/20_memtest86+ ###
 115 menuentry "Memory test (memtest86+)" {
 116 	insmod part_msdos
 117 	insmod ext2
 118 	set root='(hd0,msdos1)'
 119 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
 120 	linux16	/boot/memtest86+.bin
 121 }
 122 menuentry "Memory test (memtest86+, serial console 115200)" {
 123 	insmod part_msdos
 124 	insmod ext2
 125 	set root='(hd0,msdos1)'
 126 	search --no-floppy --fs-uuid --set d628f0cc-4b53-438f-b777-e4f74efb3bd5
 127 	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
 128 }
 129 ### END /etc/grub.d/20_memtest86+ ###
 130 
 131 ### BEGIN /etc/grub.d/30_os-prober ###
 132 if [ "x${timeout}" != "x-1" ]; then
 133   if keystatus; then
 134     if keystatus --shift; then
 135       set timeout=-1
 136     else
 137       set timeout=0
 138     fi
 139   else
 140     if sleep --interruptible 3 ; then
 141       set timeout=0
 142     fi
 143   fi
 144 fi
 145 ### END /etc/grub.d/30_os-prober ###
 146 
 147 ### BEGIN /etc/grub.d/40_custom ###
 148 # This file provides an easy way to add custom menu entries.  Simply type the
 149 # menu entries you want to add after this comment.  Be careful not to change
 150 # the 'exec tail' line above.
 151 ### END /etc/grub.d/40_custom ###
 152 
 153 ### BEGIN /etc/grub.d/41_custom ###
 154 if [ -f  $prefix/custom.cfg ]; then
 155   source $prefix/custom.cfg;
 156 fi
 157 ### END /etc/grub.d/41_custom ###

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2011-03-28 07:59:43, 10.6 KB) [[attachment:contacts]]
  • [get | view] (2011-04-15 10:43:40, 4.5 KB) [[attachment:grub.cfg]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.