Very slow boot of Windows 10 after using openSUSE

Hello!
I just installed openSUSE Leap 42.3 on my Asus next to Windows 10 (dual boot). Everytime when I boot windows after having used openSUSE peviously, boot takes 5+ minutes. When I boot Windows after having used Windows, boot is quick as always. I haven’t found anything helpful in a google search so far, only tips on how to speed up boot in Win 10 in general, but those don’t help.
Any idea what could cause this? Let me know if you need more information.
Thanks in advance!

That’s probably due to windows fast boot. See https://www.windowscentral.com/how-disable-windows-10-fast-startup

Thanks for the answer, but no, fastboot has been deactivated… I let Windows performance analyser run during boot, but I have no idea how to read the output. Could you have a look at it? Or do you have any other suggestions what to do?

Hi, welcome

Let me make one thing very clear: openSUSE does by no means touch your Windows OS, hence not influence it’s boot time. Like Brunomci writes, I too suspect fast-boot

Hi
Maybe the OP’s system is automounting the windows partition with ntfs-3g (and perhaps failing) and perhaps not cleanly removing. Windows then goes through a file system check on boot.

@OP when shutting down windows, do you just do a shutdown, or a full shutdown, either via shutdown /s /t 5 or hold the shift-key and select shutdown to ensure the disk is not using fast-start… Also check the BIOS to ensure if there is an option for this to disable.

I’ll add a point of experience here.

I have Windows 8.1 installed. I turned off “fast-boot” a long time ago.

I rarely mount the Windows partition to my openSUSE system. When I tried recently, I got error messages suggesting a “fast-boot” problem.

I booted to windows and checked. And “fast-boot” was disabled. But, back in openSUSE, I still could not mount.

Finally, I disabled hibernation in Windows. And that fixed the problem.

So it looks to me as if Windows is cheating. It tells you that fast-boot is disabled, but it isn’t fully disabled until you also disable hibernation.

On Sun 18 Mar 2018 07:46:01 PM CDT, nrickert wrote:

I’ll add a point of experience here.

I have Windows 8.1 installed. I turned off “fast-boot” a long time ago.

I rarely mount the Windows partition to my openSUSE system. When I
tried recently, I got error messages suggesting a “fast-boot” problem.

I booted to windows and checked. And “fast-boot” was disabled. But,
back in openSUSE, I still could not mount.

Finally, I disabled hibernation in Windows. And that fixed the problem.

So it looks to me as if Windows is cheating. It tells you that
fast-boot is disabled, but it isn’t fully disabled until you also
disable hibernation.

Hi
That’s why I always add the shutdown command switches to ensure it
really does get rid of the hiberfile.sys…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.3|GNOME 3.20.2|4.4.114-42-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Yes, IIRC it’s not enough to disable it in windows. I had to disable something called “Intel Rapid Start” (or a similar name) in my daughter’s laptop UEFI/BIOS, or fast boot would turn back on when running windows 8.

Or perhaps it was related to the 32GB SSD the laptop used as a system/hibernation cache, that I re-purposed for /…

OP with an update here:

Situation changed: Boot is slow now even when starting after having used Windows…

  • fastboot is off
  • hibernation is off
  • no fastboot option in BIOS setup

It’s really funny: when I open the BIOS setup, don’t change anything and go to “save changes and exit”, boot takes normal amount of time.
Also, there are three boot options available, all of them called “Windows Boot Manager”. One of them leads to Grub, two of those to Windows boot.

Another thing: I manually changed the path of the boot manager to \EFI\opensuse\shim.efi because my BIOS does not allow to disable secure boot.

@brunomcl: How did you repurpose this SSD?? I tried the same on my laptop to no avail…

The 32GB SSD was used as cache for W8. I googled around for instructions and AFAIR I had to disable Intel Rapid something in BIOS, remove the Intel Rapid application (which was not trivial), disable fast boot in Windows and set shutdown to really shutdown, not to suspend nor hibernate. Not necessarily in this order, and maybe I also had to change the windows cache file (pagefile.sys IIRC) settings from the SSD too the HDD.

Note that possibly the SSD had two partitions, one for the pagefile and the other to cache most accessed applications, something similar to Intel’s optane.

Mind you, all that was two or three years ago, so details are a bit fuzzy.

Win 10 does VERY strange things to computers. I had a SSD with openSUSE which was turned off via BIOS (Dell Precision 7500 workstation). I added a Win 10 SSD and the OS after booting had no problem to “see” the SSD with openSUSE (although disabled in BIOS!). No comment, Microsoft… Can confirm that after booting the opensuse (win10 disabled in BIOS) the boot of Win 10 can take VERY long (several minutes until login screen). I don’t use Win 10 productively, I bought it with a used piece of hardware and only boot it if I want to get the creeps… Have fun and do a Wireshark during booting Win 10!

@ brunomcl: Thanks for the description.

General update: I restored Windows with a system image from before I had installed OpenSUSE. Starts fine with Fast Startup, but not without. Still takes about 5 mins, although the system is on an SSD…
So the OpenSUSE installation had definitely nothing to do with it! But since I have to deactivate Fast Startup when dual booting, I have to abandon OpenSUSE for now until I find a fix to speed up the Windows boot.
Thanks to all for the input!

Run Windows in a Virtual machine.