i did it but something's wrong[at starts shows 'old grub']
/boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub #
### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi
function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } set timeout=5 ### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ### menuentry "GNU/Linux, with Linux 2.6.34-slitaz" --class gnu-linux --class gnu --class os { insmod ext2 set root='(hd0,3)' search --no-floppy --fs-uuid --set c2d01292-8ad0-4a5c-95d4-f4f7629104f5 echo Loading Linux 2.6.34-slitaz ... linux /boot/vmlinuz-2.6.34-slitaz root=/dev/hda3 ro } menuentry "GNU/Linux, with Linux 2.6.34-slitaz (recovery mode)" --class gnu-linux --class gnu --class os { insmod ext2 set root='(hd0,3)' search --no-floppy --fs-uuid --set c2d01292-8ad0-4a5c-95d4-f4f7629104f5 echo Loading Linux 2.6.34-slitaz ... linux /boot/vmlinuz-2.6.34-slitaz root=/dev/hda3 ro single } ### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###