Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Ubuntu - Windows 7 dual-boot set-up, and I would like to have it that my laptop would boot up Windows 7 unless I press down the Shift key right after boot and bring up the Grub2 menu from which I can choose Ubuntu.

I have tried playing around with combinations with the GRUB_TIMEOUT and GRUB_HIDDEN_TIMEOUT values, but to no avail. I tried setting the GRUB_HIDDEN_TIMEOUT higher than the GRUB_TIMEOUT thinking that both countdown start simultaneously, but no - GRUB_TIMEOUT only starts after the other is done.

Is this behavior achievable?

If so, how?

share|improve this question

You should be able to use keystatus – for example if keystatus --shift; then or similar – in grub.cfg to set the desired timeout.

share|improve this answer
    
Is there a way to set this in /etc/default/grub? – Bez Hermoso Mar 31 '12 at 1:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .