testing a kernel with grub
I have a question on how to test a newly installed kernel with grub as the boot loader.The grub.conf looks like:
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.29)
root (hd0,0)
kernel /vmlinuz-2.4.29 ro root=/dev/hda7
initrd /initrd-2.4.29.img
title Red Hat Enterprise Linux ES (2.4.28)
root (hd0,0)
kernel /vmlinuz-2.4.28 ro root=/dev/hda7
initrd /initrd-2.4.28.img
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.29)
root (hd0,0)
kernel /vmlinuz-2.4.29 ro root=/dev/hda7
initrd /initrd-2.4.29.img
title Red Hat Enterprise Linux ES (2.4.28)
root (hd0,0)
kernel /vmlinuz-2.4.28 ro root=/dev/hda7
initrd /initrd-2.4.28.img
Can I simply type:
grub shell
grub> savedefault --default=0 --once
grub> quit
reboot
grub> savedefault --default=0 --once
grub> quit
reboot
Thanks for any advice