grubby

fuzzie1300 fuzzie1300 at optonline.net
Sun Nov 4 19:25:14 UTC 2007


How do I use grubby to set a kernel to boot once then reset to another
kernel?

Previously I did this on FC 5:

echo "savedefault --default=1 --once quit" | grub

grub.conf:
default saved
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title FC (2.6.18-1.2239.fc5smp)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2239.fc5smp ro root=/dev/rootvg/rootlv01
initrd /initrd-2.6.18-1.2239.fc5smp.img
savedefault

title Power Off
savedefault --default=0
halt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20071104/1d3c8ebb/attachment-0001.html 


More information about the users mailing list