-
how to clone whole 120 gb disk with alll partitions to a ne
Hi, I have new 200 GB hdd and I would like to copy all partitions from old 120 GB one. I have mandrake, knoppix, fedora and slackware system partitions and few for storage (one ext3, one fat and one ntfs partition). How do I clone all this to new hdd with preserving system layout and it must work and boot as nothing changed!
Can I resize partitonsa on the fly, so when I copy one from old hdd to new one I define new size? Can I add extra space to one of the partitions or I can only add new partiton from extra 80 GB space?
-
Senior Member
registered user
You should be able to use tar on each partition, and then stick them on new partitions on the new drive (provided you don't change anything). You can use different partition sizes, but the stuff from hda1 on the first drive will still need to be in hda1 on the second drive (or else you'll need to change /etc/fstab and probably your bootloader too)
And you'll want to reinstall the bootloader to the MBR ion the new drive once you've transferred everything.
To create tarballs-
tar -cpvzf filename.tgz /dir /dir /dir /dir
Untarring tarballs-
cd to new location for files
tar -xpvzf filename.tgz
I believe this is pretty standard useage for tar, though the -p option preserves permissions and timestamps.
You can do the same thing in one stroke with dd, but I'm not familiar with the syntax.
-
Senior Member
registered user
Check out partimage. I recently started playing with it and it works great.
johnb
Similar Threads
-
By Highland in forum General Support
Replies: 8
Last Post: 03-24-2005, 03:53 PM
-
By chrisjhurl in forum Hardware & Booting
Replies: 3
Last Post: 08-06-2004, 01:26 PM
-
By Myster_fr in forum Customising & Remastering
Replies: 4
Last Post: 06-04-2004, 02:25 AM
-
By Cuddles in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 01-21-2004, 04:35 PM
-
By iconfly in forum General Support
Replies: 2
Last Post: 05-13-2003, 09:41 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor
$79.00

Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6
$14.99

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00

Intel SRG17 Core i7-9700T Desktop Processor CPU
$79.99

Intel Core i7-9700 SRG13 3.0 GHz Desktop CPU
$80.00

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW
$94.99

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Core i5-4590 Processor (3.3 GHz, 4 Cores, LGA 1150) - SR1QJ
$12.90

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99