Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Any trouble by using DD's for V2P (Virtualbox)?

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Any trouble by using DD's for V2P (Virtualbox)?

#1 Post by bester69 »

Someone recommend me Installing a virtual, and then moving to physicall with DD.

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
2- Move virtual system to physical.

Code: Select all

sudo dd if=/dev/nbd0p1 |pv| sudo dd of=/dev/sda8  bs=4M
3- Made system bootable

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
It worked very well my V2P test :roll:
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply