You can clone one partition at a time or the whole disc with dd also you will need to put grub on your cloned disc. The best open source tool is the command line. and command dd is the way to go. here is the ubuntu way.<br>
<p>We’ll be using the terminal (<em>Applications-> Accessories-> Terminal</em>)
and the dd command to do this. You’ll also need to have your second
disk up and running when we get going. You can either have it installed
and mounted internally or use an external disk enclosure and USB or
Firewire. (Note: Doing this via USB 1 will be excruciatingly slow!)</p>
<p>You’ll also want to either be cloning your hard drive to one of the
exact same size, or if you have a larger disk, make a partition of the
same size on it and clone to that. Then, use an Ubuntu liveCD to change
the partition size (<em>System-> Administration-> Partition Editor</em>). Lastly, you’ll need a <a href="http://www.ubuntu.com/getubuntu" target="_blank">LiveCD</a>.</p>
<p><span id="more-3392"></span><br>
On to the good stuff. Got both disks plugged in? Good! Now you’ll need
to figure out which disk you are copying from and which disk you are
copying too. In your terminal, type:</p>
<blockquote><p>df -h</p></blockquote>
<p>Look first for the partition that’s mounted at root, or ‘/’. Here’s what my root partition looks like.</p>
<blockquote><p>Filesystem Size Used Avail Use% Mounted on</p>
<p>/dev/sda1 71G 46G 22G 68% /</p></blockquote>
<p>If you’re using a SATA drive it will appear like that. IDE should be
/dev/hda1. See that slash below the Mounted on? That’s the root drive.</p>
<p>Now you’ve got to locate the drive you’re copying too. The same <em>df -h</em> command will do the trick. Look for another disk mounted on<em> /dev/****</em>.
If you’re not sure what you’re looking for, first run the df -h command
without your second disk mounted. Then plug the 2nd disk in (be sure to
shut down if you’re doing this inside your machine and not via USB or
FireWire) and run the <em>df -h</em> command again. The newest partition that appears is what you’re looking for!</p>
<p>So if your current root partition is<em> /dev/sda1</em> and the partition you’re going to copy to is <em>/dev/sdb1 </em>(a USB mounted drive) here’s the command you’ll need to type in your terminal:</p>
<p>sudo dd if=/dev/sda1 of=/dev/sdb1</p>
<p>Replace with the correct paths for your drives if they differ. It’s
going to take a while, so grab a book or start up a movie. Maybe go to
bed.</p>
<p>Once it’s complete, you’ve got yourself a brand new copy of your
current Ubuntu install. You’re not quite done yet though. Now you’ve
got to install Grub on your new disk so you can boot from it. Make sure
your new disk is attached to your machine and your old disk is
unplugged and boot into the Ubuntu LiveCD.</p>
<p>Once your machine boots up, open up a terminal session and type:</p>
<blockquote><p>sudo grub</p></blockquote>
<p>Grub will launch and give you the <em>grub></em> prompt. Here, type:</p>
<blockquote><p>find /boot/grub/stage1</p></blockquote>
<p>You should see something come back that looks like <em>hd(0,0)</em>. Jot that down, you’ll need it in a second.</p>
<p>Now, still in the <em>grub></em> prompt, type:</p>
<blockquote><p>root hd(0,0)</p></blockquote>
<p>You’ll put in whatever result you go above - it may be different than <em>hd(0,0)</em>.</p>
<p>Once that completes, type:</p>
<blockquote><p>setup (hd0)</p></blockquote>
<p>Even if you got a result that differs from<em> hd(0,0) </em>above.</p>
<p>Type:</p>
<blockquote><p>quit</p></blockquote>
<p>And you’re out of grub. Restart your machine, removing the LiveCD
and you should be up and running on your new hard drive. You may also
encounter a problem on your first boot where the system will try to
scan your hard drive for bad sectors. If that fails, you’ll find
yourself in a root terminal session. Just type:</p>
<blockquote><p>fsck</p></blockquote>
Let the disk check finish and you should be good to go !<br><br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 12:00 PM, <span dir="ltr"><<a href="mailto:tclug-list-request@mn-linux.org">tclug-list-request@mn-linux.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send tclug-list mailing list submissions to<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:tclug-list-request@mn-linux.org">tclug-list-request@mn-linux.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:tclug-list-owner@mn-linux.org">tclug-list-owner@mn-linux.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of tclug-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. memory chips (Chris G.)<br>
2. HD Cloning (PJ Crump)<br>
3. Re: HD Cloning (Yaron)<br>
4. Re: HD Cloning (Brian Lawrence)<br>
5. Re: HD Cloning (Isaac Atilano)<br>
6. Re: HD Cloning (Mr. B-o-B)<br>
7. Re: HD Cloning (Steve McGrath)<br>
8. Re: HD Cloning (Adam Morris)<br>
9. Re: HD Cloning (Troy)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 24 Nov 2009 21:58:53 -0600<br>
From: "Chris G." <<a href="mailto:thoth.serath@gmail.com">thoth.serath@gmail.com</a>><br>
Subject: [tclug-list] memory chips<br>
To: <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
Message-ID:<br>
<<a href="mailto:7c055dc50911241958o24b49257v66a84aa048694237@mail.gmail.com">7c055dc50911241958o24b49257v66a84aa048694237@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
i am looking for 2 pci 100 memory chips for a friends computer. i may have<br>
the pci part messed up. it is for a hp pavillion 7845. she has 2 128's in<br>
there now i was hoping for 2 256's. i have a bunch of ram just not what<br>
she needs.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091124/26c3b4ad/attachment.html" target="_blank">http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091124/26c3b4ad/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 25 Nov 2009 10:32:02 -0600<br>
From: PJ Crump <<a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a>><br>
Subject: [tclug-list] HD Cloning<br>
To: TCLUG List <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID: <<a href="mailto:4B0D5C02.7020402@bitstream.net">4B0D5C02.7020402@bitstream.net</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
options to clone the current drive to a new one.. Any one have an<br>
suggestions for open source Cloning tools? I have looked at HDClone,<br>
PartImage, g4u but cant come to a decision.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 25 Nov 2009 10:40:45 -0600 (CST)<br>
From: Yaron <<a href="mailto:tclug@freakzilla.com">tclug@freakzilla.com</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: TCLUG <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID:<br>
<alpine.DEB.2.00.0911251038490.23144@localhost.localdomain><br>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br>
<br>
<br>
On Wed, 25 Nov 2009, PJ Crump wrote:<br>
<br>
> Any one have an suggestions for open source Cloning tools? I have<br>
> looked at HDClone, PartImage, g4u but cant come to a decision.<br>
<br>
<br>
Well the super-simple way is dd. But that only really works on very<br>
similar sized drives. I copy drives like that all the time.<br>
<br>
<br>
-Yaron<br>
<br>
--<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 25 Nov 2009 10:49:48 -0600<br>
From: "Brian Lawrence" <<a href="mailto:blawrence@qwest.net">blawrence@qwest.net</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: <<a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a>>, "'TCLUG List'" <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID: <<a href="mailto:69B21B6CC1B142629C283E631583E6F9@dcm.int">69B21B6CC1B142629C283E631583E6F9@dcm.int</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
I use G4L and G4U to clone Linux server drives but I prefer G4L because of<br>
the driver support.<br>
<br>
<a href="http://freshmeat.net/projects/g4l/" target="_blank">http://freshmeat.net/projects/g4l/</a><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:tclug-list-bounces@mn-linux.org">tclug-list-bounces@mn-linux.org</a><br>
[mailto:<a href="mailto:tclug-list-bounces@mn-linux.org">tclug-list-bounces@mn-linux.org</a>] On Behalf Of PJ Crump<br>
Sent: Wednesday, November 25, 2009 10:32 AM<br>
To: TCLUG List<br>
Subject: [tclug-list] HD Cloning<br>
<br>
I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
options to clone the current drive to a new one.. Any one have an<br>
suggestions for open source Cloning tools? I have looked at HDClone,<br>
PartImage, g4u but cant come to a decision.<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 25 Nov 2009 11:04:54 -0600<br>
From: "Isaac Atilano" <<a href="mailto:aristophrenic@warpmail.net">aristophrenic@warpmail.net</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: "Yaron" <<a href="mailto:tclug@freakzilla.com">tclug@freakzilla.com</a>>, "TCLUG" <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID: <<a href="mailto:1259168694.7066.1347029463@webmail.messagingengine.com">1259168694.7066.1347029463@webmail.messagingengine.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
On Wed, 25 Nov 2009 10:40 -0600, "Yaron" <<a href="mailto:tclug@freakzilla.com">tclug@freakzilla.com</a>> wrote:<br>
<br>
> On Wed, 25 Nov 2009, PJ Crump wrote:<br>
> > Any one have an suggestions for open source Cloning tools?<br>
<br>
> Well the super-simple way is dd. But that only really works on very<br>
> similar sized drives. I copy drives like that all the time.<br>
<br>
Using standard Unix utilities:<br>
<br>
dd works great for backing up on the device level.<br>
This means that if you back up a 2Gb partition using the device file,<br>
e.g. /dev/sdb3, then the restore will write back a 2Gb partition image<br>
to the location you specify, so most likely you'll be writing back to<br>
the device file of a new partition.<br>
This also works at the disk level, so you can back up the entire disk<br>
with all partitions by referencing the device file, e.g. /dev/sdb.<br>
<br>
For backing up at the file system level, you can still use dd but it<br>
makes more sense to use a utility that reads the file system such as<br>
tar. This allows you to limit your backup to specific files and<br>
directories.<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 25 Nov 2009 11:07:28 -0600<br>
From: "Mr. B-o-B" <<a href="mailto:mkebob1134@netscape.net">mkebob1134@netscape.net</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: <a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a><br>
Cc: TCLUG List <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID: <<a href="mailto:4B0D6450.7000203@netscape.net">4B0D6450.7000203@netscape.net</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
PJ Crump wrote:<br>
> I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
> options to clone the current drive to a new one.. Any one have an<br>
> suggestions for open source Cloning tools? I have looked at HDClone,<br>
> PartImage, g4u but cant come to a decision.<br>
><br>
> _______________________________________________<br>
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
I like clonezilla.<br>
<br>
<a href="http://www.clonezilla.org" target="_blank">http://www.clonezilla.org</a><br>
<br>
I use the hell out of it @ work, and only have nice things to say about<br>
it. There are some good how-to's on using this as well.<br>
<br>
Check it out.<br>
<br>
Good Luck!<br>
<br>
Bob<br>
<br>
--<br>
We are building a fighting force of extraordinary magnitude.<br>
We forge our tradition in the spirit of our ancestors.<br>
You have our gratitude.<br>
Those who oppose us will be sent to Detroit.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Wed, 25 Nov 2009 11:06:55 -0600<br>
From: Steve McGrath <<a href="mailto:smcgrath23@gmail.com">smcgrath23@gmail.com</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: TCLUG List <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID: <<a href="mailto:b84c57930911250906o24aa9tecbfc296a453c755@mail.gmail.com">b84c57930911250906o24aa9tecbfc296a453c755@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
On Wed, Nov 25, 2009 at 10:32 AM, PJ Crump <<a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a>> wrote:<br>
<br>
> I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
> options to clone the current drive to a new one.. Any one have an<br>
> suggestions for open source Cloning tools? I have looked at HDClone,<br>
> PartImage, g4u but cant come to a decision.<br>
><br>
> _______________________________________________<br>
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
><br>
<br>
I haven't personally used it, but I hear good things about Clonezilla. I<br>
believe it supports resizing partitions to clone to a larger drive if<br>
needed.<br>
<br>
--<br>
Steve McGrath <<a href="mailto:smcgrath23@gmail.com">smcgrath23@gmail.com</a><br>
If it ain't broke, you're not using a new enough version<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091125/fea64ed3/attachment-0001.htm" target="_blank">http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091125/fea64ed3/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Wed, 25 Nov 2009 12:27:25 -0500<br>
From: Adam Morris <<a href="mailto:adam.morris@redstargaming.net">adam.morris@redstargaming.net</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
Message-ID: <<a href="mailto:20091125172725.GA20969@weegee.ath.cx">20091125172725.GA20969@weegee.ath.cx</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
+1 for Clonezilla, -1 for HDClone.<br>
<br>
HDClone tends to modify your partition data. I have no idea why, but<br>
its flipping a coin as to whether or not your partition will be intact<br>
after the clone, unless the drives are identical make and model as far<br>
as I can tell.<br>
<br>
Clonezilla is just great. I have no complaints, the best part is that<br>
its free.<br>
<br>
On Wed, Nov 25, 2009 at 11:07:28AM -0600, Mr. B-o-B wrote:<br>
> PJ Crump wrote:<br>
> > I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
> > options to clone the current drive to a new one.. Any one have an<br>
> > suggestions for open source Cloning tools? I have looked at HDClone,<br>
> > PartImage, g4u but cant come to a decision.<br>
> ><br>
> > _______________________________________________<br>
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> > <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
> > <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
><br>
> I like clonezilla.<br>
><br>
> <a href="http://www.clonezilla.org" target="_blank">http://www.clonezilla.org</a><br>
><br>
> I use the hell out of it @ work, and only have nice things to say about<br>
> it. There are some good how-to's on using this as well.<br>
><br>
> Check it out.<br>
><br>
> Good Luck!<br>
><br>
> Bob<br>
><br>
> --<br>
> We are building a fighting force of extraordinary magnitude.<br>
> We forge our tradition in the spirit of our ancestors.<br>
> You have our gratitude.<br>
> Those who oppose us will be sent to Detroit.<br>
><br>
> _______________________________________________<br>
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Wed, 25 Nov 2009 11:49:47 -0600<br>
From: Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>><br>
Subject: Re: [tclug-list] HD Cloning<br>
To: <a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a><br>
Cc: TCLUG List <<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>><br>
Message-ID:<br>
<<a href="mailto:34de7f3d0911250949l250938tcac611d7b83c470d@mail.gmail.com">34de7f3d0911250949l250938tcac611d7b83c470d@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I use clonezilla for both personal and business, and it works great!<br>
<br>
Troy<br>
<br>
On Wed, Nov 25, 2009 at 10:32 AM, PJ Crump <<a href="mailto:pjcrump@bitstream.net">pjcrump@bitstream.net</a>> wrote:<br>
<br>
> I have a laptop (Ubuntu/Win) dual boot and I have been wading through<br>
> options to clone the current drive to a new one.. Any one have an<br>
> suggestions for open source Cloning tools? I have looked at HDClone,<br>
> PartImage, g4u but cant come to a decision.<br>
><br>
> _______________________________________________<br>
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091125/39e34e27/attachment-0001.htm" target="_blank">http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20091125/39e34e27/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
End of tclug-list Digest, Vol 59, Issue 28<br>
******************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>You do not know the power of the dark side<br>