How to quickly make dd-image of guest's partition?
Posted: 17. Jul 2016, 17:31
Host: Debian Unstable
Guest: Debian Stable
I want to return to Debian Stable. My whole OS is placed on sda1. In order to make this transition smoother I created a VM containing Debian Stable installed on virtual sda1 of the same size as the real sda1 and tuned it. I plan to make dd image of virtual sda1 and then write it over of real sda1 that contains my current host system.
Now there is a problem, I don't know how to quickly make dd-image of virtual sda1. I tried to run Knoppix with Guest Addons in text-mode, but dd is working too slowly. For comparison , it takes about 10 minutes to make dd-image of real sda1.
Is there any way to speed things up? I have hunch that maybe the best way is to access virtual sda1 without running VM at all. I know that it's possible to mount VDI's, but in my case I need to access it as was raw /dev file.
Guest: Debian Stable
I want to return to Debian Stable. My whole OS is placed on sda1. In order to make this transition smoother I created a VM containing Debian Stable installed on virtual sda1 of the same size as the real sda1 and tuned it. I plan to make dd image of virtual sda1 and then write it over of real sda1 that contains my current host system.
Now there is a problem, I don't know how to quickly make dd-image of virtual sda1. I tried to run Knoppix with Guest Addons in text-mode, but dd is working too slowly. For comparison , it takes about 10 minutes to make dd-image of real sda1.
Is there any way to speed things up? I have hunch that maybe the best way is to access virtual sda1 without running VM at all. I know that it's possible to mount VDI's, but in my case I need to access it as was raw /dev file.