[nmglug] cloning HD

Eric Krieger grammatoncleric at ubuntu.com
Mon Jan 3 12:59:29 PST 2011


How are you cloning the drive?   Are you connecting the new drive to
the system via some sort of usb or firewire enclosure? Running...

dd if=/dev/sda of=/dev/sdb

Will copy all partitions from sda to sdb and just expand sda1 on the
new drive once it's finished.  Granted it's not the fastest method but
it works.


- Eric



On Mon, Jan 3, 2011 at 1:36 PM, BrianO'Keefe <okeefe at cybermesa.com> wrote:
>
> And some additional ?'s...... How do I determine the "exact" partition size?
>
> Here's my hd according to gparted:
>
>
>
> and the terminal output:
>
> ~$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             141G   76G   59G  57% /
> none                  1.5G  292K  1.5G   1% /dev
> none                  1.5G  736K  1.5G   1% /dev/shm
> none                  1.5G  252K  1.5G   1% /var/run
> none                  1.5G     0  1.5G   0% /var/lock
> none                  1.5G     0  1.5G   0% /lib/init/rw
>
>
>
>
>
>
>
>
>
> I want to clone my hd to another bigger, faster drive. I have a 160GB, 5400rpm sata drive in my toshiba laptop and I bought a 320GB, 7200rpm drive. I have cloned an old Powerbook IDE drive and had no issues. However, I found this site: http://www.arsgeek.com/2008/01/22/how-to-clone-your-bootable-ubuntu-install-to-another-drive/
> that says I need to clone to an exact same size partiotion. I didn't do that a few years back with the IDE drive as I recall. Is this really necessary?
>
> "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 (System-> Administration-> Partition Editor). Lastly, you’ll need a LiveCD."
>
> The article also says that I need to install grub after the cloning but it seems that the grub install I have would be cloned too, no?
>
> Many thanks and here's hope for a great '11!!
>
> Brian
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>


More information about the nmglug mailing list