User Controls
Is there a reliably way to convert raw .img to ISO?
-
2020-07-01 at 4 AM UTCI have a distro that's made for VM, it comes in ova format in order to run it with QEMU-KVM, i have to extract the vmdk file qith the following operation.
tar xvf distro.ova
# Then convert the vmdk like so
qemu-img convert -O qcow2 disk1.vmdk disk1.qcow2
In order to run it. However i was wondering if there would be a way after altering the qcow2 file to convert it back to a raw img file and perhaps use the DD utility to transfer the filesystem and boot record to an ISO that can later be used to create a bootable DVD or USB again. Basically what i want is to customize the distro, then re-release it as an ISO file.
Would that be possible? I've looked into it for a bit and it doesn't seem to be the case, however i figured i'd ask here just to make sure. -
2020-07-01 at 4:27 AM UTCI assumed img and iso were the same format
for what you want to do though - when you boot a lunix iso it will typically load the currently-running operating system into RAM so if you make changes to it and restart, the ISO is untouched. I would expect if you want to update the OS you'd then need to dd the ramdisk back to the iso or to a different iso. -
2020-07-02 at 11:22 PM UTC