Questions tagged [disk-image]

a disk-image is an exact copy of a disk, partition or volume, or the process of making such a copy.

Filter by
Sorted by
Tagged with
236 votes
29 answers
613k views

Using DD for disk cloning

There's been a number of questions regarding disk cloning tools and dd has been suggested at least once. I've already considered using dd myself, mainly because ease of use, and that it's readily ...
falstro's user avatar
  • 2,775
28 votes
9 answers
33k views

How to set up disk cloning with dd, netcat and ssh tunnel?

I would like to copy stuff in bulk (reimage disk using dd) with netcat from host A to B via ssh encrypted channel on Linux. What commands should I type on both ends?
Evgeny's user avatar
  • 599
21 votes
1 answer
103k views

How to create a custom ISO image in CentOS

I am trying to create a custom ISO image which would install the minimal required RPMS along with some custom written RPM of my app. and Also wants to perform some post install steps like configuring ...
Ramesh Kumar's user avatar
  • 1,780
11 votes
3 answers
4k views

Where does Ubuntu store partition UUIDs on disk?

Exactly what part of the disk is a UUID stored on? MBR? Somewhere within the partition? Is it a calculated value, or randomly generated and recorded?
jldugger's user avatar
  • 14.5k
10 votes
1 answer
14k views

What is the recommended method to prepare Red Hat/CentOS 7 templates?

If I need to deploy Red Hat 7 from template, I would like to take the recommended steps to make my "golden image" clean. It should boot to the first boot prompt and guide the user through the typical ...
Aaron Copley's user avatar
  • 12.7k
5 votes
1 answer
19k views

Converting Multiple VMware disk image to single disk image

I have a VMware Instance that uses "multiple vmdk" format(around 7 vmdk files). I want to write the entire disk image to my pen drive. If it was "single vmdk" image, I can use qemu-img convert file....
Snazzy Sanoj's user avatar
92 votes
2 answers
186k views

Does the "bs" option in "dd" really improve the speed?

Every now and then, I'm told that to increase the speed of a "dd" I should carefully choose a proper "block size". Even here, on ServerFault, someone else wrote that "...the optimum block size is ...
Damiano Verzulli's user avatar
37 votes
6 answers
61k views

free up not used space on a qcow2-image-file on kvm/qemu

we are using kvm/qemu with qcow2-images for our virtual machines. qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink ...
bmaeser's user avatar
  • 689
22 votes
7 answers
34k views

Best way to clone a live linux system

Does anybody know of a way to clone a live linux system? I have a live installation running a production site. Problem is, I'm needing to clone it (without bring it down), and then move it over (...
drewrockshard's user avatar
12 votes
2 answers
32k views

Is it possible to restore disk image to a different size hard disk

recently I made a backup 120 GB disk image using dd: dd if=/dev/sda of=backup.img Now I have a new 320 GB hard disk and want to restore that backup image to that new disk. Will running dd if=backup....
NSPKUWCExi2pr8wVoGNk's user avatar
11 votes
5 answers
20k views

Install .iso file on a remote server without DVD drive access

Is there an easy way to install software located on a .iso file to a remote server which does not provide to me access to the DVD Drive? I have a license for SQL Server 2008 Web Edition through ...
Randy Burgess's user avatar
8 votes
3 answers
13k views

What to change after cloning a Linux server? [closed]

Let's say I'm cloning a virtual machine containing a Linux server. What would you advice to change in the clone? I know - it's kind of vague and depends on what services ware installed on linux but ...
4 votes
2 answers
15k views

How to copy KVM disk image to LVM

Problem I'm getting a No space left on device error when doing a dd command. I'm trying to move a KVM qcow2 file to an LVM partition and thought that the LVM partition needed to be the same size as ...
Tauren's user avatar
  • 749
4 votes
13 answers
3k views

Best free tool to image a Windows XP drive before reinstallation?

Usually I stay away from desktop support, but as I am marrying this one I don't think I can get out of it :) Whats the best tool for taking a full, browsable image of a disk before a full ...
Moo's user avatar
  • 2,264
2 votes
2 answers
2k views

Is there a way to relate the mac address of a machine to it's hostname when deploying images over a network?

This is a os-agnostic question; When deploying to a large number of machines, the only thing you have to differentiate them with is a mac address; DHCP can assign an IP to each machine based on it's ...
leeand00's user avatar
  • 4,919
1 vote
1 answer
289 views

Find out exact location of GRUB / GRUB not working after copying disk image

I prepared an Ubuntu server image with VirtualBox. To transfer the image to the server's SSD I first dded the MBR (512 bytes) and then the LVM partition (PV containing the root partition shrunk to 3GB)...
code_onkel's user avatar
1 vote
3 answers
2k views

Can I run Windows Deployment Services from start to finish without using the network?

I'm fairly new to the Imaging world, and I'm going to be imaging some Dell Venue tablets that don't support PXE booting. I've been reading up on WDS and see that I could potentially create something ...
soapergem's user avatar
  • 719
0 votes
1 answer
2k views

ESXi management fails, refusing connections, after copying in the boot drive from a backup

I’m writing this after having found the solution myself, because it was such a strange “gotcha” it deserves to be documented. Although I hit this issue while doing a restore, it’s possible this could ...
Deep Thought's user avatar
  • 1,628
0 votes
5 answers
27k views

Mounting ISO image on VMware ESX guest OS without VMware client

I have an ISO image on my VMware ESX 3.5 host that I would like to mount in a guest OS. I cannot figure out how to do this. I can easily mount an ISO image with the VMware Infrastructure Client's "...
wfaulk's user avatar
  • 6,958