0

I just got a Dell XPS 17 that came with an SSD with Windows installed. I bought a second SSD to install Ubuntu 20.04 onto. After installing Ubuntu the first time using the default partitioning option everything worked fine except that grub would never appear so I would need to switch between the two in the BIOS. I tried reinstalling Ubuntu and used the 'something else' option to install and make my own partitions on the second SSD. Grub would appear fine but now I can't see my Windows SSD in the BIOS. In gparted it also labels the SSD as unallocated space.

I think I did most of what you're supposed to do to get the dual boot to work and I'll attempt to list some of the relevant things I've tried although I don't think I'll remember them all.

  1. I changed the storage settings from RAID to AHCI and set whatever Windows settings were needed to support that. I was able to get Windows to boot after making those changes and confirmed that it worked correctly through device manager.
  2. Disabled secure boot
  3. Disabled fastboot in Windows

There were probably some others but I'm not sure.

So the part that I'm really confused about that since installing Ubuntu the second time it's as if my Windows SSD is does not contain Windows anymore or at least it isn't recognized as bootable. I'm quite certain that I made no changes to the Windows SSD during the Ubuntu installation. But now both the BIOS and gparted don't recognize the SSD as having Windows on it. Additionally, while doing research on this a lot of people recommended for similar things that you make a manual entry in the grub settings. As a part of that you need to get the UUID of the SSD using blkid. However when I run blkid the SSD that should have Windows on it shows no UUID only a PTUUID. The exact entry is:

/dev/nvme0n1: PTUUID"<the PTUUID>" PTTYPE="gpt"

I'm not sure if that's relevant but I thought it was strange.

Sorry if this isn't too well formed, I've forgotten a lot of what I did during the last 4 hours and I'm not an expert with bootloaders. If there's any other useful information I can provide please let me know and I can update this post. Thank you in advance!

  • 1
    When you change to AHCI, you have to have Windows AHCI drivers installed. Windows AHCI instructions - some have found safeboot method better https://www.dell.com/community/Laptops-General-Read-Only/Dell-M-2-FAQ-regarding-AHCI-vs-RAID-ON-Storage-Drivers-M-2-Lanes/td-p/5072571 & https://askubuntu.com/questions/1233623/workaround-to-install-ubuntu-20-04-with-intel-rst-systems But if you do a safe boot first, then boot to BIOS and change to AHCI and finally boot normally, it works https://discourse.ubuntu.com/t/ubuntu-installation-on-computers-with-intel-r-rst-enabled/15347 – oldfred Jun 15 '21 at 03:31
  • Best to remove the Windows drive when installing Ubuntu to a second drive. You can't break what isn't there. – C.S.Cameron Jun 15 '21 at 03:31
  • 1
    Many UEFI also have a setting for drives besides AHCI & RAID as "disabled". So then you do not have to physically disconnect a NVMe drive as they are not as accessible in many systems. If drive not shown, this may not show anything: Lets see details, use ppa version with your live installer (2nd option) or any working install, not Boot-Repair ISO: Please copy & paste the pastebin link to the Boot-info summary report ( do not post report), do not run the auto fix till reviewed. https://help.ubuntu.com/community/Boot-Repair – oldfred Jun 15 '21 at 14:10
  • Thank you all for the tips. I believe what happened was that I removed the windows drive and must've booted into Ubuntu which deleted the record of the Windows drive in the BIOS (or something like that). I know this won't work for everyone but I ended up just creating a bootable Windows 10 drive and reinstalling windows. I'm lucky that this was a new computer and didn't delete any important data. – coltripen Jun 17 '21 at 14:34

0 Answers0