Ask a question and you will be sure to find an answer!

Question

Hi Friends,

I am building TS for installing Win10 1909 on Lenovo Desktop M920Q(10RR) model, which has 2 disks (NVMe & SATA), my problem is OS gets installs on Disk 1 (SATA). i want to install OS on Disk 0 (NVMe) and i am struggling to do so. I tried all different “Destination:” options available in Apply operating Systems step but no luck. 🙁

Below Steps are configured in my TS to format Disks.

Step 1 without any conditions:

Capture1 - How To Manage Devices Community Forum - Welcome to the world of Device Management! This is community build by Device Management Admins for Device Management Admins❤️ Ask your questions!! We are here to help you! - Ask a question and you will be sure to find an answer!

Step 2 without any conditions:

Capture2 - How To Manage Devices Community Forum - Welcome to the world of Device Management! This is community build by Device Management Admins for Device Management Admins❤️ Ask your questions!! We are here to help you! - Ask a question and you will be sure to find an answer!

Apply OS Step:

Capture4 - How To Manage Devices Community Forum - Welcome to the world of Device Management! This is community build by Device Management Admins for Device Management Admins❤️ Ask your questions!! We are here to help you! - Ask a question and you will be sure to find an answer!

Result:

Capture3 - How To Manage Devices Community Forum - Welcome to the world of Device Management! This is community build by Device Management Admins for Device Management Admins❤️ Ask your questions!! We are here to help you! - Ask a question and you will be sure to find an answer!

Diskpart output:

Microsoft DiskPart version 10.0.18362.1

Copyright (C) Microsoft Corporation.
On computer: DESKTOPS4QH3676

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
——– ————- ——- ——- — —
Disk 0 Online 238 GB 0 B *
Disk 1 Online 238 GB 0 B *

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> detail disk

WDC PC SN730 SDBQNTY-256G-1001
Disk ID: {CA76D19A-F008-4AF3-9E48-19C084E88EA3}
Type : NVMe
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1B00)#PCI(0000)#NVME(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 D NTFS Partition 238 GB Healthy

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> detail disk

SAMSUNG MZ7LH256HAJD-000L7
Disk ID: {CC2EF7A7-E5FE-44B3-807F-3926777ADDCF}
Type : SATA
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1700)#ATA(C00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 1 C Windows NTFS Partition 235 GB Healthy Boot
Volume 2 FAT32 Partition 500 MB Healthy System

DISKPART>

 

Please HELP !!

Thanks,

MG

 

solved 0
[email protected] 3 weeks 4 Answers 44 views Beginner 0

Answers ( 4 )

  1. Closing the thread as no response

  2. Below worked for me, but don’t know how 🙁
    i just changed the Disk number in both “Format & partition” step,

    1) in step 1, I set Disk number to 0 but configured the partition that i want on Disk 1.
    2) in Step 2, I set Disk number to 1 & configured partition that i want on disk 0.
    3) In Step 2, Configured Variable in “C:” Windows partition.
    4) Added same variable in apply OS step
    5) Below is the result (what I wanted), Partitions got created but in reverse order, partition configured for Disk 0 (in step1) got created on Disk 1 & partition configured for Disk 1 (in step 2) got created on Disk 0.

    Any idea why this is happening ?? I could not find reason for this in smsts.log file.

    • If you want to make disk 0 as your OS disk make that one only bootable and let the disk 1 be data disk.

      But if you get any model in which NVMe is at disk 1 then it will be a problem that’s why you have to add a condition in the steps which I mentioned to first check the disk drive is NVMe or not and it is at 0 or 1, then it should detect it according to condition and do the format and partition.

      Best answer
  3. During format and partition section create two groups , first when NVMe is disk 0 and second group when NVMe is disk1.

    Inside both group add format and partition step with conditions for first one select * from win32_diskdrive where Model like “%NVMe%” and Index=0
    For second one select * from win32_diskdrive where Model like “%NVMe%” and Index=1

    In both condition make that as bootable disk, so this will check the condition if NVMe is at disk 1 it will use that step or if NVMe is at disk 0 it will use that.

    I have tested it for dell models and it works fine.

Leave an answer

Sorry, you do not have a permission to answer to this question .