A Story About Booting My Computer

windows10

#1

Currently, I have Windows 10 Enterprise and Debian 10 Buster installed on my main desktop computer. I am forced to use Windows, because of

  1. work
  2. games
  3. trouble setting up 5 monitors to play well on Linux.

Since probably over a year or two, I have a very nasty problem with booting Windows. Everything is set up with GRUB2 and UEFI, as I usually did all the years I am multi-booting and yet only over the mentioned period of time it takes about 7 minutes to boot into Windows 10. Hibernation doesn’t work, neither does sleep. Not even restart works. The only things that work are shutdown and boot.
I already looked at the syslog during the operating system’s start up but it didn’t really make me smarter. All it showed was how long the boot time took, I didn’t find any indication for the cause of the prolonged boot time.

This problem persists for such a long time, because it is very nasty. The nastiest thing about it is the debugging process. Basically, if I wanted to fix that issue reliably, I’d need to test out different possible solutions and reboot every single time when applying each possible solution. So every try would take up about 7 minutes of not doing anything on the target computer, even though I need it for the reasons shown in the beginning.

Well, maybe your computer is just too old to run this rather new OS properly.

Specifications:

ASUS TUF Z370-PRO GAMING
Intel Core i7-8700K
Corsair Vengeance DDR4 2x8GB (16GB)
NVIDIA GeForce GTX 970
NVIDIA GeForce GTX 970
Transcend 119GB TS128GSSD320 (SSD, Windows System Drive)
Transcend 119GB TS128GSSD370S (SSD, Linux System Drive)

Additionally, I have an 8TB backup drive attached, which might cause slow downs during boot, but in 2019 nobody can tell me that the main OS of most people on earth can’t handle a bigger than usual disk.

On the other side, we have Debian Linux, which takes about 10 seconds to boot and it is actually able to hibernate, sleep and restart.

I posted this issue in fora, including superuser, already, but nobody could help in such a vaguely perceived issue.

I’m out of ideas and need a solution that works without me rebooting all day long to fix this issue.


#2

Reading carefully what you have put here. I am going to make this suggestion. It could be that somehow Windows has become corrupted, it does happen to it as I have uncounted that before. Having looked at your specs, that would be my “gut feeling” to look at first.

You may well have already tried these options, which given your experience you probably have done so. One would be to go to the drive that its on and right click on then chose, the scan and fix option there (not exactly sure if that is what it is called, but something like that). The other option is to to doing a system repair in windows which is found in the Windows Settings.

Microsoft used to have a Fix-it tool (the way they wrote it) I am not sure they still have which would sort things out. If you head over to the Microsoft site, it might still be there.

My last suggestion is to head here https://forum.thewindowsclub.com It is by far the best forum for Windows and is run by long standing MVPs . I am as sure as I can be that you will get the help there.

I hope you get your answer soon.


#3

Hi Akito,

Please supply the following details, and rudimentary test results, before I can offer an opinion. Though I strongly suspect your boot has become corrupted.

  1. Secure boot Enabled or Disabled (As Debian does boots up, I reckon Disabled)

  2. UEFI, Legacy or CSM with UEFI first boot mode. Should be UEFI.

  3. Partition schema of Windies, in UEFI it should read x4. Recovery @500Mb, UEFI @100Mb, M$ Rereserved @850Mb @ and C: @117Gb of your 119Gb disk.

  4. Remove Debian disk and the external 8Gb storage device, then test computer as a single boot machine, and hand time boot up, any improvement.?

NB You list your OS as Enterprise, Pro is usually considered the Gaming choice.

If boot is still slow

I recently sold a Dell SkyLake i7-6700, 16Gb ram, Dell/Radeon R5 GDDR5 graphic card, W10 Pro, this took @ 15 seconds to boot into desktop.

  1. If you still have your W10 Install Media, it has a repair function, but don’t hold your breathe. The auto-fix mode, is naff.

  2. Go to: https://www.microsoft.com/en-gb/software-download/windows10ISO or South African web page, the .com takes me to Uncle Sam’s site.

  3. To either Update your machine directly or create a W10 install media to USB3 stick (need 8Gb) to re-install.

:sunglasses:

Edit 16:51hrs

The dumb question I should have asked, Windoze was it installed first.


#4

You’re right, it is disabled.

Pure UEFI, no CSM is allowed on any of my machines. I still remember days of trouble just because of this hell called CSM.

499 MB NTFS OEM Partition
100MB EFI System Partition
118.64GB C:

I can test that, when I will be checking solutions.

Both are essentially same, except Enterprise has a few more distribution options (don’t remember exactly). Most important difference between Home and Pro is the group policy possibilities, as well as the possibility to turn off analytics and telemetrics.


#5

was this with the event viewer?


#6

Yes, I used the Event Viewer.


#7

event viewer can be so very hit and miss. i have found even new installations throw so many seemingly important system errors that it is hard to figure out which ones to focus on.

at the risk of sounding overly simplistic, have you taken a look in msconfig to see if there is a bunch of extra nonsense (granted, 10 minutes with your specs would be a metric ton of the stuff) running at startup? it has been a while since i worked with windows, but my recollection is that even after programs were uninstalled properly that didn’t mean errant processes and services from them didn’t still run.


#8

If I remember correctly, one of them is (some system) , where you can boot into another disk using your system, without windies secure boot and security getting its nickers in a twist.

:sunglasses:


#9

Oh, yeah right, now I remember that Windows on the Go was only availble for Enterprise, wasn’t it? I think that’s the best feature Windows added since a decade. Ironically, I didn’t yet have a use case for it.


#10

Its one of the redeeming features of Legacy mode, when I had a largish collection of redundant and surplus HDD’s, before selling them on eBay. I had an old Dell with a quick access, side opening, where I could swap out the HDD, install an OS, had about 20 plus different distros, with all the major DE, i.e LXDE, Xfce, Mate, Cinnamon, Gnome, TDE, KDE and Openbox.

:sunglasses:


#11

@akito,
could you do a test?

  • save all your work on WIN 10
  • open the command prompt as administrator
  • write bellow command and press enter:
  • Powercfg /hibernate off
  • shutdown your PC
  • Start again with WIN 10

I had a similar problem because of the hiberfil.sys ( the file where WIN10 writes everything before hibernates)

If you want to activate again the hibernate the command is Powercfg /hibernate on but have in mind your are writing a lot of MB (or BG) every time your PC hibernates and your are using a SSD disks

Please give the feedback…