Questions tagged [disk-image]

A disk image is a complete duplicate of a disk (or other storage media), in the form of a file.

553 questions
397
votes
11 answers

What disk image should I use with VirtualBox, VDI, VMDK, VHD or HDD?

Latest versions of VirtualBox supports several formats for virtual disks, but they forgot to provide a comparison between them. VDI VMDK VHD HDD Now, I am interested about a recommendation or comparison that considers the following: be able to…
sorin
  • 12,189
85
votes
15 answers

windows equivalent for dd

I need to read and write various flash card images. The way i always did this in linux was with dd, and that did the trick. What is a good windows equivalent? Simply put, i need to be able to read an entire card into a file and vice versa. I tried…
Jarmund
  • 6,277
  • 5
  • 38
  • 60
68
votes
8 answers

How can I mount a partition from dd-created image of a block device (e.g. HDD) under Linux?

I have an image of the entire disk created using dd. The disk structure follows: kent@cow:~$ sudo fdisk -l Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280…
Deleted
  • 5,488
57
votes
7 answers

How to mount a multi-partition disk image in Linux?

I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is there a way to examine this image without writing…
Atilla Filiz
  • 1,226
43
votes
7 answers

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful... So basically, I would like to create a VHD image of a physical disk to be archived/accessed/maybe even mounted in a…
Federico
  • 1,130
33
votes
1 answer

7-Zip seems unable to compress zero-filled virtual disk image after 1.8 GB

I am trying to compress a virtual disk image that is mostly empty. It has about 2 GB used out of 13.5, but even after zero filling the empty space, I am still only able to compress it to around 11.9 GB. I have been using 7-Zip and tested LZMA,…
Tom
  • 831
19
votes
13 answers

I'm unable to mount a DMG, getting a "no mountable filesystems" error

I downloaded a DMG of some commercial Mac software (CSSEdit) but I found that the DMG wouldn't mount. I tried another image from the same company, and then a number of images I had laying around from other software. About half of them mount and…
Peter Burns
  • 1,731
17
votes
9 answers

In linux, how do I create/restore an image snapshot of my entire drive?

I'm too spoiled by Windows utilities that take a digital snapshot of your entire drive, which you can then restore from in the event of a drive crash. (e.g. like Time Machine for Mac OS X). Is there a similar way of doing this in Linux?
user35997
  • 554
16
votes
4 answers

Move existing Windows 7 or 10 installation to new computer?

I have a Windows 7 64-bit installation on my current PC, and I want to move it to a new PC .. I do NOT have a problem with licensing, as the new system already has its own new Windows 7 license, which I intend to use. I want to use my existing…
Ahmad
  • 817
16
votes
3 answers

Reclaim WSL2 disk space after setting it to sparse

Following the advice on How do I get back unused disk space from Ubuntu on WSL2? I set my WSL disk image to sparse with wsl --manage --set-sparse true. But the ext4.vhd file is still very large (~70 GB) while running du inside WSL reports…
16
votes
5 answers

How do I mount a HFS+ dd image in OS X?

I had an HFS+ formatted drive that was going bad and wouldn't mount at all on OS X. I created an image using ddrescue on linux, and was able to save most of it. I can mount the drive and see the data just fine in linux using this: mount -o loop -t…
15
votes
6 answers

Create an image file of a running Linux system

As I understand it, creating an image of a Linux system makes an exact copy of the OS and any user files/configurations/programs etc. What I would love to do is create an image of my work PC and install it at home on my desktop. Can someone briefly…
toc777
  • 277
14
votes
1 answer

What's the difference between dd and cat for writing image files?

When writing image files to disk or to a USB stick, the instructions usually use dd, like this: dd if=myimage.img of=/dev/sdb How is this different from, say: cat myimage.img > /dev/sdb I realize that dd has many more options, like count=..., but…
14
votes
4 answers

How to create a virtual machine from a .img disk image?

I downloaded a disk image used for a wargame hosted by stripe, but I cant figure out how to create a virtual machine from this image. I'm using virtualbox, but I could use another tool if it would be easier
14
votes
1 answer

/dev/sda equivalent in Windows

Is there an equivalent to /dev/sda in Windows, without using Cygwin or other external tools?
Luc
  • 3,411
1
2 3
36 37