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

Re: Grub feature request?



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.

--
  Les Mikesell
   lesmikesell gmail com


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