Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After installing Windows 8 and Arch Linux as dual boot everything worked pretty well. However if I happen to close my laptop lid while in Win8 (the comp goes to standby mode) and then reopen my computer later Grub is opened as if the computer was restarted instead of just stand by.

My problem is that I have an ntfs partition in my fstab and if there is some traces in the partition that Windows still uses it then Arch boot fails and goes to recovery mode.

As such is there a way to make it so that when returning from standby it would start directly to Windows (as normally happens) instead of opening Grub?

share|improve this question
    
Does it resume ok if you choose win 8 from grub? –  parkydr Jun 4 '13 at 6:48
    
It does. Usually I just don't eyeball the process so Grub will automatically load the default OS which in my case is Arch. –  Grietom Jun 4 '13 at 7:29
add comment

1 Answer

I think what you need is this: https://wiki.archlinux.org/index.php/GRUB#Recall_previous_entry

You set

GRUB_DEFAULT=saved

and

GRUB_SAVEDEFAULT=true

in /etc/default/grub (and re-create the Grub config). This will make Grub remember your last used OS, and thus if Windows hibernates (or crashes) it will automatically boot back into Windows, same with Linux.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.