Questions tagged [disk-image]

248 questions
9
votes
2 answers

Enlarge a filesystem image

I was doing dpkg --configure -a in my Debian wheezy. And got this error: dpkg --configure -a dpkg: failed to write status record about `libcairo2' to `/var/lib/dpkg/status': No space left on device I am chrooted into a .img file. What can I do?
JohnnyBoy
  • 159
1
vote
0 answers

How to build large file system images, preferable without root access

The task: take a directory tree with 100's of Mb up to several Gb of stuff, with many files, and a fair amount number of symlinks. Produce a file that is an image of a mountable file system for use as an AWS volume snapshot. If at all possible,…
0
votes
0 answers

Create a disk image of a dualboot system with dd

I would like to create a disk image of a dual boot system (Ubuntu, Windows 11). Ubuntu is on /dev/sda1 and Windows 11 on /dev/sdb1 How can I accomplish the task with the dd command? I tried sudo dd if=/dev/sda if=/dev/sdb of=dualboot.img bs=64K…
kzpm
  • 65
0
votes
1 answer

Fastest way to create a filesystem image with cloop/create_compressed_fs

Cloop is a linux software package to mount compressed block device images. create_compressed_fs is the accompanying tool to create a compressed image of a filesystem (or any kind of file or block device). What is the fastest way to create a…
JanKanis
  • 1,069
-3
votes
1 answer

What can an image file be created to mirror?

https://unix.stackexchange.com/a/278966/674 An image file is a copy of the data on a block device, in the form of a file (on another filesystem). Image files can have any extension; .img is common. https://en.wikipedia.org/wiki/Disk_image A disk…
Tim
  • 101,790