Unsolved
This post is more than 5 years old
2 Posts
0
13219
November 25th, 2018 09:00
XPS15 Windows won't boot after installing Ubuntu (dual boot)
Hi, I was just following instructions on how to set up dual boot on my XPS 15 9570 (i9 core model) from these links:
Laptop came with Windows 10 pre-installed. I installed all available updates and drivers, including BIOS update, followed the steps from the links. I managed to install Ubuntu 18.04 and it's working, but I'm unable to boot Windows 10. Ubuntu will only see hard drive after changing SATA setting from RAID ON to AHCI - but after making this change, before I installed Ubuntu, I wasn't able to launch Windows either.
I'm getting below issues:
- inaccessible boot device (Windows blue screen), followed by BitLocker recovery key prompt that leads to system repair that fails
- SupportAssist issue (during restart, appears just after DELL logo): Thunderbolt PCle Device Enumeration Mode has Switched to Native
I managed to boot Windows in safe mode and I can see that there is 'Intel(R) 300 Series Chipset Family SATA AHCI Controller' in Device Manager - is there any other controller I need to install?
Do I need to restore to factory settings and start again or is there any way I can make this work, please? And if so, how do I make Windows 10 run in AHCI mode? Many thanks in advance.



Saltgrass
4 Operator
•
4.3K Posts
0
November 25th, 2018 18:00
Some of your situation may involve Grub. Did you use it to set up a dual boot?
The procedure to change the drive controller from RAID to AHCI requires you to boot into Safe Mode after making the change in the Bios. Are you able to do that?
If you installed Ubuntu in UEFI mode, you should be able to pick that boot manager or the Windows Boot Manager in the Boot Device Menu or F12 during boot. If you see that option and it works for Win 10, let us know. If you see the Win 10 option and it doesn't work, change the SATA controller to RAID and try again.
If you can get back into Windows, it is easy to change the controller to AHCI using msconfig.exe to set the system to boot into Safe Mode. Then reboot the system and change the controller and allow it to reboot into safe mode. Then set msconfig.exe to boot normally and a reboot should allow you to boot into Windows.
jphughan
9 Legend
•
14K Posts
0
November 25th, 2018 22:00
Changing from RAID to AHCI mode on an existing Windows installation will cause it not to boot properly. Normally that change is only made before installing an OS. I've read that there are ways that you can make that change on an existing installation to avoid a full reinstall, but I haven't looked into it in detail. But basically it involves booting into Safe Mode and then making some changes in Device Manager and/or the registry, after which Windows apparently boots normally again. Or you could just reinstall Windows now that you've switched to AHCI, then reinstall Ubuntu, after which both will boot fine. The reason to install Linux second is because Ubuntu is good about setting up dual boot if it detects an existing Windows installation, but Windows won't make any effort to set up dual boot to accommodate an existing Ubuntu installation.
The BitLocker prompt is probably happening because switching from RAID to AHCI would have changed the hardware profile of the system, which is causing the TPM's "platform integrity check" to fail, and therefore it's refusing to release the decryption key as a safety precaution in case the hardware change signifies that something may have been done to compromise the system to capture the decryption key if the TPM were to release it. But entering the Recovery Key once and a normal boot process should "re-seal" the TPM with the new hardware profile, after which it should work normally again.
azurite
2 Posts
0
November 28th, 2018 04:00
I went through that process twice. First time, after installing Ubuntu and reinstalling grub I changed SATA controller back from AHCI to RAID. Ubuntu was no longer booting, but I managed to get to Windows after few repairs, so I though it was a partial win. However, Dell's SupportAssist tool had serious issues scanning hard drive and was throwing unknown exceptions. I had to restore Windows - only factory reset worked. So I reformatted partition where Ubuntu used to live and started again.
Second time, I had exactly same issues with Windows not booting but I found these instructions on how to make Windows run in AHCI mode that worked for me: https://hetmanrecovery.com/recovery_news/how-to-enable-ahci-mode-for-sata-in-the-bios-without-reinstalling-windows.htm
What I did:
After restart it all worked - I'm able to boot both Windows 10 and Ubuntu.
But I'm still experiencing issue during restart:
CallmeJimmy95
3 Posts
0
December 25th, 2018 07:00
Hi mate,
Did you manage to get Ubuntu dual booting in the end? My problem is basically the same as yours !
I am unable to boot into Windows after installing Ubuntu (Windows it the base OS I have installed): But what partition settings did you use for Ubuntu? I used Ext4 but after installing Ubuntu; I am able to boot into Ubuntu but not Windows (same error as you, diagnoses & fails to fix error on startup)
EDIT: Got it working in the end. The step I was missing all along was creating a new partition for Linux within Windows instead of creating it during the Linux installer, which was what I was doing.
Slough100
9 Posts
0
May 14th, 2019 12:00
Rapha4321
1 Message
0
August 5th, 2019 00:00
I had a new Dell XPS 15, with Windows 10 installed. Followed the instructions from Dell to install Ubuntu; successful installation.
After reboot, I could not load Windows 10 from Grub. Then I went back into BIOS, and changed configuration back to SATA from ADHI and ensured the boot manager would load Linux first (i.e. the GRUB boot loader). After this change, I could load Windows 10 boot partition and dual boot successfully.