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.

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

243 questions
226
votes
29 answers

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 available on pretty much all bootable Linux…
falstro
  • 2,675
  • 3
  • 18
  • 10
86
votes
2 answers

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 hardware dependent..." (iain) or "...the perfect size…
Damiano Verzulli
  • 3,948
  • 1
  • 20
  • 30
71
votes
11 answers

How to mount a CD/DVD ISO in Windows 7?

Does Windows 7 have native support for mounting CD/DVD ISO images? If not, what is the best tool to use for that under Windows 7 64-bit? I am looking for a solution to allow installing MSDN downloads without burning them to CD/DVD.
Jim McKeeth
  • 1,876
  • 4
  • 20
  • 21
34
votes
6 answers

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 back the image file, if the virtual machine's…
bmaeser
  • 639
  • 2
  • 6
  • 10
31
votes
2 answers

Which is better image format, raw or qcow2, to use as a baseimage for other VMs?

I am using a baseimage and based on that creating many VMs. And now I want to know which is better, qcow2 or raw to use for a baseimage. Moreover, can you please tell me if there is any advantage of using this baseimage thing, instead of cloning the…
A-B
  • 563
  • 2
  • 6
  • 17
28
votes
9 answers

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
  • 599
  • 3
  • 10
  • 17
24
votes
4 answers

How to write ISO image to usb memory stick from linux command-line?

I'm having trouble figuring out how I would write an ISO disk image to a USB flash memory device from the command line in Ubuntu. I have the Startup Disk Creator utility, but I need to be able to script this job. I found the usb-creator package, but…
mikepurvis
  • 1,047
  • 2
  • 9
  • 17
22
votes
7 answers

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 (restore) to a virtual machine. I'm basically…
drewrockshard
  • 1,753
  • 4
  • 20
  • 27
20
votes
1 answer

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 my App and VPN configuration etc. I saw some of…
Ramesh Kumar
  • 1,690
  • 5
  • 18
  • 29
19
votes
6 answers

Prepare a disk to be imaged by Clonezilla for use on smaller disks?

A recurring problem we have is that the computers we use to build our master images on may have larger hard drives than some of the target systems' drives. Its well-known that Clonezilla won't put a disk image on a smaller drive. Outside of finding…
poke
  • 1,079
  • 4
  • 11
  • 21
18
votes
3 answers

Converting an EC2 AMI to vmdk image

I've come quite close to getting Amazon Linux to boot inside VirtualBox, thanks to this answer and these websites. A quick overview of the steps I've taken: Launch EC2 instance with Amazon Linux 2011.09 64-bit AMI dd the contents of the EBS volume…
Reed G. Law
  • 337
  • 1
  • 3
  • 10
18
votes
10 answers

Best way to "clone" my Windows Server 2008 R2?

I have a Windows Server 2008 R2 Machine with 1 physical hard drive. I have an exact copy of the hardware of it, which I intend to use a a redundant backup in case my server fails (hardware or software). I'd like to routinely "clone" my production…
A.B. User
  • 245
  • 1
  • 4
  • 8
17
votes
12 answers

How can I copy a VHD image back to a physical disc?

It's quite easy to backup a real drive to VHD, e.g. with Sysinternal's Disk2VHD on XP or with Windows Image Backup on Windows 7. But how do I copy that file back? It's possible by booting a recovery CD or the Windows installation DVD. But can it…
Christian
  • 1,033
  • 5
  • 16
  • 24
12
votes
2 answers

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.img of=/dev/sdb do what I want? Will I be able to…
11
votes
5 answers

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 WebsiteSpark and need to install it on my remote VPS…
1
2 3
16 17