Jump to content

grub changing kernel

Recommended Posts

I was reading this https://www.linux-noob.com/forums/index.php?showtopic=2928 and have a unique situation.


I use MythDora 4 (Fedora Core 6 with MythTV distribution). Basically, in order to set the wake up time I set the clock, then I have to have system reboot into a kernel that halts the system so the clock in bios gets set properly. I had this working before in FC 5. But now it doesn't seem to like it anymore.


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


I get an error 15: file not found.


My grub.conf:


default saved
title MythDora (2.6.20-1.2944.fc6)
	root (hd0,0)
	kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.20-1.2944.fc6.img

title Power Off
  savedefault --default=0



For laughs I added the below after halt. This stopped the error 15, but default was still 0 at top.

   kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...