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

learn more… | top users | synonyms

0
votes
1answer
12 views

Clonezilla fails while cloning/imaging the entire HDD

I am using Clonezilla Live DVD to image my entire HDD consisting of several partitions. An overview of the partitions can be seen in the following excerpt from the log file of Clonezilla: Machine: ...
1
vote
0answers
30 views

Can I restore a single partition from a Clonezilla disk image?

I was thinking of performing a Clonezilla backup and was wondering what backup mode to choose. Generally speaking, Clonezilla offers the following backup options: savedisk: Save a full disk image ...
2
votes
1answer
29 views

Clone a Linux to Another Linux

How can I perform a complete clone on an OS and have it installed to another computer kernels and all as close as possible to the original?? Is Clonezilla a good idea? Source: VB of Oracle Linux 5 ...
2
votes
3answers
118 views

can 'dd' be used to clone to a smaller HDD, knowing that partitions will need editing?

I've used dd to clone disks like this: dd if=/dev/sdb of=/dev/sda bs=4096 conv=notrunc,noerror,sync And it's always worked fine. Any and all docs on 'dd' take pains to remind you that the target ...
2
votes
2answers
109 views

dd taking weeks

A few days ago, I got the message "Windows detected a hard disk problem". I got a new hard drive, and booted into Ubuntu using a live USB. I started cloning the failing disk using sudo dd ...
2
votes
1answer
68 views

Changing HFSPlus UUID from PartedMagic

I needed to make a clone of my hard drive recently (bad blocks FTW). I was using Clonezilla at the time. However, Clonezilla refused to copy the HFS+ partition, so I did it manually. The problem is ...
2
votes
1answer
38 views

efficient rc file syncing or replication

Recently I've been experimenting with KVM and virtual machines. I'm lazy and tired of manually copying/syncing my .rc files. Some Googling didn't immediately turn up any tools. Are there any CLI tools ...
1
vote
3answers
2k views

Full DD copy from hdd to hdd

UPDATE: 2 This seems a lot better than before (Thanks to Groxxda for the suggestions): sudo dd if=/dev/sdb bs=128K | pv -s 3000G | sudo dd of=/dev/sdc bs=128K ETA is about 9 hours for 3TB, whereas ...
1
vote
0answers
20 views

How to clone a Debian installation? [duplicate]

I recently installed Debian from a live 7.5-amd64 image (downloaded from Debian's site) to a new laptop. I also apt-get install'ed a few additional Debian packages. I would like to clone this ...
1
vote
0answers
29 views

Disk copying with two OS on it

I want to change HDD in my laptop to bigger one. I have installed WIN XP and Mageia Linux and GRUB ver 1 as bootloader. So I want to use such procedure for copying and changing disk: plug new one ...
0
votes
0answers
116 views

Create an image of an existing linux installation

I have installed fedora 19 Xfce and removed a bunch of packages. I need to do a similar installation in multiple other machines. Repeating the process is time consuming. Is there some way by which I ...
3
votes
2answers
225 views

Best method for performing a HDD copy from a master to slave

We are running a Debian-based system in our product, out of which I need to create new drives from a master drive. Method 1: Install OS from debian live CD and copy the required custom software. ...
1
vote
2answers
43 views

Snapshot of drive

Does technology exist which allows you to take an instantanious snapshot of a drive? At the moment, I am using dd which takes a few minutes to create an image of a usb drive to my hdd. Is it ...
2
votes
1answer
395 views

How do I get LILO to boot on cloned hard drive?

I have a really old hard drive with DOS and Linux partitions with LILO as the boot loader. I want a clone of this hard drive that works exactly like the original. I made a clone using Knoppix and ...
0
votes
2answers
133 views

Partclone error

I am trying to clone a disk in a VMware Machine The initial situation is: When cloning, I get the following error: Notes: The VM is bootstrapped with the Arch Linux ISO. sda is a physical ...
2
votes
1answer
78 views

How to schedule initial configuration of a system after cloning?

I want to setup a big amount of servers using cloning. After the initial image was applied, I want to run a configuration script. The cloning will be done through hard disk replication by the hardware ...
1
vote
2answers
194 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 ...
2
votes
3answers
696 views

clone root directory tree using busybox

I have an TI DaVinci-based (ARM architecture kin to OMAP) system which netboots using TFTP and NFS-mounted root filesystem, and am trying to make it boot standalone without a netboot server. The ...
2
votes
2answers
609 views

Adding null bytes to a file using dd

I have an img file which I had cloned from a disk of my RISC PC using dd: dd if=/dev/hdb of=RISCPC.IMG The size around 2GB. I want to add 512 null bytes to the start and end of the file. What's ...
0
votes
2answers
608 views

Restore using dd will not boot

My current HDD is failing and I've backed it up using dd. After restoring the images onto a new HDD, also using dd, the new system will not boot. It goes through the BIOS initialization, then screen ...
0
votes
0answers
2k views

How to convert grub config to use kernel device names instead of UUID

I've got a bunch of identical systems on which I want to clone the same openSUSE 12.3 installation. I've set up clonezilla on PXE server. After appling the disk-image of on another machine, it fails ...
1
vote
2answers
488 views

Transfer a Fedora system to another computer

I'd like to transfer my Fedora to a remote machine. Fedora is under Grub 2.0 and on the remote machine there is a Centos system and Grub 0.97. In fact, I have two questions. First is how to properly ...
2
votes
1answer
929 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/ ...
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 ...
3
votes
4answers
3k views

Image HDD in Linux (functionality like Norton Ghost)

I am looking to use an embedded Linux distro such as Tiny Core as a automated recovery type tool. Basically, the user would choose to boot into Tiny Core from the boot menu, then if a USB is plugged ...
5
votes
2answers
1k views

How to create a snapshot of a physical disk?

I have Windows 7 installed on one of my disks. I want to boot this Windows system in my Xen HVM, but I do not want the changes to be permanent. So I want to create a snapshot of my Windows 7 ...
3
votes
3answers
1k views

Copying an HDD to a larger one by dd

I'm trying to copy an entire HDD which has IBM PC-style partition table to a larger one by dd on GNU/Linux. The questions are: Can I use the additional space on the larger disk by changing the ...
2
votes
2answers
481 views

Cloned VirtualBox CentOS disk is unbootable after cloning in GParted

I cloned and enlarged an existing virtual CentOS-6 disk by the following steps: Create 15GB virtual disk and mount the old and the new disks in GParted. In GParted copy boot, swap and ext3 ...
6
votes
1answer
1k views

Move qcow2 image to physical hard drive

I have a qcow2 image that I use to boot an installation of linux using QEMU; I would like to place the contents of that image directly onto a physical hard drive so that I can boot to that linux ...
1
vote
2answers
334 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 ...
3
votes
1answer
150 views

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

Is it possible? How hard would it be to do so?
7
votes
2answers
950 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 ...
4
votes
5answers
424 views

volcopy for Linux?

Reading one of the editions of the Nemeth's book (Nemeth et al), have read about volcopy -- an utility that copies a filesystem from one device to another, making "a literal copy" (here's a man page, ...
1
vote
2answers
793 views

Best way to back up a system in its entirety?

I considering doing a complete re-build of my home desktop computer. The only thing that will actually be the same, will be the case. I have a 1 TB external hard drive I want to back up my 200 GB of ...
19
votes
4answers
7k 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 ...
2
votes
1answer
452 views

Preparing a Linux image in a virtual machine

I am trying to set up a system to prepare a Linux system on a virtual machine and then deploy it onto an SD card. The target system has an Atom processor, so there aren't architecture compatibility ...
5
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 ...
0
votes
1answer
1k views

Cloning/Splitting a serial port (COM) port in Ubuntu

Everything is working with my serial port. I have connected my FTDI converter into my computer, set my COM port... ln -s /dev/ttyUSB0 ~/wine/dosdevices/COM1 But now I would like to "clone" this port. ...
9
votes
2answers
7k views

How to change partition UUID (2 same UUID)?

I have a fedora guest OS in VMware. I want to expand /boot partition, so I add another virtual disk to this VM, and try to clone the disk. After dd if=/dev/sda1 of=/dev/sdb1, blkid report that ...
56
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 ...
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?
5
votes
1answer
156 views

How to back up initial state of external backup drive?

I've picked up an HP Simplesave external drive. It comes with some fancy software that is of no use to me because I don't use Windows. Like many current consumer-targeted backup drives, the backup ...
33
votes
4answers
21k 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 ...
22
votes
7answers
5k 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 ...