Questions tagged [disk-image]

Questions surrounding the creation and use of disk images (created via dd, ddrescue, or other means)

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Erasing Ubuntu image on external hard-drive

I have burned an ubuntu image on an external hard-drive and I am trying to erase it. I have first tried to erase the image through the pi-imager but for some reason I get the error: Error formatting (...
Joachim Bsh's user avatar
0 votes
0 answers
39 views

Unable to boot from cloned drive using DCFLDD

Original system drive is 1TB NVME M.2 SSD. running Ubuntu 22.04. created an image file using DCFLDD running off a Live USB on said system. Moved the image file to another system, and restored it ...
danik56's user avatar
  • 11
0 votes
0 answers
39 views

Zeroing to achieve compact dd image of NTFS flash drive

I have a partly filled USB flash drive containing a small FAT16 and a large exFAT partition. I would like to make a compressed backup image of its contents. A failed restore of an image created with ...
Ray Woodcock's user avatar
0 votes
0 answers
13 views

Create disk image of system with data on Dropboxsync

Every month I create a clone of my system disk (containing Ubuntu 20.04.6) using Clonezilla. Recently I started to save my work to Dropbox. For this I use the Ubuntu Dropbox app. The actual Dropbox ...
justinian482's user avatar
0 votes
0 answers
40 views

Error finding matching public key for signature with ubuntu-image device

I am following the tutorial for creating a Ubuntu Core image on the Ubuntu website and getting an error. Here is the link to the instructions: https://ubuntu.com/core/docs/create-model-assertion The ...
Kris's user avatar
  • 139
0 votes
0 answers
107 views

Resizing a BTRFS image without mounting it

I'm trying to resize an image containing a btrfs filesystem: btrfs filesystem resize 16G disk.img But I get the following error: ERROR: resize works on mounted filesystems and accepts only ...
Maestro's user avatar
  • 123
3 votes
1 answer
646 views

22.04.2 server image is *three* times the size of 22.04.1: why?

I'm sorry to have to say it, but the 22.04.2 server install has exploded. Unreasonably. What's going on? I've been packaging Ubuntu-based VMs for several years, first on 20.04.x, then 22.04, 22.04.1, ...
EML's user avatar
  • 213
0 votes
0 answers
28 views

How do I create disk partions using ubuntu that has already been launched? [duplicate]

Ive been trying to partion my disk using ubuntu but anytime I try to resize it it says error in unmounting...target is busy!How do I go about it since am a new user in ubuntu?
Clinton Purim's user avatar
0 votes
2 answers
165 views

Can't boot from flash drive with custom .img

I recently tried using this answer to create a custom .img of my system. I created a fresh Ubuntu Install in a new partition, set everything up, installed all the bloat I need for some stuff and then ...
User1986's user avatar
  • 261
0 votes
2 answers
1k views

Disk Cleanup utility on ubuntu

This question is influenced by the diskclean utility in Windows. Is there a tool (and a need) to perform the task. I tend to used when imaging a hard disk. Thank you
chribonn's user avatar
  • 271
0 votes
0 answers
80 views

Disk image mounter defaults to read-only

when I try to mount a LUKS encrypted volume in the disks GUI it defaults to "Setup read only loop device". Also, when I open an image file from the file manger I get prompted for the ...
Arthur Mitchell's user avatar
2 votes
0 answers
471 views

Mount .img disk image using Disks utility in Ubuntu 22.04

Simple question, probably naive. I have a .img file (with password) that I want to “attach and mount” in Ubuntu 22.04, then explore through the graphical interface. (Read-only will be enough.) Using ...
JYF's user avatar
  • 31
1 vote
1 answer
449 views

Lost /home partition after resizing with kde partition manager

The disk name is /dev/sdd and the partition table was as it follows: Partition Type Label Size Used First Sector Last Sector Number of sectors /dev/sdd1 unknown Microsoft reserved 15.98MiB ---- 34 ...
Guille Trejo's user avatar
0 votes
0 answers
45 views

building ubuntu-image creates CalledProcessError

I'm trying to create an ubuntu-image on a VM with the following command: ubuntu-image classic --debug --output-dir /tmp/image/ --workdir /tmp/work/ --project base --suite focal --thru prepare_image /...
kay's user avatar
  • 11
-1 votes
1 answer
356 views

username/password for jammy-server-cloudimg-amd64-disk-kvm.img?

what is the username/password combo for https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img ? i have tried root:blank and ubuntu:blank and ubuntu:ubuntu , wasn't any ...
hanshenrik's user avatar
1 vote
1 answer
304 views

How to backup a Ubuntu USB installation as a disk image?

I have Ubuntu installed in an USB drive. It is not a live or persistent live install. It is a regular, full install. Is there any way to backup the USB drive to a .img or .iso file, which I can later ...
Archisman Panigrahi's user avatar
0 votes
1 answer
25 views

Is there a way to "fake-install" Ubuntu filesystem into a directory or a tar from an old .img installation medium?

Long story short, I'm trying to create an ARM architecture docker image of Ubuntu 10.04 (don't ask me why) because Docker Hub only contains the amd64 version. The furthest I got is finding that the ....
KubaFYI's user avatar
  • 101
0 votes
0 answers
35 views

Where to find the script to build images like here: https://partner-images.canonical.com/oci/?

Other answers point to https://code.launchpad.net/~ubuntu-core-dev/livecd-rootfs/+git/livecd-rootfs/+ref/ubuntu/master as the basis. I cannot locate the scripts found at the links here: How are the ...
michacassola's user avatar
0 votes
0 answers
180 views

How to import images in MAAS

How to import images for deployment other than ubuntu like VMWare ESXi, Windows, CentOS, RHEL, Ubuntu
Gangadhar D M's user avatar
0 votes
0 answers
46 views

Copying Image file to microSD card how best to validate

I use DC3DD to copy Raspberry Pi image files to multiple microSD cards using a Lexar card reader. This has been working well for years, but I've recently encountered a batch of faulty microSD cards. ...
Mike Richards's user avatar
2 votes
1 answer
553 views

How is the Ubuntu server image for Raspberry Pi built?

I am trying to figure out how the Ubuntu server images for Raspberry Pi are created. The ones you can download from here: https://ubuntu.com/download/raspberry-pi In my search I have found a few tools,...
Peter's user avatar
  • 141
1 vote
0 answers
144 views

How to create an image as small as a cloud image?

Creating an Ubuntu 22.04 server image with the official .iso and VirtualBox, for it to be on BTRFS subvolumes, I ended up with more than 4GB of virtual disk. How do I create an image that is as nice ...
michacassola's user avatar
0 votes
0 answers
19 views

Internal HDD cannot give partition

I am having a weird kind of problem. I have a 640gigs internal hdd but it is unusable. It shows up in disks but in weird way. Image of disks It just gives format partition option and nothing else. The ...
Computer's user avatar
0 votes
0 answers
236 views

Ubuntu 18.04 auto setup image

I'm trying to work out how to make an ISO image for a Ubuntu 18.04 that I can use to install on a remote server from OVH. Using there BYOI system if I can use an image thats been preseed with the SSH, ...
Peter2019's user avatar
0 votes
1 answer
175 views

Is it possible to rearrange and recreate a single disk partition in a raw image file?

Host: Ubuntu 20.04.4 LTS Current status: Raw image file has 2 partitions, p1: boot and p2: rootfs. Disk original.img.bak: 3.25 GiB, 3487742976 bytes, 6811998 sectors Units: sectors of 1 * 512 = 512 ...
Sinipelto's user avatar
0 votes
2 answers
698 views

Create a browsable rootfs image

How to create a browsable rootfs image in Ubuntu? E.g. that I can extract files that I need in a matter of minutes? Have already considered dd and tar-gzing root fs, but both don’t answer the criteria ...
Denis Kulagin's user avatar
0 votes
2 answers
2k views

Syspreping an Ubuntu image

Is there a way to make a capture-ready Ubuntu image? something like Sysprep for Windows, where you remove all the user-specific data from the image (like user accounts, passwords, etc ...) to make a '...
user7389496's user avatar
0 votes
1 answer
269 views

ext4 FS image gets corrupted on first mount

I"m in the process of replacing my M.2 SSD with a new and larger one. I want to save an image of my existing partitions before I take out my old SSD so that I can refer to it when setting up my ...
rothloup's user avatar
  • 213
0 votes
1 answer
269 views

moving KVM image from one server to another and then resize

host1 has a 40G guest image inside an LV. host2 has a 50G guest LV partition available. dd to transfer host1/guest(40G) --> host2/guest(50G). gdisk to correct the location of the GPT table - root@...
David's user avatar
  • 111
0 votes
1 answer
8k views

How to decompress .img.gz a compressed disk image to .img?

Probably this is duplicate, i can't find out related from search engine. How i can extract .img.gz file into .img file? i have files archived as .img.xz and .img.gz. i can extract .img.xz using xz-...
abu-ahmed al-khatiri's user avatar
2 votes
1 answer
752 views

Make an image of my complete linux installation including all my personal files?

Is it possible to convert my Kubuntu to one single ISO? This should also include all the files that I've saved in here (folders on desktop, pictures, etc.). Moreover, how to restore the image to the ...
Shiv_90's user avatar
  • 274
0 votes
1 answer
349 views

Ignore label when mounting boot partition of os image as a loopback device

I would like to mount the boot partition of the ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz downloaded off the Raspberry PI web site. Unpacking the image file and mounting the boot partition ...
Christoffer Soop's user avatar
4 votes
1 answer
933 views

Use img file as block device

I created an img file using dd (sudo dd if=/dev/zero of=/home/danialbehzadi/dong.img bs=1000K count=32) and now I want it to be used as a block device, so I can restore a filesystem saved by ...
Danial Behzadi's user avatar
1 vote
1 answer
148 views

Read DVD image with dd until empty

I want to compare the SHA hash of the .iso file that I burned to a DVD with the image of the DVD itself to see if they are identical if the burning was succesful. The problem is that they are not, not ...
Orchid67732's user avatar
0 votes
0 answers
640 views

Mount a full disk / memory image that contains multiple partitions formatted in FAT32, EXT3 and EXT4 (Android type)

I have made a full memory backup of my rooted Android phone and I would like to be able to mount the images of the Internal Memory and the SD Card in Ubuntu. The Internal Memory has many different ...
antoniu200's user avatar
2 votes
3 answers
6k views

What are the different versions available as Ubuntu cloud-images?...General Guide for Ubuntu Cloud Image use in Virt-manager 2021

I'm soooo thrilled to finally find prebuilt Ubuntu images. I was using osboxes, but the file size when converting is 500GBs and tedious to compact. Fresh installs are tedious, especially when 90% of ...
alchemy's user avatar
  • 744
2 votes
1 answer
653 views

How to write a disk-image to SD/USB safely?

I am looking for a tool to write disk image to SDcard or USBstick safely. I have the following requirements: graphical user interface (i.e. no clonezilla or dd) tool is specialized for removable ...
Grumbel's user avatar
  • 4,679
2 votes
1 answer
5k views

Using dd with conv=sparse for creating partition or full disk images?

For some reason there don't seem to be too many questions or answers about using dd for creating "smaller" image files with the conv=sparse option here. So when using dd for image creation, ...
user79's user avatar
  • 33
0 votes
3 answers
1k views

How to create an image of system partition without booting from live DVD or USB? (Emergeny mode?)

I'd like to create an image of my 20.04 system partition as a backup in case that anything goes wrong so that I can restore it later. Additionally I want to make the system partition smaller (maybe ...
user79's user avatar
  • 33
1 vote
1 answer
742 views

how to mount a writable loopback image as easily as we can create it?

To create a image we just run gnome-disks and then format it. And the 1st time it will be (auto?) mounted writable. but after that, I can only mount it readonly with the "open with disk image ...
Aquarius Power's user avatar
1 vote
2 answers
919 views

Disk Image Mounter does not show hidden files/folders when it opens an ISO file

I archived a lot of files and folders into a .img file... it is a disk image I made using dd and rsync. I then made an .iso file from the .img file (using ImgBurn in Windows 10). Using Caja file ...
FlexMcMurphy's user avatar
1 vote
1 answer
2k views

.img file restore to disk partition

I had created a backup.img file from a hard disk having two partitions. Now I want to write these partitions to another hard disk. But the problem is I don't know how? If I use dd than it write the ...
Ajay's user avatar
  • 678
0 votes
1 answer
304 views

Imaged a LUKS drive while unenencryted, now can't mount

while imaging a LUKS drive I accidentally imaged it while it was unencrypted (only imaged sdx1 instead of whole drive, sdx2 was boot). Now it won't mount. I've tried pretty much all methods to try and ...
Steven's user avatar
  • 1
2 votes
1 answer
1k views

Restore a linux partition image (by Macrium Reflect) after HDD format

My previous setup had Windows and Ubuntu in two primary partitions on the same HDD. I had backed up the Ubuntu and EFI partitions (using Macrium Reflect) before giving to service center, where they ...
Pablo Escobaro's user avatar
3 votes
1 answer
720 views

How to build preinstalled Ubuntu server image?

There are Preinstalled Ubuntu server image for Raspberry Pi on https://cdimage.ubuntu.com/ubuntu/releases/focal/release/: Where can I find the build scripts to build such image?
draw's user avatar
  • 210
0 votes
1 answer
90 views

Moving Linux image to Windows disk and vice versa, in a dual partition system with two disks

My dual-boot laptop has two SSDs: A 480Gb disk containing the master boot record and Windows. (This disk has lots of free space because I no longer user Windows.) A 180Gb disk containing my Linux ...
Olumide's user avatar
  • 549
0 votes
0 answers
144 views

fdisk showing inconstant data, it shows /dev/sda twice

I boot a laptop off of an Ubuntu USB drive. I want to to use dd to image the laptop so I can have a copy before I format it. When I do fdisk -l I get root@ubuntu:/mnt/nfs/volume2/drive2/fpp/test# ...
Dovid Bender's user avatar
0 votes
0 answers
138 views

Vm and Ubuntu on mac

I have a problem with the very start of setting up ubuntu with a VM on mac Result Code: NS_ERROR_FAILURE (0x80004005) Component: SessionMachine Interface: ISession {c0447716-ff5a-4795-b57a-...
jake comiskey's user avatar
1 vote
2 answers
959 views

The cleanest way to compile Ubuntu from scratch?

Intro: I heard Ubuntu is safe because it is open sourced, we can see what code is running on our machine. Although there is source code of the linux kernel and many open source modules, but how could ...
vincent102416849's user avatar
0 votes
0 answers
351 views

How is Bootabiiity Restored to an SD Card (Ubuntu-MATE / Raspberry Pi 4B)?

How is Bootability Restored (Repaired) to an SD Card; Raspberry Pi 4B, Ubuntu-Mate 20.04 I don't want to lose my files or customizations. The SD card for my Raspberry Pi 4B became un-bootable after ...
jerry's user avatar
  • 21

1
2 3 4 5 6