<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have never used clonezilla. And unless I wanted to take the time and
effort to learn it, I'd do it by hand.<br>
<br>
Assuming that the new 500G disk is in the machine as sda and the old
250G is in a USB enclosure as sdb, this is what I would do:<br>
<br>
[1] Boot the Mandriva Linux install media.On the step before the disk
partitioning go to Virtual Console 2 with CTRL ALT F2<br>
[2] Print or write down both disk labels: fdisk -l /dev/sda; fdisk -l
/dev/sdb<br>
[3] Create sda1 and sda2 to exactly match sdb1 and sdb2 using fdisk.<br>
[4] Create sda3 with the same length as sdb4. Put the ntfs DATA
partition here, following the Gateway and OS partitions.<br>
[5] Make sdb4 be an Extended Partition. Carve it up the say you want.
Remember that you will have an additional 250G to play with, so you
can either add new partitions, or make an extra LVM space to carve up.<br>
[6] Copy the Gateway and OS Partitions via dd: cd /dev; dd if=sdb1
of=sda2; dd if=sdb2 of=sda2 bs=63b<br>
[7] Unmount everything and do a fresh install of Mandriva. Merge what
is on sda5 by hand. Set up grub.<br>
[8] Move /home via rsync. Do it twice, as sometimes it gets confused
and craps out.<br>
[9] Boot Windows and copy the DATA partition using the File Manager.
COPY rather than move, and you have a Backup.<br>
<br>
JIM<br>
<br>
On 7/5/2010 2:59 PM, mhartwx wrote:
<blockquote cite="mid:4C322BA8.2070505@verizon.net" type="cite">
<pre wrap="">This may be too simple for this list, but I've been wasting a lot of
time on this & not getting anywhere.
My Gateway laptop (250GB) hard drive acts flaky every once in a while so
I bought a larger 500GB replacement. Since I can't connect it as a slave
like I would with a desktop, I got an enclosure for it & tried to do a
disk to disk clone using Clonezilla Live on a CD. But it looks like
Clonezilla is taking the entire target disk & allocating it as one
partition to clone the first (Gateway) partition, which it does
successfully. Then when it tries to clone sda2 to sdb2 it says that
sdb2 is not found & does the same thing for the rest of the partitions
on sda. I then tried to make partitions on the target drive to match
the source & got a different error this time - it said the sdb2 target
partition (1MB) was smaller than the source. I can't find any internet
comment about having to make partitions on the target drive or having to
give Clonezilla any extra help with a multi-partition source disk.
This is a Vista/Mandriva dual-boot system & I downsized the 2 nfts Vista
partitions (OS & data) - leaving the Gateway partition strictly alone -
& took half of each Vista partition space for the ext3 Linux partitions.
Here is the physical layout of my disk according to Mandriva control:
(fstab says there are 7 partitions)
sda1 10GB ntfs (gateway) media/hd
sda2 61GB nfts (OS) media/hd2
sda5 7.8GB ext3 (/)
sda6 3.8GB swap
sda7 38GB ext3 (/home)
sda4 55GB ntfs (DATA) media/hd3
sda8 55GB ext3 /ldata
Here is what Clonezilla lists after it couldn't clone the sda2-8 partitions:
sda 244 million blocks                 (8 major partitions, #0 minor)
sda1 10 million blocks boot 8 1
sda2 64 " " 8 2
sda3 1 single block 8 3
sda4 58 million blocks 8 4
sda5 8 " " 8 5
sda6 4 " " 8 6
sda7 39 " " 8 7
sda8 58 " " 8 8
sdb (488 million blocks) 7 16
sdb1 488 million blocks 7 17
loop0 103140 blocks 7 0
Any ideas of what's going on with Clonezilla? Is there something about
my drive set-up that it can't handle? Is Clonezilla seeing a hidden sda3
partition (not in my fstab) that keeps it from making more than 1
partition on the target disk? I can't use dd to brute force clone the
disk since the drives aren't the same size, so I'd like to get
Clonezilla working.
        ml hart
_______________________________________________
CALUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CALUG@unknownlamer.org">CALUG@unknownlamer.org</a>
<a class="moz-txt-link-freetext" href="http://lists.unknownlamer.org/listinfo/calug">http://lists.unknownlamer.org/listinfo/calug</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 9.0.830 / Virus Database: 271.1.1/2983 - Release Date: 07/05/10 02:36:00
</pre>
</blockquote>
<br>
</body>
</html>