Q. How do I make an exact duplicate of a partition using Linux? I have brought a new hard disk and I would like make an exact duplicate of a NTFS filesystem located at /dev/hda1 to /dev/hdb1.
A. You can copy a file, converting and formatting using a dd command. Use same tool to make an exact copy of NTFS filesystem partition under Linux.
First make sure you have created /dev/hdb1 using Linux fdisk program. /dev/hdb1 partitions must be the exact same size of /dev/hda1 so that you create a direct raw copy of source.
Use fdisk -l command to view current /dev/hda1 partition size (cylinders).
# fdisk -l
Now use dd command as follows:
# dd if=/dev/hda1 of=/dev/hdb1
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 1 comment… read it below or add one }
Remember that the first sector in an NTFS partition has a copy of the “special hidden sectors” – so if you’re thinking os “starting” your copied partition on a different cylinder to the original, you’ll need to modify this too.