DD for Ubuntu & Windows

  • DD on Ubuntu

kdoan-admin@kdoan-laptop:~$ sudo dd if=’/home/kdoan/Downloads/CentOS-7-x86_64-Minimal-1804.iso’ of=/dev/sdb[sudo] password for kdoan-admin:1855488+0 records in1855488+0 records out950009856 bytes (950 MB, 906 MiB) copied, 294.921 s, 3.2 MB/s

  • How to Use Windows Disk Partition:

C:\Windows\system32>diskpart
Microsoft DiskPart version 6.1.7601Copyright (C) 1999-2008 Microsoft Corporation.On computer: GAMING-PC
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt——– ————- ——- ——- — —Disk 0 Online 238 GB 0 B* Disk 1 Online 1898 MB 1897 MB
DISKPART> select disk 1
Disk 1 is now the selected disk.
# Note: sometimes disk must be cleaned several times for OS to recognize it
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=fat32 quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart…

  • How use DD for Windows

# Find the removable media path:C:\Windows\system32>dd –listrawwrite dd for windows version 1.0beta1 WIN64.Written by John Newbigin <jnewbigin@chrysocome.net>This program is covered by terms of the GPL Version 2.
Win32 Available Volume Information\\.\Volume{679e0884-4c68-11e5-b15e-806e6f6e6963}\link to \\?\Device\HarddiskVolume1fixed mediaNot mounted
\\.\Volume{2ea37b2c-9a5a-11e8-92dd-7824af3a405d}\link to \\?\Device\HarddiskVolume3removeable mediaMounted on \\.\d:
\\.\Volume{679e0885-4c68-11e5-b15e-806e6f6e6963}\link to \\?\Device\HarddiskVolume2fixed mediaMounted on \\.\c:

NT Block Device Objects\\?\Device\Harddisk0\Partition0link to \\?\Device\Harddisk0\DR0Fixed hard disk media. Block size = 512size is 256060514304 bytes\\?\Device\Harddisk0\Partition1link to \\?\Device\HarddiskVolume1\\?\Device\Harddisk0\Partition2link to \\?\Device\HarddiskVolume2\\?\Device\Harddisk1\Partition0link to \\?\Device\Harddisk1\DR1Removable media other than floppy. Block size = 512size is 1990197248 bytes\\?\Device\Harddisk1\Partition1link to \\?\Device\HarddiskVolume3Removable media other than floppy. Block size = 512size is 1990131712 bytes
Virtual input devices/dev/zero (null data)/dev/random (pseudo-random data)- (standard input)
Virtual output devices- (standard output)/dev/null (discard the data)
# Write onto D volumeC:\Windows\system32>dd if=C:\Users\Adrian\Desktop\CentOS-7-x86_64-Minimal-1804.iso of=\\.\d: bs=512rawwrite dd for windows version 1.0beta1 WIN64.Written by John Newbigin <jnewbigin@chrysocome.net>This program is covered by terms of the GPL Version 2.

Leave a Reply

Your email address will not be published. Required fields are marked *