Re: Grub feature request?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Les Mikesell wrote:
Mikkel L. Ellertson wrote:
Daniel B. Thurman wrote:
Is it possible to have the Grub gui (when it comes up)
to "remember" the last boot item chosen instead of
simply choosing the default?

I wonder if this would be a neat feature?

One way to do it would be to add the "savedefault" at the end of
each menu entry. (Or only the entries you want to be remembered.)

          title GNU/Linux
          root (hd0,0)
          kernel /boot/vmlinuz root=/dev/sda1
          initrd /boot/initrd
          savedefault


It would be even nicer if it could keep track of attempts and successes, so that after a couple of attempts without success (i.e. an update installed a new kernel as the default but it fails to boot), it could drop back to an entry that had been successful previously. That could help in headless situations or where the machine is remote and the best you can do is get someone else to punch the reset button.

1. read the docs. Be aware though that "boot" means "load the kernel." I don't see that it can help with crashing kernels.

2. Take a look at grub2.


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux