Modifying grub.cfg

Goh Lip g.lip at gmx.com
Thu Mar 25 03:15:16 UTC 2010


On 03/25/2010 10:44 AM, Goh Lip wrote:

> Modifying the grub.cfg at /media/Booto/grub/........

To modify the grub.cfg, all entries before the d/10_linux entries can be 
deleted with the exception of the following

set default=0
set timeout=7
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 121658db-a541-4f6a-b5b2-2e626754c197

if loadfont /usr/share/grub/ascii.pf2 ; then
   set gfxmode=1152x864
   insmod gfxterm
   insmod vbe
   if terminal_output gfxterm ; then true ; else
     # For backward compatibility with versions of terminal.mod that don't
     # understand terminal_output
     terminal gfxterm
   fi
fi

set menu_color_normal=cyan/blue
set menu_color_highlight=yellow/blue


It is highly recommended that the following 2 functions be deleted from 
the grub.cfg
function savedefault
function recordfail

The following  can also be deleted unless you want to use non-english 
text for grub (or it can be left untouched)
set locale_dir=
set lang=en
insmod gettext


*important note*
the above two lines (lines #7 and #8) with (hd0,7) and UUID, please 
substitute with (hd0,x) and UUID of /media/Booto.


For modifying menu entries of the kernels....
in next message.







More information about the ubuntu-users mailing list