I did it , and it worked, I was wondering if it can come up or give into any trouble eventually with using just a "dd" comand as a method V2P.
I followed theses steps with success to get a V2P in virtualbox:
0 - Install System in a Virtualbox
1- Make available the virtual system disk in linux devices.
Code: Select all
sudo apt-get install qemu
sudo modprobe nbd max_part=16
sudo qemu-nbd -c /dev/nbd0 drive.vdi
Code: Select all
sudo dd if=/dev/nbd0p1 |pv| sudo dd of=/dev/sda8 bs=4M
Code: Select all
sudo mount -t ext4 /dev/sda8 /mnt
sudo mount --bind /dev /mn/dev
sudo mount --bind /proc /mn/proc
sudo mount --bind /sys /mn/sys
sudo chroot /mnt
grub-install /dev/sda
update-grub