Windows 10 M2 SATA passthrough not booting


Recommended Posts

I am not able to boot my windows 10 install after installing on a M2 SATA drive passed through to the VM.

 

I have an M2 slot where i have plugged in a 2TB M2 SATA drive.

 

IOMMU group 6:	[8086:a282] 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]

 

This is passed into the VM with

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x17' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x01' function='0x0'/>
    </hostdev>

 

What happens:

PC boots

Goes to installer

Installs successfully

Reboot

EFI shell -> type exit

Try to boot from different device, but SATA device is not listed in OVMF BIOS

 

The same is experienced in Ubuntu 20.04

 

Note:

Setting boot order does nothing

Rebooting the server and booting from the SATA drive works just fine.

Passing this through to an existing install works just fine as well.

Edited by RandomUser345
Link to comment

I tried using clover as suggested in the video above and managed to show show the windows EFI bootloader. However when it click it it just errors and goes to a blue error screen saying i need to repair my windows system

 

Update: I followed what he said in the video. Installed it to a virtual disk then clone it onto the SSD. Then i used clover to try and boot the cloned SSD passed into the VM.

But in clover there are no entries for the windows disk, there is nothing to boot

Edited by RandomUser345
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.