Many (most?) modern laptops have dedicated buttons to start up some linux derivative for quick web access and or recovery of windows (like the Sony VAIO SB).
I was wondering how difficult it would be to use these buttons to directly launch windows or linux or dualbooting systems?
I guess there would be a fair bit of hassle because different drivers would be needed for different laptops, but surely possible no?
Sounds minor but I'd love to be able to use different buttons to start up different OSs, save a couple of seconds of boot time(!) and half the time when I want to boot to windows, I forget to change the selection and have to restart when I hit the ubuntu logon screen!
-
-
ALLurGroceries  Vegan Vermin Super Moderator
I have seen this question posted about Asus laptops with the expressgate button, but in the end it isn't worth the trouble and I've never seen it done. I am positive it would be possible, but in the case of expressgate it needs a windows partition with the linux kernel on it, which is a bit ridiculous if you think about it (updating the kernel becomes an annoyance).
Why not just use the following settings in your /etc/default/grub to allow your last OS choice to be saved as the default across reboots?
First open up the config file in an editor as root, like this:
Code:gksudo gedit /etc/default/grub
Code:GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true
If you run this command you will get a numbered list of the items in your grub boot menu:
Code:grep ^menuentry /boot/grub/grub.cfg | nl -v0
Code:sudo grub-reboot 9
Documentation for these features can be found in this section of the grub manual: http://www.gnu.org/software/grub/manual/grub.html#Simple-configuration
Is it possible to start different OSs (win/linux) using dedicated laptop buttons?
Discussion in 'Linux Compatibility and Software' started by mzatanoskas, Jun 2, 2011.