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

learn more… | top users | synonyms

1
vote
1answer
40 views

Clone Linux fedora using Clonezilla

Actually this is the first time for me with Clonezilla, and I`m not system administrator. I have on my machine (Win7 & Fedora22 workstation). Fedora each time run shows to me partition size ...
4
votes
2answers
50 views

Is `dd` really necessary to clone a disk? [duplicate]

Almost any tutorial will tell you that to clone a disk on the command line (say, to clone /dev/sda to /dev/sdb) you can use: dd if=/dev/sda of=/dev/sdb ...and some block size options... This reads ...
1
vote
1answer
63 views

Fixing GRUB after cloning a drive with RSYNC

I have a remote server (no physical access to it) that I need to clone locally. So, I attached a secondary HD to a local linux server, created the partitions boot, swap and root and rsync'd all the ...
2
votes
3answers
80 views

Using dd to clone a disk while mounted - risks?

I want to clone a hard disk using dd. Because I want to keep a process on the machine alive continuously, I would like to do this while the filesystem is still mounted. I understand this is not the ...
2
votes
0answers
29 views

mdadm - Creating RAID1 on LiveUSB does not persist when re-booting

I have three drives sda, sdb, and sdc: $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 2.7T 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 500M 0 part ├─sda3 ...
2
votes
1answer
82 views

How do I clone a single drive onto a new RAID 1 array?

Here's a little background on the situation at hand. I have a DELL Precision T7600 at work that I'm responsible for maintaining, which just lost a hard-drive, thankfully just the /home directory was ...
0
votes
1answer
11 views

Are there any caveats when restoring a backup to a larger disk than the original disk with Clonezilla?

I have a Clonezilla image of a 250 GB disk. Are there any caveats or downsides if I would restore this to a 500 GB disk? (I will of course not be able to use more than the 250 GB on the new disk, but ...
2
votes
2answers
62 views

HDD cloning and non-matching checksums

I've been trying to clone a 1Tb HDD to a 1Tb SSD following the instructions here. I tried cloning it several times with both dd (painfully slow) and cat (far quicker) but when I came to do checksums ...
2
votes
1answer
70 views

Taking a clone of a customized RHEL server hosted in a data center remotely

We are planning to upgrade OS to RHEL 6.6 on all our servers. All our servers are located in a data center. We have to follow a repeated process of installing application stack, securing, hardening ...
2
votes
0answers
47 views

How to move a PC's Debian to a USB and remain fully bootable?

I have a 64 GB USB 3.0 drive, to which I'd like to transfer (in terms of file system and grub2 bootability) the Debian Jessie installed on the SSD of my retina MacBook Pro. I am looking to do this in ...
1
vote
1answer
27 views

install already built Linux environment

I have configured aMint-based environment : openVpn, hostapd, and a bunch of other configured package. This is done on a rasp-like computer (OEM). I planned to clone my disk on other machines. I dont ...
2
votes
1answer
108 views

cloning a partition to a partition of different format

If I clone a partition (I can be using dd command or clonezilla software or anything) with ext4 format to partition of xfs format: will I have any issue/error? The resultant data/partition will be ...
2
votes
1answer
201 views

Cloning a root partition onto a dm-crypt encrypted one

I have Gentoo Linux installed on a 25.93GB/62.43GB partition /dev/sda4. The other partitions on the disk are 150MB /boot on /dev/sda1 and 56,66GB unused space on other two partitions. I am planning ...
1
vote
0answers
126 views

How to duplicate my installation partition onto a btrfs partition?

I initially installed Linux Mint 17.1 on a ext4 partition, with the /home on a different partition. The intention is to be able to multi-boot and share the /home data. I'm planning to copy it to a ...
0
votes
1answer
441 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: ...
3
votes
2answers
2k 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
213 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
4k 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
141 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 ...
4
votes
1answer
314 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
71 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 ...
9
votes
3answers
29k 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
23 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
34 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
294 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
385 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
63 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
606 views

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

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
189 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
2answers
95 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
249 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
1k 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
1k 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
1k 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
3k 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
1k 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
1k 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
2k 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 ...
4
votes
4answers
4k 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
2k 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
2k 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
638 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
3k 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
436 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
158 views

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

Is it possible? How hard would it be to do so?
8
votes
3answers
2k 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
478 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
973 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 ...
20
votes
5answers
11k 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
713 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 ...