ValveSoftware / SteamOS

SteamOS community tracker
1.54k stars 69 forks source link

Use grub-reboot to offer dual-boot rebooting from within BPM #106

Open directhex opened 10 years ago

directhex commented 10 years ago

SteamOS users are supposed to use the Steam Controller

Steam Machine OEM partners will be shipping dual-boot machines (Digital Storm & Origin PC, at the very least)

Whether or not additional OSes can be booted is a known factor, based on the number of entries in /etc/grub.d/30_os-prober

GRUB doesn't support joypads, USB or otherwise

So why not parse the OS list and offer it as a submenu of BPM's "restart" option? That way you can pick "Windows" from within BPM using your joypad of choice. You're already using the "grub-reboot" command to pick an OS to boot when doing recovery partition capture, so this is technically feasible (other than the 'steam' user needing rights to run grub-reboot as root)

directhex commented 10 years ago

(And using grub-reboot rather than efibootmgr means it's BIOS/UEFI agnostic)

Plagman commented 10 years ago

Note that you can already navigate GRUB with the Steam controller and validate your choice.