Linux users - easy built in command to Image Windows partitions / disk

jimbo45

New member
Guru
Gold Member
VIP
Local time
10:50 PM
Messages
5,941
Location
Hafnarfjörður IS
Hi there
If you have access to a Linux system anywhere (including bootable USB live distros) and you want to image your Windows disks / partitions you can use a very simple Linux built in command

assume the Windows disk is mounted as /DEV/SDA and the device you want to copy it to is mounted as /DEV/SDB

Then open a terminal as root / super user / sudo

simply type in DD IF=/DEV/SDA OF=/DEV/SDB

It will do a byte to byte copy of the entire partition. Might take a little while but it's totally Free - and you can let this run while say you are watching TV. A Huge disk copy might take a couple of hours.

Doesn't care whether Disk is GPT / UEFI or what -- any type of partition is handled too = Linux just sees the disk as a collection of BYTES.

IF = Input file, OF = Output file --- don't get them the wrong way round or you'll kill your data !!

There's loads more operands but that's the basic and easiest command. The output device must be at least as large as the input one. - If it is a lot bigger then after you've done your backup you can re-size the partition with GPARTED or whatever to free up disk space.

To restore simply reverse the operands.

(I'd really go for a decent Windows backup solution - but ANY backup is better than none and this one while REALLY BASIC always give an exact copy byte for byte).

As I said -- ANY BACKUP is better than none so if you don't have any decent Windows Backup software this is as good as it gets -- Free macrium needs you to BOOT from a CD which is a bit annoying if you don't have any CD/DVD devices !!! the DD command can be run from any Linux system even a LIVE distro running from a USB device.

I think also FREE MACRIUM doesn't handle GPT drives either.

Cheers
jimbo
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Back
Top