WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Blue screen of death on fresh install

Open jameschapman19 opened this issue 4 years ago • 20 comments

Version

Microsoft Windows 11

WSL Version

  • [ ] WSL 2
  • [ ] WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

Install windows 10 on reset device. Upgrade to windows 11. Do “wsl -install”. Restart.

Expected Behavior

Normal boot

Actual Behavior

Blue screen of death “inaccessible_boot_device”

Diagnostic Logs

No response

jameschapman19 avatar Sep 23 '22 13:09 jameschapman19

Could you please submit a feedback hub item? That will allow me to see dump files sent from your machine.

benhillis avatar Sep 23 '22 15:09 benhillis

What is a feedback hub item?

jameschapman19 avatar Sep 23 '22 15:09 jameschapman19

Ok I’m not able to do this because I literally can’t start the computer it just does a blue screen loop.

I’ve repeated the steps again:

Fresh install windows 10 Upgrade to windows 11 Install all updates Start following Ubuntu windows 11 instructions Check the box for Virtual Machine Platform First restart after doing this blue/green screen inaccessible boot device windows dead

jameschapman19 avatar Sep 23 '22 17:09 jameschapman19

Can you install Windows 11 directly without installing and upgrading from Windows 10?

Biswa96 avatar Sep 23 '22 17:09 Biswa96

No - dell recovery does windows 10

jameschapman19 avatar Sep 23 '22 17:09 jameschapman19

I am currently running a fresh install of Windows 11 22H2. I am also unable to boot after enabling the Virtual Machine Platform feature (or running wsl --install). The system asks for a reboot, that takes a long time and eventially results in a bluescreen 'inaccessible_boot_device'. After a few cycles of reboots the system goes into recovery mode. Booting into safe mode works and will remove the feature update automatically. After that booting is possible again but the Virtual Machine Platform is not installed.

No issues while enabling Hyper-V management tools . Virtualisation is enabled in the BIOS and the same machine was able to run WSL on Windows 10 and the previous version of Windows 11.

I was able to create a feedback hub item: https://aka.ms/AAidb20 (but this was after the recovery in safe mode).

PS C:\WINDOWS\system32> wsl --version
WSL-versie: 0.70.0.0
Kernelversie: 5.15.68.1
WSLg-versie: 1.0.45
MSRDC-versie: 1.2.3575
Direct3D-versie: 1.606.4
DXCore-versie: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows: 10.0.22621.674

BertKooij avatar Oct 14 '22 13:10 BertKooij

I am getting this too.

I am on a Dell laptop which was originally Windows 10. After updating to Windows 11 I joined the Insider Program Beta channel.

Whenever I try to install WSL or Virtual Machine platform I get a GSOD after reboot with inaccessible_boot_device as the error

JasonBSteele avatar Nov 08 '22 18:11 JasonBSteele

Boot in safe mode once and it will be fixed - no idea why thank me later!

jameschapman19 avatar Nov 08 '22 18:11 jameschapman19

Boot in safe mode once and it will be fixed - no idea why thank me later!

Haha, I actually tried that already! And while it does recover from the GSOD I still do not have WSL or VM Platform installed!

When I boot in safe mode I get a message on the screen saying there is a problem installing updates (presumably VM platform) and it rolls them back.

JasonBSteele avatar Nov 08 '22 18:11 JasonBSteele

I got the same thing - I installed Ubuntu from the store and then WSL via "wsl --install" in terminal as one normally would. And then hit restart as normal. When it gets to booting and says updates are happening, it'll BSOD with Inaccessible Boot Device.

I did try to run a repair on it, no luck. So I fresh installed.

Tried to install wsl again today before I reinstalled all my other stuff (did install drivers and Bitwarden app) -- same thing happened, BSOD Inaccessible Boot Device. Dell's SupportAssist preboot check says theirs no drive, but it is accessible via the recovery command prompt, I copied files off last night before the reinstall.

Dell 7590 with Windows 11 22h2 production/non-insider.

cadtek91 avatar Dec 08 '22 22:12 cadtek91

Today, I reinstalled again, my media creation drive has 21H2. I did wsl --install in the elevated terminal before the automatic updates started (so it was still on 21H2) and I did not get a BSOD this time. Logged in and it started the window with installing Ubuntu automatically 👍

So I feel like it's something with 22H2.

cadtek91 avatar Dec 08 '22 22:12 cadtek91

Sorry for leaving a another comment but... as the laptop rebooted for the installation of the 22H2 update, it happened again, same BSOD. Fortunately, it was able to "undo changes made to your system". I submitted a Feedback item - https://aka.ms/AAixyan

cadtek91 avatar Dec 09 '22 04:12 cadtek91

I got same problem with my dell Laptop. Updated from win 10 to win 11 and tried to Install docker Desktop leads to bsod with inaccessible_boot_device at restarting Windows. I tried a lot, and i could enclose the problem to wsl. When I tried to install wsl 2 Ubuntu, got same problems after win restart without any docker stuff. For me worked following:

  • Open BIOS (F12 at start) and set virtualization - direct i/o to false
  • Windows Feature: mark "virtual Platform"

Then just installed docker Desktop with wsl2 enabled and everythings works as expected. Good luckl

Pakl23 avatar Jan 20 '23 21:01 Pakl23

I got same problem with my dell Laptop. Updated from win 10 to win 11 and tried to Install docker Desktop leads to bsod with inaccessible_boot_device at restarting Windows. I tried a lot, and i could enclose the problem to wsl. When I tried to install wsl 2 Ubuntu, got same problems after win restart without any docker stuff. For me worked following:

  • Open BIOS (F12 at start) and set virtualization - direct i/o to false
  • Windows Feature: mark "virtual Platform"

Then just installed docker Desktop with wsl2 enabled and everythings works as expected. Good luckl

Works like charm! Thanks dude!

kaporal159 avatar Jan 22 '23 11:01 kaporal159

Thanks a lot, @Pakl23. This issue drove me nuts and I thought Windows 11 is incompatible with my 2019 Dell XPS.

andreaskienast avatar Feb 19 '23 11:02 andreaskienast

This worked well as well. The options in the BIOS where slightly different, but in the end it worked out well. Thanks!

grenoult avatar Mar 08 '23 05:03 grenoult

https://stackoverflow.com/a/75903390/8774448

I faced the same problem with my Lenovo X1 Extreme.

My problem was solved when I configure these things in BIOS.

Enter BIOS > Security > Virtualization > Set this values:

Kernel DMA Protection = Disabled
Intel virtualization technology = Enabled
Intel VT-d feature = Enabled
Enhanced Windows Biometric Security = Disabled

fareedfauzi avatar Mar 31 '23 23:03 fareedfauzi

I can confirm Kernel DMA Protection disabled as well as the enhanced biometric security worked with my Lenovo X1. Thank you so much fareedfauzi - this is the first place I've seen the Kernel DMA Protection mentioned as a possible solution after going through all the steps and multiple reboots everyone has done trying to solve this on their laptops. So relieved.

bristley avatar Apr 25 '23 00:04 bristley

Thank you so much for the fix @Pakl23, this issue drove me insane and i thought my dell xps won't ever run wsl 🥇

sunba23 avatar May 24 '23 20:05 sunba23

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!