quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.73k stars 470 forks source link

Windows installer does not get find drives #67

Closed leiserfg closed 3 years ago

leiserfg commented 3 years ago

I'm trying to install windows 10 but it does not find any drive, just in case my qemu version is 6.1.0

mark2185 commented 3 years ago

Could you post the command you use to start it and its output, also the corresponding config?

leiserfg commented 3 years ago

I'm using the default config for windows 10, running it with ./quickemu --vm windows-10.conf
And this is the output I'm getting

Quickemu 2.2.2 starting windows-10.conf
 - QEMU:     /usr/bin/qemu-system-x86_64 v6.1.0
 - BOOT:     Legacy BIOS (windows)
 - CPU:      1 Socket(s), 2 Core(s), 2 Thread(s), 3G RAM
 - Disk:     windows-10/disk.qcow2 (64G)
             Just created, booting from windows-10/Win10_21H1_EnglishInternational_x64.iso
 - Boot ISO: windows-10/Win10_21H1_EnglishInternational_x64.iso
 - CD-ROM:   windows-10/virtio-win.iso
 - Screen:   1664x936
 - Display:  SDL, qxl-vga, GL (on), VirGL (off)
 - ssh:      On host:  ssh user@localhost -p 22221
 - SPICE:    On host:  spicy --title "windows-10" --port 5930 --spice-shared-dir /home/leiserfg/Public
 - WebDAV:   On guest: dav://localhost:9843/
 - Process:  On guest: killall windows-10   (if a forced kill is required)
 qxl_send_events: spice-server bug: guest stopped, ignoring
leiserfg commented 3 years ago

In case it's helpful this is the config

guest_os="windows"
disk_img="windows-10/disk.qcow2"
iso="windows-10/Win10_21H1_EnglishInternational_x64.iso"
fixed_iso="windows-10/virtio-win.iso"
leiserfg commented 3 years ago

Got it! I have to add the virtio drivers before installing so it finds the disk.