Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
33 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 ...
user avatar
0 votes
0 answers
15 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 ...
user avatar
0 votes
0 answers
18 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, ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
0 votes
2 answers
73 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 ...
user avatar
0 votes
2 answers
158 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 '...
user avatar
0 votes
1 answer
38 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 ...
user avatar
  • 161
0 votes
1 answer
69 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@...
user avatar
  • 91
0 votes
1 answer
767 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-...
user avatar
2 votes
1 answer
69 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 ...
user avatar
  • 264
0 votes
1 answer
69 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 ...
user avatar
2 votes
1 answer
71 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 ...
user avatar
1 vote
1 answer
47 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 ...
user avatar
0 votes
0 answers
266 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 ...
user avatar
0 votes
0 answers
82 views

How to mount Android image for data recovery?

I have an Android full system image mmcblk0.img which I'd like to mount in order to process for data recovery (using testdisk or some other suitable tool if anybody is more familiar with this). ...
user avatar
1 vote
3 answers
2k 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 ...
user avatar
  • 590
2 votes
1 answer
247 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 ...
user avatar
  • 4,440
1 vote
0 answers
716 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, ...
user avatar
  • 23
0 votes
3 answers
165 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 ...
user avatar
  • 23
1 vote
1 answer
226 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 ...
user avatar
1 vote
2 answers
325 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 ...
user avatar
1 vote
1 answer
423 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 ...
user avatar
  • 638
0 votes
1 answer
84 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 ...
user avatar
  • 1
0 votes
0 answers
67 views

How to make recovery system image in ubuntu 20.04 like windows system image?

I am new to ubuntu. I try to learn ubuntu, now I have a problem with backup. I try to make a recovery system image for ubuntu and I carry it on my Pendrive. When my computer goes wrong I restore the ...
user avatar
0 votes
0 answers
122 views

How to create up to date ubuntu iso image to install from?

During and after installation of ubuntu 20.04.2.0 i experienced a good deal of obstacles. First i had to switch to onboard gpu to even be able to install , then i had to install the proprietary nvidia ...
user avatar
0 votes
1 answer
356 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 ...
user avatar
3 votes
1 answer
355 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?
user avatar
  • 190
0 votes
1 answer
54 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 ...
user avatar
  • 529
0 votes
0 answers
39 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# ...
user avatar
0 votes
0 answers
112 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-...
user avatar
1 vote
2 answers
390 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 ...
user avatar
0 votes
0 answers
254 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 ...
user avatar
  • 21
0 votes
0 answers
37 views

Copying data to slightly smaller disk

I have a disk (32G) at /dev/sda, I want to clone that into a slightly smaller disk (30G) at /dev/sdb. Both of them have just the one partition (/dev/sda1 and /dev/sdb1 respectively) currently not ...
user avatar
0 votes
1 answer
575 views

Where can I get the Ubuntu Server 20.04.1 LTS for Raspberry Pi?

Nice to meet you. I installed Ubuntu Server 20.04.1 LTS on my Raspberry Pi last December. (I used Raspberry Pi Imager) It was necessary to reinstall, and when I started Raspberry Pi Imager, the OS ...
user avatar
  • 3
0 votes
0 answers
31 views

Did I screw up when imaging luks partition?

Background: https://askubuntu.com/posts/comments/2249654?noredirect=1 Ok, so when I imaged the drive it was unlocked and I only imaged the luks partition (IE. only the luks part of the drive and not ...
user avatar
  • 1
1 vote
1 answer
85 views

Is there a way to create a bootable image of a running Ubuntu system that excludes certain paths?

I have an Ubuntu 20.04 system that I use as my media server, and I'd like to create an image of the OS (so all my programs and configuration will be preserved) without including my media in the image, ...
user avatar
  • 61
0 votes
3 answers
62 views

What are all the options available to capture Ubuntu installation and later restore to a pristine condition?

For testing, I have been using an Ubuntu Server VM on a Windows machine under VMware and disabling persistent storage. After a reboot I'm back to the original machine configuration. It's really ...
user avatar
2 votes
1 answer
1k views

How to mount .raw disk image with no partition table

I need help. I try to mount disk image from a file in raw format and I cant see any partitions on it, so I don`t know how to mount these file. fdisk -l file.raw Disk file.raw: 2 GiB, 2147482624 bytes,...
user avatar
  • 725
2 votes
2 answers
4k views

Image Writer not working - missing partition table

I have downloaded the Windows 10 iso file and first, I tried to write it to my 16GB USB with the command sudo dd if=Win10.iso of=/dev/sdb and it didn't work so I tried balena etcher. it says missing ...
user avatar
4 votes
1 answer
2k views

Remaster Installation Image for Ubuntu 20.10

I do remaster the images for installing ubuntu on my computers to have a custom preseed. But with 20.10 my previous used process and commands did not work That's the command i used with 20.04: xorriso ...
user avatar
0 votes
1 answer
351 views

How to use Clonezilla + NAS to enable an Ubuntu server to clone itself only via remote access?

Is this (or something like it) feasible, and if so, what high-level procedure/config is needed to do it? The rig/setup Ubuntu Server 20.04 node1 has only one disk, which can be partitioned. Ubuntu is ...
user avatar
0 votes
0 answers
55 views

No return when trying to access the root directory

I have a fat16 I am currently trying to look at the root directory, but I'm getting little to no return with the following command: sudo dd if=Project1.dd bs=512 | hexdump -C -s $(( 2132*512 )) -n $(( ...
user avatar
0 votes
2 answers
3k views

How to open .DD file to analyze it?

I am new to this process and I'm struggling a bit. I was given a .dd file to analyze as an assignment in my current college course. I am using Sans Sift in a virtual box environment, but I have no ...
user avatar
0 votes
1 answer
223 views

Cannot Umount the file /dev/sda1 in VirtualBox

I am using a Ubuntu 16.04 LTS on VirtualBox and start working on Yocto Project. I was able to modify and allocate until 1TiB in the Virtual box outside but when booting the system, it will just ...
user avatar
1 vote
0 answers
165 views

Gnome Disk Image Mounter Permission Issues

I am trying to mount an ISO but am getting permission issues: I have tried running disk-image-mounter as root which works, but while in nautilus, under other locations I see the image but am unable ...
user avatar
2 votes
2 answers
3k views

Raspberry Pi - Diskless Cluster using Ubuntu 20.04.1

I'm attempting to get Ubuntu 20.04 to boot diskless on a Raspberry PI so I can run Ubuntu on a cluster. So far, I moved the images from the boot partition on an installed RPi4b with Ubuntu installed, ...
user avatar
0 votes
0 answers
31 views

Ubuntu 18.04 server dosn't boot after shrinking image

I converted my physical Ubuntu 18.04 server maschine into an image running on unRaid. Cause the image is 1TB (size of the original HDD) and the data itself is just about 170GB, i shrinked the main ...
user avatar
0 votes
0 answers
205 views

Create a loop device from partition image

I have a partition.img. It was created with dd if=/dev/sdb1 of=partition.img conv=noerror,sync. Now I want to have a loop device that: 1) has a GPT partition Table 2) its only partition is partition....
user avatar
  • 357
0 votes
0 answers
18 views

Transfer system to another HDD

I'm using Ubuntu 20.04 installed on 320 GB HDD that is about to fail. I've bought new, 1 TB HDD and I want to migrate my system to it. The question is can I make (and how) an image of my current ...
user avatar
0 votes
1 answer
492 views

Ghost Image file using FSArchiver for Full-Disk Encrypted OS Drive

Trying to make a ghost image of my full-disk encrypted Ubuntu OS drive. Normally I've used FSarchiver for years. Great tool. But lately, something strange is happening. I have full disk encryption ...
user avatar
  • 211

1
2 3 4 5