epostsyed Posted December 30, 2016 Share Posted December 30, 2016 Machine: Q32-2.5 BIOS: OVMF Hyper-V: Yes OS Install ISO: /mnt/user/isos/en_windows_10_multiple_editions_version_1607_updated_jul_2016_x64_dvd_9058187.iso OS Install CDRom Bus: SATA VirtIO Drivers ISO: /mnt/user/isos/virtio-win-0.1.126.iso VirtIO Drivers CDRom Bus: SATA Privary vDisk Location: /dev/sde Primary vDisk Bus: SATA If I create a VirtIO virtual disk then everything works fine. But I want to have a dedicated Sata drive for my VM. I also tried Machine i440fx-2.5. I can get it to work if I use SeaBIOS but I want UEFI support, since I want to use GPU Passthrough for this VM. <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/sde'/> <target dev='hdd' bus='sata'/> </disk> I have tried all possible settings I can think of. My problem is whenever I use the SATA passthrough, right after Windows 10 Installation when it restarts, the BIOS cannot see the SATA drive and can't start Windows. My Steps: Run Windows Installation from the ISO install the VirtIO drivers Start the Installation Process Windows Restarts Stuck at Shell (couldn't find Windows) I also tried the following. Still same result. I must be missing something very simple. <controller type='scsi' model='virtio-scsi'/> <hostdev mode='subsystem' type='scsi' rawio='yes'> <source> <adapter name='scsi_host5'/> <address bus='0' target='0' unit='0'/> </source> </hostdev> My Info: SCSI Devices [0:0:0:0] disk Kingston DataTraveler 3.0 PMAP /dev/sda 7.75GB [1:0:0:0] disk ATA WDC WD40EFRX-68W 0A82 /dev/sdb 4.00TB [2:0:0:0] disk ATA WDC WD40EFRX-68W 0A82 /dev/sdc 4.00TB [3:0:0:0] disk ATA Samsung SSD 840 DB6Q /dev/sdd 250GB [b][5:0:0:0] disk ATA MTFDDAK256MBF-1A M6T3 /dev/sde 256GB[/b] [6:0:0:0] disk ATA WDC WD20EARS-00M AB51 /dev/sdf 2.00TB Link to comment
Bean Posted December 30, 2016 Share Posted December 30, 2016 try writing exit in shell to enter the bios and see if you can add the drive there in the boot manager Sent from my SM-T800 using Tapatalk Link to comment
saarg Posted December 30, 2016 Share Posted December 30, 2016 You shouldn't be using the disk identifier when passing the disk through. sde can change on boot. Instead use disk by-id. See here for info. Link to comment
epostsyed Posted January 2, 2017 Author Share Posted January 2, 2017 Thanks. I will change it to DiskByID. The following changes seemed to fix the error. Machine: [glow=red,2,300]i440fx-2.5[/glow] BIOS: OVMF Hyper-V: Yes OS Install ISO: /mnt/user/isos/en_windows_10_multiple_editions_version_1607_updated_jul_2016_x64_dvd_9058187.iso OS Install CDRom Bus: [glow=red,2,300]USB[/glow] VirtIO Drivers ISO: /mnt/user/isos/virtio-win-0.1.126.iso VirtIO Drivers CDRom Bus: [glow=red,2,300]USB[/glow] Privary vDisk Location: /dev/sde Primary vDisk Bus: SATA Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.