Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

18 Posts

5313

August 17th, 2021 12:00

XPS 8940, NVMe M.2 drive on PCIe 4x expansion card, does not work

XPS 8940 here, come with a Western digital PC SN520 NVMe (256GB).

Bought a Samsung 970 EVO Plus 1TB a few months after, removed the WD and installed the 970, no sweat.

I kept the WD for a few months in case the 970 would develop an issue, which did not happen.

So decided to reinstall the WD on a PCIe expansion card (M.2 NVME to PCI-E 3.0 4X with M key).

I tried to install but the desktop tries to boot a few times  then tell me there is a problem with the OS.

I guess it tries to boot from the WD on the expansion card instead of the 970.

Looked at the BIOS setting and 970 seems to be first in line in booting sequence.

By the way I bought a second expansion card thinking the first one was defective, same issue.

What is the best way to configure my BIOS, unless there is a limitation or issue preventing me to do what I want to do !

Thanks in advance.

10 Elder

 • 

44.6K Posts

August 17th, 2021 16:00

If BIOS (UEFI) is still set to RAID, you may also have to change that to resolve the problem, in addition to initializing the old SSD (ALL FILES DELETED!). You can't just open BIOS setup and make the change. You have to prepare Win 10 for the change. Otherwise, you'll end up having to do a clean install...

  1. From the desktop, open a Cmd prompt window, run as administrator

  2. Copy-paste this command, which will start Windows in Safe Mode the next time you reboot: bcdedit /set {current} safeboot minimal and press Enter

  3. Restart the computer and enter BIOS setup by tapping F2

  4. Change SATA operation mode from RAID to AHCI

  5. Save the change and exit Setup and Windows will automatically boot to Safe Mode

  6. Open Cmd window again, as in step #1

  7. Copy-paste this command, which will start Windows in Normal Mode the next time you reboot: bcdedit /deletevalue {current} safeboot and press Enter

  8. Reboot and Windows will automatically start with AHCI drivers enabled

  9. Now shut down and install the initialized old SSD

  10. Boot PC...

 

4 Operator

 • 

3.2K Posts

August 17th, 2021 13:00

@DroZ3 Have you tried booting using the F12 Boot Menu to select the 970? The problem could be either that the OS is still on the WD or that you cannot boot from an expansion card. If you are successful booting from the 970 using F12 you should reinitialize the WD to get rid of the OS and boot/EFI partition. 

1 Rookie

 • 

18 Posts

August 17th, 2021 13:00

@Vic384 I formatted the WD in NTFS to remove the OS. Let me reboot to confirm the boot sequence.

1 Rookie

 • 

18 Posts

August 17th, 2021 14:00

@Vic384 

By the way, goal is to continu booting from 970 and use WD as additional storage.

IMG_0632.jpg

4 Operator

 • 

3.2K Posts

August 17th, 2021 14:00

@DroZ3 Are you successful using F12 to boot from the 970? Until you reinitialize the WD, you will have to use F12 to make sure you boot from the 970.

I think you can reinitialize the WD by using Disk Management, but I like to use DiskPart. Here is how you use DiskPart: https://macrorit.com/partition-magic-manager/initialize-disk-gpt-mbr-from-cmd-diskpart.html

When using DiskPart, make sure you identify the correct drive using the 'list disk' command and make sure you select the correct drive by using the 'select disk' command. 

4 Operator

 • 

3.2K Posts

August 17th, 2021 14:00

@DroZ3 I  assume the WD is for additional storage. Formatting will get rid of the OS, but not the other partitions, such as the EFI partition. You may wish to read up on using DiskPart from the Command Prompt. Run Disk Management on the WD and see if other partitions remain.

1 Rookie

 • 

18 Posts

August 17th, 2021 14:00

you are right, I only did a format but forgot to delete the partitions ... duh.

Will do and tell you what happens, probably tomorrow.

5 Practitioner

 • 

2.4K Posts

August 18th, 2021 00:00

You need a disk format not a partition format

CMD as admin 

Diskpart 

List disk 

Assuming that WD is disk 1 

Select disk 1 

Clean 

 

Now you will have an allocated space in disk management and you can format it as you want. 

 

1 Rookie

 • 

18 Posts

August 19th, 2021 11:00

@Vic384 I tried F12 to boot from 970, but even after having selected 970 to boot the 8940 would still try to boot 3 times then gave me an error message.

@RoHe before I go forward with your procedure :

1- What do I gain and what do I lose if I switch from RAID to ACHI ?

2- Will this affect any of my 2 others disks already installed (1TB 970 on motherboard and 2TB SSD in expansion rack.

3- Is there a reason Dell has his setting at RAID out of the box ?

Thanks for the help guys.

4 Operator

 • 

3.2K Posts

August 19th, 2021 12:00

@DroZ3 Is there an option to make Windows Boot Manager the first option in the Boot Sequence instead of what you currently have (UEFI Samsung SSD 970 EVO Plus 1TB)? If there is a Windows Boot Manager option, try that.

1 Rookie

 • 

18 Posts

August 19th, 2021 12:00

@Vic384 ... Not sure I follow.

9 Legend

 • 

47K Posts

August 19th, 2021 13:00

If the SN 720 is a SATA M2 could be the reason it DOES NOT WORK with a PCI-E X4 card. The other reason could be that your system does not support PCI-E bifrucation and therefore multiple M2 drives is not possible without a controller.

M2 is a socket not a drive specification.

cards with B & M key are SATA.

cards with A & E key are Wifi.

when you put the M2 drive in a usb dock it can be CLEANED with diskpart removing all partitions.

If f2 Sata operation is set to AHCI then M2 drives work.  IF it is set to IRRT RAID optane mode M2 drives will not be seen by diskmgmt.msc.

m2 types.jpg

SN520.jpg

M2SSD.jpeg

4 Operator

 • 

3.2K Posts

August 19th, 2021 15:00

@DroZ3 In the BIOS you showed the first boot option as 'UEFI Samsung SSD 970 EVO Plus 1TB'. I wonder if you can change that option to Windows Boot Manager. I don't have an XPS 8940, so I don't know what the options are. In previous XPS models, the first boot option is usually Windows Boot Manager, that way if you insert a bootable USB or CD, the Windows Boot Manager will show the available boot devices in the F12 Boot Menu and you don't have to change the boot sequence in order to boot.

10 Elder

 • 

44.6K Posts

August 19th, 2021 15:00


@DroZ3 wrote:

@Vic384 I tried F12 to boot from 970, but even after having selected 970 to boot the 8940 would still try to boot 3 times then gave me an error message.

@RoHe before I go forward with your procedure :

1- What do I gain and what do I lose if I switch from RAID to ACHI ?

2- Will this affect any of my 2 others disks already installed (1TB 970 on motherboard and 2TB SSD in expansion rack.

3- Is there a reason Dell has his setting at RAID out of the box ?

Thanks for the help guys.


  1. You won't lose anything if you change BIOS to AHCI. It might (help) solve the problem if  Windows Boot Manager thinks the SSD in the x4 adapter is part of a RAID array, which causes it to fail to boot.

  2. Should have no effect on any other drives already installed since they're not in RAID arrays. RAID uses different drivers. So you do have change that SATA setting in the right way so AHCI drivers get installed into the OS on the SSD in the motherboard's M.2 slot. 

  3. Good question. It does make for one less manufacturing option because RAID can be used whether there's no array or when there is a RAID array, for example, between a HDD and an Intel Optane module that's used as cache to enhance HDD performance. If they defaulted to SATA Mode set to AHCI, they'd need to change that setting prior to setting up a system for RAID, and they'd need a different OS image that has the RAID drivers installed

1 Rookie

 • 

18 Posts

August 19th, 2021 18:00

@speedstep The X)S desktop bill of material was calling for a 256gb NVMe M.2, I have to assume the WD SSD is NVMe, unless Dell did a bait and switch, but I doubt it.
You said above the "cards with B&M key are SATA, but the image below shows a B&M key NVMe ... I am confused.

I formatted the WD at work with an M key USB adaptor but I forgot to delete the partition(s), if s), so the WD may not be as clean as I was thinking. I may have to go back at the office and use my IT Manager M key adaptor as I don't have one.

Gee, all of that for 256gb ... LOL.

No Events found!

Top