LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Grub/Gfxboot settings for different kernels - Ubuntu 8.04 (https://www.linuxquestions.org/questions/linux-hardware-18/grub-gfxboot-settings-for-different-kernels-ubuntu-8-04-a-694757/)

enrico_dvchp 01-03-2009 03:59 PM

Solved - Grub/Gfxboot settings for different kernels - Ubuntu 8.04
 
Hi all,
I've updated the kernel for my ubuntu hardy heron from 2.6.24-19 to 2.6.24-23. My question is: can I comment out the statements for the older kernel to simplify the menu or have I to leave all the strings there for some stability purpose? I think yes but I prefer to have some confirmations from you since I'm not a skill Linux user.
========MENU.LST===========
gfxmenu /boot/grub/message.ubuntumsk-1024x768
# splashimage=(hd0,2)/boot/grub/splashimages/red.xpm.gz
default 0
timeout 10

title Ubuntu 8.04.2, kernel 2.6.24-23-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet

title Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro single
initrd /boot/initrd.img-2.6.24-23-generic

title Ubuntu 8.04.2, kernel 2.6.24-19-generic // can I # this string?
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.2, kernel 2.6.24-19-generic (recovery mode)// can I # this string?
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.2, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

title Other operating systems:
root

title Microsoft Windows XP Professional
root (hd0,0)
chainloader +1
savedefault
makeactive
===========================

Thanks in advance

enrico dvchp:)

jailbait 01-03-2009 04:34 PM

Yes you can comment out the old kernel sections. I just delete them when I delete the old kernels from /boot.

---------------------
Steve Stites

enrico_dvchp 01-04-2009 09:28 AM

Solved:Grub/Gfxboot settings for different kernels - Ubuntu 8.04
I've commented out and all works well now.
Thanks a lot.


All times are GMT -5. The time now is 05:20 AM.