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.

I recently added a second hard drive to my computer and I am using it do dual-boot Linux (Ubuntu 12.04) with Windows 7. Both hard drives are SATA. I am using the default grub bootloader on my second hard drive. The windows drive is unmodified. To get to grub, I changed the hard disk boot priority in my BIOS (P35-DS3L) to boot from the second drive.

The problem I'm having is that when I boot to Windows 7 (on sda) from grub (on sdb), Windows 7 will not go to sleep (from the start menu). The display shuts off momentarily as if its going to sleep, then comes back on and displays the switch-user screen. Powercfg -lastwake does not show anything.

I am sure that this is related to booting from grub on sdb because when I change the hard disk boot priority in the BIOS to boot from my (unmodified) Windows hard disk, the computer goes to sleep fine.

It occurred to me that installing grub on sda might solve the problem, but I'd rather not since I like to have my windows hard disk unmodified so that booting to it from the BIOS boots directly to windows.

A possible work around is to use the BIOS as a bootloader, by pressing F8 to select the boot device. Still, I'd like to know why the problem is happening in the first place.

share|improve this question
add comment

1 Answer

I'm seeing a similar problem with Windows 8 and Ubuntu 12.04, but both OSes are installed onto the same HDD in different partitions.

If the Windows partition is active, shutdown works as expected.

If I make the Ubuntu partition active, and boot Windows 8 via grub, I can't shutdown (the screen turns black, and the HDD LED flickers for a bit, but the WiFi LED remains lit. If I touch a key or the trackpad, the screen wakes up, and I'm back into the Windows lock screen.

Interestingly, using the Windows "shutdown /s" command works, even when booting via grub.

share|improve this answer
    
I know that marking a partition as active works when you are dual-booting from a single hard drive, but it does not solve the problem for me when windows is on a separate hard drive. shutdown /s is a good suggestion that I have not tried, I'll have to see if that works. –  mkasberg Nov 2 '12 at 20:36
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.