install Bluefin-dx Linux into HyperV
2025-01-03 10:51
Hyper-v >> create new vm >> accept wizard defaults, except place .vhdx into c:\vols
instead of buried in user profile
The vm can't see USB thumb drives unless they're actual drives that can be marked Offline. Find out if the USB is offline-able from Admin prompt faster than using Computer Management:
diskpart
list disk
select disk {# of the USB drive}
offline disk
Mine couldn't be set offline, so use Disk2vhd utility from Windows Sysinternals to convert the usb stick to .vhdx
, and then add that as a Hard Disk to the vm using Hyper-V.
In vm settings
- Remove Network Adapter (for now, re-add later, prevents trying to PXE boot)
- disable Secure Boot (cures “SCSI Disk (0,0) the signed images hash is not allowed” error)
Start VM. The bluefin boot prompt showed up >> accept wizard defaults >> install
Turn off VM >> Enable Network >> restart
"Perform MOK Managemant" text prompt >> Enroll MOK >> password universalblue
>> reboot
A tasteful dinosaur artwork background is seen, followed eventually by “Welcome to Bluefin-dx 40” setup wizard.
On my laptop the VM is sluggish, but workable. I only have 16GB of memory which is 85% consumed, with only 4GB is allocated to the VM. CPU below 10%.
mouse does not work → correction, mouse works but the pointer is not visible.
shutdown signal works
Open a terminal with ctrl-alt-T
Network is up but ping etc. fail.
ifconfig shows eth0
has an ip address, and it matches the one from host powershell, 172.30.12.40
Get-VMNetworkAdapter -VMName "Bluefin-dx" | Format-List
Hunch: whatever is failing here, is the same reason WSL networking is broken on this machine (ref).
Broken network aside, I have a working Bluefin-dx VM on Windows 11
Sources#
- Redirect USB Device To Virtual Machine Using Hyper-V As Host - Super User.
- https://answers.microsoft.com/en-us/windowserver/forum/all/scsi-disk-00-the-signed-images-hash-is-not-allowed/7b3ea0ba-abb3-44ef-a8a3-6ba3c75d2bff
- https://universal-blue.discourse.group/t/running-in-a-vm/1492
- https://universal-blue.discourse.group/t/secure-boot-key-mok-management/4310
- https://universal-blue.discourse.group/t/running-in-a-vm/1492/3