Menu

Feature Request: Boot from: LAST USED OS

Islam Adel
2014-05-21
2014-06-11
  • Islam Adel

    Islam Adel - 2014-05-21

    Currently I have a boot time of 20 Seconds
    I have two Operating Systems Mac and Windows.
    Default Boot OS: is now Windows.

    I would like rEFInd to Boot by default to last OS Booted.
    So if I choose manually to boot from Mac, the next reboot process will select Mac by Default after 20 Seconds.

    This Feature is very essential for us for automating software setup processes, which require several reboots on the same OS.

     
  • joevt

    joevt - 2014-05-21

    If you didn't use rEFInd then this wouldn't be a problem. You would use Startup Disk preferences panel in Mac OS X or Boot Camp control panel in Windows to set the default startup option.

    Generally, you don't need rEFInd unless you have more than one legacy OS on the same hard drive, or you want to boot a EFI loader that is not one of the standard loaders that the Mac's EFI knows about or the EFI loader is not on a filesystem that the Mac's EFI knows about.

    To implement your feature, rEFInd would need to be able to save the boot choice to a file system or to NVRAM. I guess it could use the same filesystem that it saves screen shots to if the NVRAM option is not possible. There would have to be some guarantee that the choice of filesystem won't change between boots (does egFindESP always get the same ESP?).

     
    • Islam Adel

      Islam Adel - 2014-06-04

      "To implement your feature, rEFInd would need to be able to save the boot choice to a file system"

      That is EXACTLY what I am looking for.
      This would make life much easier for us :)

       
  • Roderick W. Smith

    This is done; check out rEFInd version 0.8.2. (Note, however, that I overlooked one debugging line in the initial release, which caused rEFInd to prompt you to press a key before it would show you a menu. I've fixed this and re-released it. Anything you download now from SourceForge should be fine.) FWIW, the feature is implemented by saving the boot name to NVRAM and using it on the next boot as if you'd set it in default_selection.

     
  • Sergei

    Sergei - 2014-06-11

    Big thanks, Islam and Roderick for suggesting and implementing this great feature! I wish every boot manager in the world had it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.