Duplicating an installation of Linux or other Unix-like operating system

learn more… | top users | synonyms

33
votes
4answers
20k views

Moving linux install to a new computer

I know that it can, in some circumstances, be difficult to move a Windows installation from one computer to another (physically move the hard drive), but how does that work on linux? Aren't most of ...
55
votes
7answers
8k views

dd vs cat — is dd still relevant these days?

I recently realized we can use cat as much as dd, and it's actually faster than dd I know that dd was useful in dealing with tapes where block size actually mattered in correctness, not just ...
22
votes
7answers
4k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
4
votes
1answer
7k views

Cloning a bootable USB stick to a different-sized stick

HARDWARE: 2 8GB USB flash drives DISTRO: Mint 9 Xfce persistent Live Cd One USB flash drive has two partitions: 1) FAT32 700MB Mint 9 partition 2) ext3 7.3GB casper-rw partition GOAL: I want to make ...
2
votes
1answer
875 views

How to split a ddrescue disk image and how to use it again?

I have a 500GB external HDD that I need to rescue the contents of. Unfortunately I only have two 400GB partitions to save the contents to. Can I split the disk image as: ~$ cd /mnt/part1/Recovery/ ...
18
votes
4answers
6k views

Clone whole partition or hard drive to a sparse file

I like to clone a whole partition or a whole hard drive onto a larger external disk but like to create a sparse file. I often use dd for cloning, but it doesn't support sparse files. As a workaround I ...
7
votes
2answers
863 views

How to install exactly the same packages on another computer in openSUSE?

Another computer can be as well virtual machine. I cannot make disk clone because of hardware differences and settings. I have computer A, installed and running, I also have computer B. I will ...
1
vote
2answers
177 views

Cloning USB drive in VMware with partclone

I created a virtual machine in VMware as follows: SCSI HDD 1 GB (Main for short) SCSI HDD 0.8 GB (UClone for short) SCSI HDD 4 GB as a physically plugged UFD (Uphys for short) Arch Linux ISO as ...
1
vote
1answer
1k views

Clone OS to a smaller drive

I would like to copy/clone/move my CentOS (which is on a 20GB hard drive) to a smaller hard drive (5GB)... Can someone tell me how to do this?
3
votes
1answer
147 views

Is it possible to create a bootable usb from a partition?

Is it possible? How hard would it be to do so?
2
votes
3answers
1k views

How to clone linux installation onto an external harddisk?

I see a lot of dd related questions, but could not find answers to the following. If question/answers already exist, please point to them, then flag to close, delete or merge. Can a working linux ...
1
vote
2answers
318 views

Making Bootable USB, problems copying /proc

I'm creating a bootable usb as a cloned partition and am running into problems copying /proc to the usb. I know /proc contains a lot of virtual files, but I'm not sure how to copy them over. It seems ...