-
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

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE
$445.00

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD
$635.00

HPE ProLiant MicroServer Gen10 Opteron X3421 32GB DDR4 Intel X550 10GbE No HDD
$599.00

HP Proliant MicroServer HSTNS-5151 AMD Turion II Neo N40L CPU @ 1.50GHz 16Gb RAM
$174.99

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00