Windows – Removing Raspberry Pi partitions from SD card

Monday, 23 October 2017 - Written by admin

C:\temp>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: PC014033

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
——– ————- ——- ——- — —
Disk 0 Online 167 GB 0 B
Disk 1 Online 7460 MB 5802 MB

MAKE SURE YOU SELECT THE CORRECT DISK OR YOU WILL WIPE THE WRONG ONE !!!

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> list part

Partition ### Type Size Offset
————- —————- ——- ——-
Partition 1 Primary 56 MB 4096 KB
Partition 0 Primary 1600 MB 60 MB

DISKPART> select part 1

Partition 1 is now the selected partition.

DISKPART> delete part

DiskPart successfully deleted the selected partition.

DISKPART> select part 1

Partition 1 is now the selected partition.

DISKPART> delete part

DiskPart successfully deleted the selected partition.

DISKPART> create part pri

DiskPart succeeded in creating the specified partition.

DISKPART> exit

Leaving DiskPart…

C:\temp>

(Visited 62 times, 1 visits today)