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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
194 views

Efficient way to write a sparse partition to a disk image?

I generate an ext4 partition image that contains a minimal Debian file system, then write that partition image into a full disk image. I am looking for the fastest way to do the write. Consider a ...
Fadeway's user avatar
  • 113
0 votes
1 answer
147 views

Add Partition Table to existing vhdx partition image

I have images of single paritions (not full disks) in vhdx format. I want to create VMs with Hyper-V with them. Since the images are only partitions the machines do not start. How can I add the disk ...
Fritz's user avatar
  • 103
0 votes
0 answers
70 views

GCP image import error: install_apt_packages failing

I was trying to import a debian-11 image (debian-11-genericcloud-amd64.raw) using gcloud compute images import command. However it was failing, and looking at the logs it seems that ...
Tarun Gupta's user avatar
0 votes
0 answers
57 views

Linux virtsysprep does not run on uefi image

Hi all im trying to use virt sysprep on image that have uefi boot disk. When i strat the proccess i get this error virt-sysprep: error: no operating systems were found in the guest image Could ...
Philip Scot's user avatar
0 votes
1 answer
32 views

Can I mksqashfs a whole Mint 20 OS then restore with unsquashfs on a different drive?

I have a very strict system with the bare minimum applications on for security reasons since I work with medical data. Sometimes the laptops we use messup for one reason or another, won't boot, can't ...
Definity's user avatar
  • 127
0 votes
1 answer
144 views

Changing the disk type of vsphere VM using Rest API

I am looking for a way to convert my Vsphere VM disk type using REST API calls, like "Dependent" and "Independent-Nonpersistent". i was searching in the documentation for Sphere 6....
ravi kumar's user avatar
2 votes
0 answers
126 views

How to make a virtual disk image out of several parts?

During a process of moving to a virtualized infrastructure I encountered the following curious problem. We want to evaluate everything first. This involves creating a virtual images of all required ...
Nikita Kipriyanov's user avatar
0 votes
0 answers
97 views

Can I use a KVM image of Debian as a bootable image for a laptop?

I'm given the task to create a unified Debian image for all my teammates laptops. My plan is to create a KVM with all the necessary software and settings and copy this image later with dd to the hard ...
manifestor's user avatar
  • 5,899
0 votes
1 answer
169 views

Creating/Deploying Windows Server 2019 Image on multiple servers

I manage servers that are all identical in terms of hardware and software. The only differences are hostnames and IP addresses. I've been researching how to clone the OS across these to speed up ...
eek's user avatar
  • 261
0 votes
1 answer
25 views

Extract the content of the image from which the Windows workstations are installed?

I am just developer who tries to debug one nasty error that happens only on the workstations that are built/installed from some corporate image of the Windows workstation. I have no idea what "...
TomR's user avatar
  • 111
1 vote
1 answer
919 views

How to determine disk image file format: VMDK, VHD or raw file format?

Is there any shell command using which I can determine the format of a disk image file? I want to check that disk image file is in which of these formats: vmdk, vhd of raw file.
Abhay Gupta's user avatar
0 votes
1 answer
502 views

Disk snapshot size created from a google compute engine exceeds used space

I have a Google Compute Instance (VM) that has a 2TB disk and around 80GB used space. I wanted to archive this VM so that I don't get billed for the whole 2TB, and also so that it is ready to be ...
mrtksy's user avatar
  • 1
0 votes
0 answers
1k views

Disk disappeared after umount and reboot

I had a disk which disappeared: # df -h Filesystem Size Used Avail Use% Mounted on . . /dev/mapper/vg1-osblv02 5.0T 61G 4.7T 2% /data/osb-pool-1 /dev/mapper/vg01-osblv01 ...
kunz's user avatar
  • 123
5 votes
6 answers
6k views

RAID 1, vs RAID 6 vs RAID 10. What is most secure and reliable for my needs?

Here is what I need to achieve. I have a work PC with 2xSSD one for O.S. and software, and the second smaller for storing data. Currently I backup my data on an external HDD and on the cloud, I also ...
S. W. G.'s user avatar
  • 151
0 votes
0 answers
20 views

Virt Block device resizing [duplicate]

I am attempting to expand the size of a virtual disk on an existing image. I was successful to expand the virtual hard disk and partition thanks to this guide, but noticed my virtual disk was still ...
Snappawapa's user avatar
0 votes
0 answers
683 views

How do I recover a broken logical volume group?

I created a logical volume group for my xen VMs on a separate drive. I had them working perfectly. Then I accidentally unplugged the USB cable hosting my vg0. Now my VMs drives cannot be detected. I ...
brad's user avatar
  • 123
0 votes
1 answer
2k views

losetup mounts disk image as one device. How to loopback the partitions seperately?

I have a disk image with 2 partitions. When I do #losetup -f <file> only /dev/loop0 appears. How do I make /dev/loop0p0 and /dev/loop0p1 appear? Using #parted /dev/loop0 it does show the 2 ...
AnnoyinC's user avatar
  • 103
0 votes
1 answer
256 views

RHEL specific version images not available in Google Cloud Platform

When trying to create VM instances in GCP compute Engine, only RHEL latest versions images are available for each release. RHEL 7.9 and RHEL 8.3 are available. But unable to find RHEL 7.6/7.7/7.8/8.1/...
majetym's user avatar
5 votes
2 answers
143 views

Advice on replicating Hyper-V server image

What would be some recommendations for replicating a Windows Server 2019 system image that also contains a couple of Hyper V VMs? I have several identical new Dell Edge servers to set up. Setup ...
Chris Olsen's user avatar
0 votes
1 answer
866 views

ESXi management fails, refusing connections, after copying in the boot drive from a backup

I’m writing this after having found the solution myself, because it was such a strange “gotcha” it deserves to be documented. Although I hit this issue while doing a restore, it’s possible this could ...
Kevin's user avatar
  • 1,580
1 vote
1 answer
97 views

How to read binary contents of free disk space in CentOS

Is there a way I can use dd or another tool to view the binary contents of free disk space in CentOS? In case it matters, it's a Linux logical volume with XFS format, holding data only (not a common ...
frazierjason's user avatar
0 votes
1 answer
426 views

Cannot create VM with uploaded image on Openstack (Devstack)

I am working on a very simple project with Openstack, using Devstack. Currently, I've been able to make networks, routers, Vm's without many issues. But here is where I am having trouble. I've created ...
AsapHogFtw's user avatar
0 votes
0 answers
442 views

How to Lift and Shift from OpenStack to GCP?

I have previously had an OpenStack based cloud environmnent in which I had virtual servers. I have migrated to GCP and while I've refactored everything to be cloud native (and especially k8s), I'd ...
Fleuri's user avatar
  • 255
0 votes
2 answers
182 views

How to create GCE machine image without including unmounted disks?

I created a machine image on GCE from a running ubuntu VM which has an "additional" disk available to be mounted. That disk is mounted for backups, then dismounted, and was not mounted at ...
Gary Aitken's user avatar
1 vote
2 answers
1k views

Is there a good way to shrink disk usage of sparse file containing luks-encrypted btrfs file system image?

I've created a sparse file filesystem.img, formatted in with cryptsetup luksFormat, created a btrfs filesystem on it. The image file disk usage expanding fine while adding files to the btrfs ...
Nick's user avatar
  • 126
0 votes
1 answer
180 views

gcloud compute engine - multiple full backups / snapshots / machine images?

On a gcloud debian vm instance, I would like to create full backups and rotate them, e.g. one per day of week one per week one per month one per year That is, each daily would get over-...
GaryA's user avatar
  • 1
0 votes
0 answers
132 views

Make an image from entire ESXi host

For some reasons, I need to make an image from entire ESXi host. It is a physical server, I don't know the root password. It's ESXi 6.0 standalone host. I want to make a copy from entire server, ...
Nabi's user avatar
  • 1
0 votes
2 answers
1k views

Compute Engine - 1000 GB disk cant decrease size

i have a huuuuge problem. Created a snapshot and image from my instance...instance has 1000GB of disk. Now i need to reduce it but everytime i try to create an image or a snapshot from that, i get ...
tidpe's user avatar
  • 201
7 votes
5 answers
4k views

How to write a sparse Linux (EXT4) disk image without writing gigabytes of zeros?

I have a 64 GB Linux disk image with ~50 GB of unused space across the partitions. The file is sparse, so it only takes ~14 GB on disk. But if I dd the image, it writes the full 64 GB, which takes ...
hackerattacker2019's user avatar
0 votes
0 answers
87 views

How can I automate the installation of an Ubuntu image using a USB device?

I have to automate the installation of a Linux image. The perfect behavior would be that I plug the USB, turn on the device and it runs the dd command in order to flash the image stored in the USB ...
Gabriel Llorens Valles's user avatar
1 vote
2 answers
1k views

Automatically extend VM partition filesystem following a qemu-img resize

I'm launching a virtual machine with QEMU/KVM. After resizing the qcow2 disk image via qemu-img resize Test.qcow2 +500M And looking at the instance disk via: fdisk -l inside the instance, I can ...
thjso's user avatar
  • 11
2 votes
2 answers
1k views

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION ------------------------------------------------...
jdevelop's user avatar
  • 143
-1 votes
1 answer
284 views

ClearLinux on Openstack

I'm having trouble getting ClearLinux to work on OpenStack. From their download source, based on their sites download page & documentation, I've tried clear-29690-cloud.img, clear-29690-cloud-...
sfxworks's user avatar
  • 157
-1 votes
2 answers
261 views

VM image vs Phyical server image?

I often hear its easy to create the image of one VM and setup it another VM(even instance types are of different types) than creating the image on physical server. In fact one of the devops guy in ...
user3198603's user avatar
1 vote
0 answers
52 views

Multi-OS imaging strategy

I've been backup up my Windows system to an external 2TB WD drive for a while, but not my CentOS server. Most of the code I write lives on GitHub so I haven't been concerned about it. I'm currently ...
Paul Allsopp's user avatar
0 votes
1 answer
203 views

live server disk image backup data integrity

I've been looking for a way to do a disk image backup of a running linux server. There are several questions which answer this, like How to make a disk image, Mirror Live Linux (Debian) Server, Linux ...
1gd_1bs37coua9dd's user avatar
2 votes
2 answers
4k views

How to resize lxc/lxd images, if i am using LVM backend?

I'm using LXD few years and I'm glad to use this platform in my testing environment. But few days ago, I couldn't install Microsoft SQL server 2017. The reason was, that I used default ZFS backend. ...
Piduna's user avatar
  • 531
0 votes
1 answer
751 views

Clonezilla from single USB stick / pen

I am trying to create a custom clonezilla installer, as a tool to refresh our standard machines from memory stick. I can customise the start menu fine from syslinux/syslinux.cfg just fine, but I ...
David Shields's user avatar
1 vote
1 answer
1k views

Hyper-V virtualization with google compute engine image

I am trying to download an image from my Google Compute Engine VM Instances in Google Cloud Platform and I'm following this article to export the image to a GCS Bucket and download it locally. I need ...
Hector Restrepo Jimenez's user avatar
0 votes
1 answer
77 views

Do all disks advertised as xyz-GB have exactly the same byte size?

I must setup a system where i can do a "dd if=/dev/sda of=/dev/sdb" to a backup and the reverse. This means i need disks to have exactly the same number of byte or i will run in trouble. It's not ...
Lothar's user avatar
  • 791
0 votes
1 answer
441 views

How to re-enable test mode when deploying Windows 10 wim image with Dism?

I am upgrading about 200 machines in my lab from Windows 7 to Windows 10, and as part of the upgrade, I am also converting the file system on the machines to GPT. I am doing this as an automated ...
vadim6385's user avatar
0 votes
2 answers
4k views

Azure: How to attach data-disks on VM startup, formatting if necessary

I want to provision an Azure VM with Terraform and configure it by using a custom AMI created by Packer. I want an attached, snapshotted, managed data-disk. I want to use Oracle Linux 7.4 What is ...
Feenaboccles's user avatar
2 votes
2 answers
5k views

What steps are needed after cloning from a image Ubuntu to new system? (sysprep, unconfig)

I have an imaged (clonezilla) system image of a Ubuntu setup with a bunch of settings. Now I am wondering, what needs to be changed if I use the clonezilla image to create always new systems from this ...
cilap's user avatar
  • 277
2 votes
2 answers
1k views

Copy a disk in another VM in Azure (using Graphic Interface)

I'd like to copy a disk of a VM and use it in another VM. I see that there are many tutorials to do it, but they suggest to use PowerShell, bash, ecc. But I don't want to spend time to learn how to ...
Vzzarr's user avatar
  • 141
1 vote
1 answer
13k views

How do I generate a bootable .iso file from a directory?

Currently, I have selected a distribution of Linux that I like a lot and I have downloaded the .iso image which I can simply dd to an USB or CD media, etc... I would like to add some additional data ...
Ben Behar's user avatar
  • 121
1 vote
1 answer
256 views

Find out exact location of GRUB / GRUB not working after copying disk image

I prepared an Ubuntu server image with VirtualBox. To transfer the image to the server's SSD I first dded the MBR (512 bytes) and then the LVM partition (PV containing the root partition shrunk to 3GB)...
code_onkel's user avatar
0 votes
0 answers
26 views

KVM: Cloning RHEL server on 2 disk images onto 1 disk image

We currently have a RHEL VM that is running from 2 disk image files (excuse my terminology if it is incorrect). Is there a way of cloning these 2 disks to create a 1 disk image?
Tariq Hasan's user avatar
2 votes
1 answer
4k views

KVM image format convertion: raw thin provisioning to raw preallocated

I'd like to convert a KVM virtual machine disk image in raw file from a thin privisioning format to preallocated. In the first place I've got a preallocated 20Gb raw image file: image: /var/lib/...
Damon Hill's user avatar
-1 votes
1 answer
32 views

What to do if system administrator does not support system image? [closed]

In case of a system failure, I wanted to create a system image. However, it requires administrative password. System admin asked me why you want to create a system image; because we don't support it ...
Kutadgubilig's user avatar
0 votes
1 answer
170 views

Automatic Image Deploy from Network to Multiple Different Machines

We have multiple different "computers" that uses SD card like drives to store Windows. Those Windows are written to those cards with HDD Raw Copy. Every couple of weeks we manually Write ...
Cagurtay's user avatar

1
2 3 4 5