/build/static/layout/Breadcrumb_cap_w.png

Create Partitions as OEM Dell Drive (Optiplex 7010)

 Afternoon all,

I'm new to Diskpart and would like to see if anyone can create a script to create the following configuration. Reason being if we put a new drive in we'll want to mimic the partitions as close as possible.

Thank you -


0 Comments   [ + ] Show comments

Answers (1)

Posted by: SMal.tmcc 10 years ago
Red Belt
1

The hard part is recreating the OEM, but why do you even care about it. You will not the data to put back on the oem, just create the primaries.

create partition primary [size=n] [offset=n] [ID={byte|GUID}] [align=n][noerr]

ID={byte|GUID}

Intended for OEM use only.

CautionCaution
Creating partitions with this parameter might cause your computer to crash or be unable to start. Unless you are an OEM or an IT professional experienced with GPT disks, do not create partitions on GPT disks by using the ID=byte | GUID parameter. Instead, always use the create partition efi command to create EFI system partitions, the create partition msr command to create Microsoft Reserved Partitions, and the create partition primary command (without the ID=byte | GUID parameter) to create primary partitions on GPT disks.

use something like:

select disk 0
clean
create partition primary size=750
select partition 1
active
assign letter=d
create partition primary
select partition 2
assign letter=c
exit

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ