Solved, setting up a VM using qemu
Linux for blind general discussion
blinux-list at redhat.com
Wed Aug 11 13:23:20 UTC 2021
Hi Brandt,
thanks for your contribution!
There was a mistake in my instructions that you corrected, good.
I will investigate the issue you mention.
Warm regards,
Didier
--
Didier Spaier
Slint maintainer
diider(at) slint (dot) fr
Le 11/08/2021 à 10:12, Linux for blind general discussion a écrit :
> Hi all,
>
>
> Didier, for some reason your script is giving me a "no bootable device"
> error, but needs must, thus, here are two scripts and instructions for
> use. I will post the scripts inline.
>
>
> First, create a folder for your VM. I did:
>
> $mkdir ~/qemu
>
>
> Then copy the Windows .iso in to that folder and rename to windos.iso as
> follows
>
>
> $cd ~/qemu
>
> $cp ~/Downloads/Win10_21H1_English_x64.iso windows.iso
>
>
> Now we make the virtual disk, the script doesn't do that for you.
>
> #qemu-img create -f qcow2 windows.qcow2 128G
>
>
> Mine is 128 GB in size, only because I use my Windows to make a living.
>
>
> Now take the script below and save it as 'installwin.sh' do not copy the
> quotes on the blank lines at the top and botom, I put them there to
> indicate the script code.
>
>
> "
>
> #!/bin/zsh
>
> cd `dirname $0`
> qemu-system-x86_64 -enable-kvm -cpu
> host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -m 4G -smp cores=2
> -soundhw hda -device intel-hda -device hda-duplex -audiodev
> pa,id=pa,out.mixing-engine=off,out.latency=20000 -hda windows.qcow2 -nic
> user,smb="${HOME}/" -usbdevice braille -boot c -cdrom windows.iso -boot d
>
> "
>
>
> Make it executable.
>
> #chmod a+x ~/qemu/installwin.sh
>
>
> Now you run it and install Windows the normal way.
>
>
> To actually start Windows, use the script below. Mine is saved as
> 'startwin.sh'
>
>
> "
>
> #!/bin/zsh
>
> cd `dirname $0`
> qemu-system-x86_64 -enable-kvm -cpu
> host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -m 8G -smp cores=2
> -soundhw hda -device intel-hda -device hda-duplex -audiodev
> pa,id=pa,out.mixing-engine=off,out.latency=20000 -hda windows.qcow2 -nic
> user,smb="${HOME}/" -usbdevice braille -boot c
>
> "
>
>
> Please note, this set of scripts will let you install and run Windows in
> bios boot, not in EFI.
>
> --
> Warm regards,
>
> Brandt Steenkamp
>
> Sent from my gass powered Slint hair dryer.
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
More information about the Blinux-list
mailing list