Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [clone]

The tag has no usage guidance.

-2
votes
0answers
20 views

How to clone a whole partition from usb while booting

im searching a way to clone a whole partition from a usb stick to a pc. I could use a live operation system e.g. ubuntu and use dd to copy it, but im searching for a way that laity can also do that. ...
1
vote
1answer
59 views

Why does replacing drive with a dd clone cause machine to hang at boot?

I have a home-brew media server based on a 800MHz Intel Atom with two big LVM drives and Debian 9 on a 250GB 2.5" drive. The latter is showing bad blocks, so I am intending to replace it. I booted ...
1
vote
0answers
33 views

Is it possible to create a thread without sharing memory space?

The http://www.man7.org/linux/man-pages/man2/clone.2.html write Since Linux 2.5.35, flags must also include CLONE_SIGHAND if CLONE_THREAD is specified (and note that, since Linux 2.6.0-test6, ...
1
vote
1answer
65 views

Protocol SSL is not working with Curl

I am trying to clone Wayland repository from git (for a project) but git clone command is throwing me an error. I installed curl (from here). After cloning make && make install. Earlier I had ...
1
vote
3answers
75 views

Can't boot from a cloned hard drive

My laptop's hard drive will fail soon (according to SMART), so I decided to clone the entire drive to another one: sudo sh -c 'cat /dev/sda >/dev/sdc' With the new hard drive the laptop shows ...
4
votes
1answer
104 views

Use rsync to clone one server to another?

I have two Debian 9 servers, server A and Server B. Server A is a LAMP stack server. Server A is slow. Server B is fast. I want to clone server A to server B without shutting down server A. How do ...
3
votes
1answer
70 views

How to copy partitions from one device to another, including boot partitions?

Basic Explanation How could I copy partitions sdh1 though shd4 from my 600gb HDD (sdh) to my 1 TB SSD (sdg)? Which are my Windows partitions and still keep it bootable? I used GPT. Below is a ...
1
vote
1answer
127 views

With Linux user namespaces, why can clone() mount /proc, but unshare() cannot?

I am trying to get a non-root user to mount /proc in a Linux user namespace. If I create a namespace via clone(), then I can mount /proc. However, if I create a namespace via unshare(), then the ...