Re: Backing up with dd, and creating a file system on a new drive.



Ray Parrish wrote:
Hello,

I just got my new 500 GB drive, and am excited about being able to back
up my 160 GB old drive. Since I am new to the LInux camp, I need to know
how to set up the new drive, and how to use dd to image the 160 GB drive
to the 500 GB drive.

Hi Ray, you need a liveCD from any of the latest Ubuntu
versions. It will have dd in it and also the partitioner.

First connect your USB hard drive and see where it shows up.
It is often at /media/. The whole address to your target might
be like /media/disk/whole-computer and the whole computer
source will be /dev/sda.

Here is the form of the dd command:

$ dd if=/dev/sda of=/media/disk/whole-computer
bs=2048conv=notrunc

Yours may be a little different but it should look about like
the above.

73 Karl







After I do back up the small drive, and create partitions beyond what dd
writes there, will there be a problem with using dd to rewrite the back
up at a later date with the new partitions beyond the backup partitions?

Can I use gparted to create an ntfs volume of the drive first, then use
dd to image the small one, or can I run dd on the unformatted drive
first to create the backup partitions?

Thanks, Ray Parrish



--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: problem with chmod
    ... both of the partitions are ext3 partitions ... the Ubuntu system, are sda8 and sda5, as shown in the fstab file above. ... Later, Ray Parrish ... used before they switched to uuid. ...
    (Ubuntu)
  • Re: mounting local file systems ... Failed
    ... Ray Parrish wrote: ... The other ntfs partitions are not ... Writings of "The" Schizophrenic, what it's like to be a schizo, and other ...
    (Ubuntu)
  • Re: mounting local file systems ... Failed
    ... The other ntfs partitions are not ... Later, Ray Parrish ... Writings of "The" Schizophrenic, what it's like to be a schizo, and other ...
    (Ubuntu)
  • Re: dd problem
    ... First off I was responding directly to Karl F. Larsen (which makes it pretty ironic ... Why does dd ruin a file system when it ... partitions" The error Karl was not understanding that when you thought you were ... replacing the NTFS filesystem with an ext3 one). ...
    (Ubuntu)
  • Re: dd problem
    ... Why does dd ruin a file system when it ... partitions" The error Karl was not understanding that when you thought you were ... replacing the NTFS filesystem with an ext3 one). ... Karl F. Larsen, AKA K5DI ...
    (Ubuntu)