Questions tagged [cloning]

Duplicating an installation of Linux or other Unix-like operating system. See also /migration

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

ntfsclone, metadata-only cloning…why?

Been reading the ntfsclone manual but I still can understand and see the point of doing a Metadata-only cloning? What is the point of this, when can it be valuable? I assume "metadata" is just ...
3
votes
2answers
109 views

Replicating an SD card

BACKGROUND An SD card has been configured for a Raspberry pi. The goal is to replicate the SD card exactly (OS, apps, data) so that the replica will function in a rPi exactly like the original \ ...
0
votes
1answer
24 views

SSD migration partitioning planning [closed]

Objective I have used Linux tools to modernize older systems with SSD drives: format & partition new SSD (gParted) migrate OS + apps (clonezilla, ) I am seeking to upgrade a Macbook Air ...
0
votes
1answer
33 views

How do I clone a 2 TB HDD onto a 120 GB HDD (shrink partition using gparted)

I have the following: Western Digital 2 TB HDD (65GB used space) Seagate 250 GB HDD (with nothing on it) The 2 TB HDD has Mac OS X 10.6.8 that I need to clone onto the smaller drive in order to use ...
0
votes
0answers
72 views

Permission denied when changing user in a windows 10 bash (WSL)..moving bash between machines?

I am in a 'leap42' window as root (windows 10 bash), but I want to do 'su - newuser'..... and I get permission denied. The newuser and newgroup exist, and with 777 type permisions on the /home/...
0
votes
2answers
116 views

cloning a linux image using dd

If I wish to clone my Linux image using the dd utility, I can do for example dd if=/dev/SDX of=/dev/SDY, where SDX is the internal memory device where the Linux image is stored, and SDY is the ...
0
votes
1answer
45 views

Backup the information with rsync to generate a mountable image?

Looking for some program to create a file of image of the information (.img) to later be able to mount it, I have not found anything simple. In the case of Clonezilla, it requires additional space to ...
3
votes
0answers
141 views

Backup: How to mirror/clone LVM LVs (or VGs) on demand?

So far, I have a semi-automated backup approach for the whole system installed in different LVs, using LVM (CoW) snapshots (which can be created upon boot to avoid data corruption). That is, if I ...
1
vote
3answers
304 views

Drive won't boot from its Grub, but will from another drive's Grub, after cloning, why?

It was a month ago, so if you ask me on details, I might still remember, but better act on information that can be given as of now. Due to the lack of time, I did not ask for help here. I have cloned ...
-1
votes
1answer
59 views

Is there any advice so I can clone the entire thing smoothly next time

Here is my situation. I have spent days to solve this and now I give up. It is very painful, takes a lot of time, and can break the OS itself. I used to change job after working for 1.5 years or 2 ...
1
vote
1answer
4k views

How to clone Ubuntu 18.04 LTS from HDD to SSD?

I have Ubuntu 18.04 LTS installed on a 1000 GB HDD /dev/sda (93% free space) on my laptop: /dev/sda1 -> 512M - vfat - EFI System Partition /dev/sda2 -> 732M - ext4 - Linux ...
0
votes
1answer
135 views

Scriptable way to clone source disk to multiple destination disks?

I need to clone a bootable disk to multiple disks (of different sizes) on different computers and it needs to be scriptable, but I can't find a way to do it. I'm using Ubuntu 16.04 on everything. ...
1
vote
0answers
28 views

What to modify if I dd sda1 to another machine? [duplicate]

There are 2 servers, they were application level clusters. One of the servers / got corrupted, see: / got corrupted and showing as ext2 The idea is the next: I would dd the sda1 from the good ...
5
votes
2answers
603 views

Errors on cloning disk with cat

I wish to clone a large disk (a 500GB SSD, for what it's worth), and I am leaning toward using cat, as suggested by Gilles here. But what gave me pause is that I do not really know what cat does upon ...
2
votes
4answers
2k views

How can I clone/backup/restore Windows 10 from Linux?

Case scenario: $ sudo fdisk -l Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (...
-3
votes
1answer
2k views

Replicate an Ubuntu server onto another ubuntu server [closed]

I am very new to using ubuntu servers and I have two of them. One has everything I need configured properly and working (it runs a nodes app that I developed), the other is a fresh, stronger server I ...
1
vote
2answers
86 views

How to identify relevant parts of an ext4 partition

Background: I need to clone ext4 partitions from an eMMC using uboot (and if neccessary custom bare metal code). I copied the whole thing using mmc read and found that most of the partition is empty, ...
0
votes
0answers
68 views

how to copy all applications from one linux machine to another

I wonder how I can copy all applications from one linux machine to another? I have a "source" machine (Ubuntu 16.04) which has all the configurations, setup and many complex application installed on ...
0
votes
1answer
204 views

Migrate packages from one fedora system to other

Currently, I am using Fedora 26 for my daily use. I want to transfer all the packages which I have installed with command sudo dnf install to another fedora desktop (as it doesn't have access to ...
1
vote
2answers
94 views

Switch laptop disk drive without reinstalling Linux?

I have Lubuntu 17.04 installed on my laptop's HDD. I've now bought an SSD, of almost the same size, as a replacement; it's empty, untouched. Now, I want to switch the disks and have basically the ...
0
votes
2answers
93 views

Cloned SSD doesn't boot and prints strange lines

Playing with a little headless server (PC Engines APU 1D4) and Debian. I am controlling it from terminal on serial port. Normally I install the OS from a USB key, but the process is terribly long and ...
2
votes
1answer
392 views

Is it possible to clone Linux software RAID 0 array with LVM on top to a single HDD?

I have 2 500GB HDD in 3 software RAID 0 arrays with LVM on top. Both disks are partitioned: -MBR partition table -256 MB Physical volume for RAID -4 GB Physical volume for RAID -remaining 496 ...
0
votes
1answer
442 views

Clonezilla: Server No disk image found in /home/partimag.. make sure you already saved an image

I am trying to setup a cloning sever to restore disk images onto quite a few computers. When I am going through the dcs command I choose to restore a disk and in the terminal I get the error "No disk ...
2
votes
1answer
406 views

Pipe limit data in bytes

I'm trying to do an 'advanced case' of cloning. There is a pipe writing to a block device, at the end of which there is a partition that should not be touched. I know where this partition starts. In ...
5
votes
4answers
954 views

Move files between Linux and OpenBSD and keep file properties

I would like to move/share some files between Linux and OpenBSD. What would be an easy and simple way to achieve this? These are the solutions I have found so far and why I am not fully convinced: ...
0
votes
2answers
135 views

can't find windows after cloning to hd using dd command

Ok. Here's what happened. I have a laptop with 500GB HD. I had installed windows 7 on it. i had 5 partitions on it. all four partitions were ntfs and one was ext4 for installing kali linux. I had a ...
1
vote
1answer
630 views

How to convert a Linux system from a virtualbox machine to a physical machine without losing data?

I need to convert a CentOs 7 from virtualbox to a file .iso and then transfer this .iso file to a usb stick or bootable DVD and install that CentOs (contains my files and packages that I want) to ...
1
vote
1answer
362 views

How to clone HP-UX server to another fresh server

I have a HP-UX box and i want to clone the same to other server. Lets assume HP-UX(A) and other server(B) <SERVER_NAME> $ uname -a HP-UX <SERVER_NAME> B.11.23 U 9000/800 1544735064 ...
1
vote
0answers
97 views

Cloning Machines joined to Domain using SSSD

We are using Amazon Web services and have a number of Debian boxes that are registered to our domain. I want to clone these boxes, change there hostname and rejoin them to the domain without impacting ...
0
votes
1answer
695 views

Will a clonezilla image restore properly to a different hard drive?

From a planning standpoint, I would like to understand if a Clonezilla Unix image will restore to a different hard drive. I would also like to understand the same point with regard to a Windows XP ...
0
votes
1answer
530 views

How to backup GPT partitions and file systems only (no files/folders)?

For the purpose of disaster recovery we do wish to backup: GPT partition table, disk geometry (to restore to different sizes drives) and the corresponding file systems of each partition. For ...
0
votes
1answer
1k views

“SSL handshake failed” when connecting to localhost (server clone)

In order to test OS upgrade of a Ubuntu Server 12.04, I cloned it into VirtualBox VM on my workstation. Most things behave the same way and I was able to resolve a few differences. However, there is ...
0
votes
1answer
2k views

DD Clone not booting

I cloned my SSD to my USB using dd, but the USB won't boot... Here's the story: I just got a 275 GB SSD to replace my 128 GB SSD, which is running low on space, but I want to continue using my Ubuntu ...
3
votes
2answers
1k views

how to copy my linux system to another notebook

I want to copy/clone my current linux system as it is to another notebook because I'm afraid my current one will die sooner or later and I loose all of my linux setup, tools and file structures. I ...
1
vote
0answers
25 views

How to not reinstall packages when installing a bunch of package? [duplicate]

I saved the pacman -Qqe output from a previous arch install and now I'm using this list to install all the packages I had at once. However some of them are already installed and it wants to reinstall ...
1
vote
1answer
123 views

moving a Linux to another device

I am working on an embedded Linux ip-camera. I need to have a backup of our Linux for testing and repairing cameras. I have tested multiple options like using tar and rsync , but it does not work and ...
0
votes
1answer
984 views

Using dd to copy MBR results in partition tables double the size

I have a laptop with 500GB internal HD and a external 500GB USB HD. I boot up with a linux live cd over the top of my Windows 8.1 machine. My goal is to clone the MBR, partition 1(350mb), and ...
1
vote
0answers
650 views

dd and cat both reporting no space left on device

I have a windows 8.1 Pro laptop with a 500GB HD and a 500GB portable USB HD. I boot up my laptop with a linux live CD so that I can use dd or cat. Testing cat: cat /dev/sda > /dev/sdc cat: write ...
3
votes
3answers
110 views

Most efficient way to deploy an OS on multiple of the same machine?

I have learnt about the dd cmd, this does the job perfect as one can create an image of a HD(with an OS already installed) and write it to other HD's. The problem with this method is if you had a 2TB ...
2
votes
2answers
791 views

Can I copy archlinux installation to another computer?

I want to get an archlinux system with the same packages, settings, etc. on another computer. Can I do it by creating partitions on another computer, mounting them, copying the whole filesystem, ...
1
vote
1answer
199 views

Can I clone a larger disk with lots of free space into a smaller disk

Is it possible to clone an OS disk with all its partitions into a smaller disk. The original disk has a lot of free space and the total used space is much smaller than the capacity of the new disk I ...
1
vote
0answers
1k views

Why I can't open the kernel git repo in my GIT GUI client?

I successfully cloned the kernel using git in command line, nevertheless I find difficult to navigate throughout the repo using the cli and I got a gui client, gitkraken to be specific. The thing ...
3
votes
0answers
661 views

LUKS: Change master key

I've already read this SE question, but it's somewhat old now. How can I reencrypt a LUKS partition using a different master key? I have a cloned VM image that needs to go into production, but it's ...
1
vote
2answers
968 views

Can't clone hard disk with dd no space left

I am trying to move elementary OS from primary HDD to external HDD. So, I can boot elementary OS from external HDD and install Windows 10 on primary HDD. Hewbot on super user stackexchange suggested ...
3
votes
1answer
955 views

How to clone an entire disk to a larger disk and then offload?

What I have done is clone a small 32GB flash module that had three partitions. I happened to have a 32GB USB lying around, so I thought it might just work; it did not. It seems 32GB from Toshiba is a ...
2
votes
0answers
476 views

Clone running machine over network

I'd like to clone a running Debian machine (ext4, no LVM) to identical hardware, preferably over the network to create a test box. Q1) Which tools / scripts are available that allow me to do this? ...
1
vote
0answers
542 views

clonezilla - restore OS partition image to larger/smaller partition

My old disk has failed. I have made partition images of OS partition and MRB partition instead of disk image. I have a disk but its size is smaller than the OS partition image. Is it possible to ...
1
vote
1answer
710 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
487 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 ...
3
votes
1answer
2k 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 ...