Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2847  / 1 Year ago, sun, may 28, 2023, 7:58:07

Due to some issues I've had with VirtualBox, I recently switched to using Qemu, with the Qemulator GUI, and all has been well when playing with Linux virtual machines.



However, due to needs from my very-Microsoft-married school, I need to install Windows 7, but I'm having a problem. The Win7 installer is only seeing the virtual drive as 1GB in size and refuses to install on it. I initially used the "Auto" setting when creating the drive, but when that didn't work, I tried setting it explicitly to "Qcow2" after finding an old tutorial. That didn't work, either.



Is there a particular drive type that reports its size to Windows correctly? Or, is there a way I can tell Qemu to tell the VM that the size is different from its starting size (since the default is a dynamically expanding format)? The VM drives are stored on a 1TB drive with 3/4 of its space unused, so I'm not really concerned about drive space and a static-sized file could be used, if that's what it takes.


More From » windows

 Answers
1

I don't know about your problem, but I successfully installed Win7 on qemu with this command:




virt-install --connect qemu:///system -n win7 -r 2048 --vcpus=2 -f
win7.qcow2 -s 30 -c
win7.iso --vnc --noautoconsole
--os-type windows --os-variant win7 --accelerate --network=bridge:br0
--hvm




-n Name

-r Ram

-s Size in GB

-c Installation media



You might want to try this


[#43676] Monday, May 29, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quivedge

Total Points: 223
Total Questions: 116
Total Answers: 124

Location: Slovenia
Member since Wed, Apr 6, 2022
2 Years ago
;