Windows won't shut down after openSuse installation

Hello everyone,

I’ve just installed the latest opensuse, the 13.2, alongside windows 8. The trouble is that when I try to shut down windows, from the red GUI shut down button, it shuts the windows down only to restart it again immediately. It doesn’t look like a computer restart, as it won’t get me through the GRUB menu.

The only way to shut the computer I’ve found so far is to use the “Restart” button in windows in order to get a PC restart, choose opensuse in the GRUB menu and perform a computer shut down from linux. The computer is HP 450 laptop.

Does anyone have a solution to this? I would like very much to keep my windows installation.
I’m not a computer expert, I’m a linux newbie and it’s the first time I’m installing opensuse, after a brief, but not unpleasant experience with ubuntu.

Thanks for your attention,
Vasco

Welcome

First off need to know what kind of booting. Since it is Windows 8.X I assume EFI boot rather then the legacy but that is not a sure bet. Also Did you install openSUSE in legacy (MBR) or EFI boot mode. Mixing boot modes can cause strange happenings.

Hi gogalthorp,

Sorry if I’m not understanding the mechanics behind this.
I’m not sure about how I installed. I think I went with the recommended or default settings, except for manually creating /, swap and home partitions for linux. I formatted / and Home as XFS…

Is there any way to check what you are asking for?

If there’s any help, I see in Yast2 - boot loader the boot loader for GRUB 2 appears to be set in the extended partition.

Thank you.

Ok,

I’ve managed to get this from Windows : BIOS mode: Legacy

So it seems there’s one boot mode for my windows and another for linux, if I understand correctly?

If so, what are the ways I can solve my shutdown problem?

Thank you.

No there are two possible boot modes with an EFI BIOS. When you boot from an external device it will boot to the mode set in the BIOS you also have the option (usually F12 at boot check you manual) to select the other boot mode. When you install you boot the DVD or USB stick, if you boot to EFI mode things get default installed in that mode. So if the Installer booted to EFI mode that installation is an EFI boot. If Windows is installed in legacy (MBR boot) then you have one OS in EFI mode and one in legacy mode. This causes confusion in both systems You should not have 2 OS’s booting in different modes. You can check openSUSE, if you can boot into it. Go to Yast-boot loader (note you may get a scary message about being an expert ignore it just don’t change anything yet) See what it says the boot loader is if it says grub2-efi you installed it in EFI mode if just grub2 then it is in legacy mode also. Let us know someone can tell you how to deal with it once we know the facts.

Yast-boot loader says GRUB2.

Thank you.

Turn off the “fast boot” option in Windows 8.

I don’t know what is really broken. However, in Windows 8, a “shutdown” is about the same as hibernate. It doesn’t properly shutdown the file system. A reboot does properly shutdown the file system. If you disable “fast boot” in Windows, then it does the same on shutdown as on restart (with regard to file systems).

I don’t know whether this will fix your problem. But it is worth trying.

You sure. Extended Partition means you are having BIOS system with MBR.

I would rather prefer you go into Firmware (BIOS) settings while booting by pressing F2. Then verify whether you have BIOS or EFI and whether the firmware is in Legacy Mode or EFI Mode.

Windoze 8 has feature of fast-boot. Disable it by in Windows start cmd in administrator mode and enter following command

powercfg /h off

Whether fast-boot is culprit behind your current problem or not you disable fast-boot.

The setting in BIOS was legacy.

Turning Fast boot off in windows solved the problem.

Thank you all for your help!

On 2015-04-20 19:36, nrickert wrote:

> Turn off the “fast boot” option in Windows 8.
>
> I don’t know what is really broken. However, in Windows 8, a “shutdown”
> is about the same as hibernate. It doesn’t properly shutdown the file
> system. A reboot does properly shutdown the file system. If you
> disable “fast boot” in Windows, then it does the same on shutdown as on
> restart (with regard to file systems).
>
> I don’t know whether this will fix your problem. But it is worth
> trying.

Well, now we know that it did :slight_smile:

And this suggests some ideas. He said that he was booting from the
extended partition, legacy mode. Same as me. And I know that this
combination (standard MBR, extended partition marked bootable) breaks
hibernation in my Windows 7, and I guess also breaks it in W8 (because
the “right” partition is not marked bootable).

So I guess that what happened to the OP is that Windows tried to quick
power off, which in fact is an hibernation mode, fails, and returns to
the system. That is, Windows.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

A complete wild guess here.

Windows, on hibernation, wants check out booting (for recovery). When it cannot verify that booting is okay, it restarts without fully shutting down (similar to a “kexec” in linux).

Some of the boot control in Windows is in the BCD database. And it looks for that on the active partition. If the active partition is not a Windows partition, it can get confused. This would make it similar to the problem people have had with service packs, when the Windows partition is not the active one.

On 2015-04-21 03:26, nrickert wrote:
>
> robin_listas;2705967 Wrote:
>> So I guess that what happened to the OP is that Windows tried to quick
>> power off, which in fact is an hibernation mode, fails, and returns to
>> the system. That is, Windows.
>
> A complete wild guess here.
>
> Windows, on hibernation, wants check out booting (for recovery). When
> it cannot verify that booting is okay, it restarts without fully
> shutting down (similar to a “kexec” in linux).

Yes. that’s what’s happens to Vasco.

What happens to me, when I try to hibernate on W7, is that the screen
blacks out but fails to hibernate. On a keypress I get back to the
desktop, maybe with password request, I don’t remember.

> Some of the boot control in Windows is in the BCD database. And it
> looks for that on the active partition. If the active partition is not
> a Windows partition, it can get confused. This would make it similar to
> the problem people have had with service packs, when the Windows
> partition is not the active one.

Yes, it looks that way.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

How fast-boot works

Windows 8 doesn’t totally shut down when you click the Shut down command. Instead it only partially shuts down and partially hibernates. This is the Hybrid Shutdown part of the equation. Then, when you turn on your computer, Windows 8 starts very quickly because it only has to partially boot up and partially wake up.

From TechRepublic Article - How Windows 8 Hybrid Shutdown / Fast Boot feature works
So what fast boot does is leave hard disk in unsafe state and loads of other stuff.

The command for disabling fast boot/hybrid boot was taken from

**man mount**

Sorry not man mount but man ntfs-3g
ntfs-3g manual

Just curious.

  1. Did windows come preinstalled or did you install it later and in which mode.
  2. Is your firmware capable of efi mode. If it is, then why have you installed in legacy mode. You might get better performance if you install in EFI mode.

The firmware seems to be capable for efi. The Windows came preinstalled. But anyways, until yesterday I didn’t know what efi and legacy were. :slight_smile:
Indeed, I’m currently contemplating a reinstall in efi mode.

IMO if you have EFI mode use it legacy mode on some machines is not that great. Some machines are shipping without it.

This definitely needs a proof link.

If windows came preinstalled then it might have been installed in efi mode. And you installed openSUSE in legacy mode. Is that right.

Are you able to boot into both windows and openSUSE.

Did you ever change you firmware mode in firmware settings?