Ubuntu guest on external USB SSD freezes at startup
Posted: 17. Dec 2021, 14:07
Hello, and thanks in advance for help!
I am facing this problem where the VM hangs just at the start of booting process [right after CD/floppy fail at the start]. Check attached VBox.zip
The VM is supposed to boot from a .vmdk file that maps to the physical external USB SSD drive that has Ubuntu 18.04 installed.
This process has been done in my previous Windows 10 system and it was working fine. Note: I had a previous version of VBox (not sure how old, probably a year or so old).
I just reinstalled Windows and everything and followed the process to create a new .vmdk file (It is pasted below), this is done automatically by this command: VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive# (where #=2 for my case).
I can boot the external SSD with no issues from BIOS, so at least we know it can actually still boot the normal way.
# Disk DescriptorFile
version=1
CID=9c4ee688
parentCID=ffffffff
createType="fullDevice"
# Extent description
RW 488397168 FLAT "\\.\PhysicalDrive2" 0
# The disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16383"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="c21332dc-4660-4de3-a4f4-0ca7d6451beb"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
ddb.geometry.biosCylinders="1024"
ddb.geometry.biosHeads="255"
ddb.geometry.biosSectors="63"
I am facing this problem where the VM hangs just at the start of booting process [right after CD/floppy fail at the start]. Check attached VBox.zip
The VM is supposed to boot from a .vmdk file that maps to the physical external USB SSD drive that has Ubuntu 18.04 installed.
This process has been done in my previous Windows 10 system and it was working fine. Note: I had a previous version of VBox (not sure how old, probably a year or so old).
I just reinstalled Windows and everything and followed the process to create a new .vmdk file (It is pasted below), this is done automatically by this command: VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive# (where #=2 for my case).
I can boot the external SSD with no issues from BIOS, so at least we know it can actually still boot the normal way.
# Disk DescriptorFile
version=1
CID=9c4ee688
parentCID=ffffffff
createType="fullDevice"
# Extent description
RW 488397168 FLAT "\\.\PhysicalDrive2" 0
# The disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16383"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="c21332dc-4660-4de3-a4f4-0ca7d6451beb"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
ddb.geometry.biosCylinders="1024"
ddb.geometry.biosHeads="255"
ddb.geometry.biosSectors="63"