[vbox-dev] Offline Patching of images

Matt Coleman mcoleman at dattobackup.com
Thu Dec 20 14:06:38 GMT 2012

Use nbd locally with qemu-nbd:
modprobe nbd
qemu-nbd -c /dev/nbd0 [path-to-image]

View the partitions:
parted /dev/nbd0 print

Select a partition and mount it; for example:
mount /dev/nbd0p1 /mnt/vdi

On Dec 20, 2012, at 3:58 AM, prabhjeet kaur <prabhjeetkour at gmail.com> wrote:

> Dear Members,
> I have a question that 
> How to patch the VM images offline if we want any changes??
> Actually, I want to delete some of the files stored in VM disk without powering on "VM image online".
> So, for that we have to make changes in .vdi file of image or something else.
> If yes, then how can we open .vdi file to write anything in it??
> Thanking You,
> Prabhjeet Kaur
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

More information about the vbox-dev mailing list