Keep uuid or use full path to vmdk file with real hardware

Discussions related to using VirtualBox on Linux hosts.
Post Reply
fernandomaroto
Posts: 1
Joined: 25. Apr 2017, 17:42

Keep uuid or use full path to vmdk file with real hardware

Post by fernandomaroto »

Hi!
I'm trying to install an OS in real hd/USB through virtualbox.
I create a vmdk file with:
sudo VBoxManage internalcommands createrawvmdk -filename ~/sdc.vmdk -rawdisk /dev/sdc

The problem is that after booting the OS .iso and formating the partitions it changes the uuid, then the hd/USB can't keep the changes or is not even installed. (at least is what i'm suspecting is happening)

I mean this line inside the vmdk file for example:
ddb.uuid.image="17100e0f-c7be-4ab8-89b3-aed44553c743"

I'm wondering if there is a way to make uuid always the same even after formating or if i can set it to use full path like /dev/sdb.

* In the USB case i know i can use the "Devices" options to add it.

EDIT1: Ok i managed to make one installation; didn't partitioned the disk, so i don't know if partition is what break the installation or if is the swap (which i didn't add in this case). I'll test further.

That way i'd be able to install any distro i want through virtualbox, directly from my OS pendrive.

EDIT2: Fixed, if someone want to read about: https://forum.antergos.com/topic/6660/i ... staller/11
Thanks for your attention!
Post Reply