- This topic has 19 replies, 9 voices, and was last updated Sep 24-6:34 am by andyprough.
-
AuthorPosts
-
January 27, 2022 at 7:03 pm #76245
Anonymous
::I don’t have a computer with (U)efi hardware. Therefore, it was obvious to compensate for this shortcoming (which I do not regret in the least) with QEMU.
Installation command:
$ qemu-system-x86_64 -enable-kvm -m 4096 -bios /usr/share/OVMF/OVMF_CODE.fd -smp 2 -vga std -cdrom /media/Distris/antiX/antiX-21-runit_x64-base.iso -boot d -drive file=/home/male/virtu/platte.img,format=qcow2 -m 4GStart command:
#!/bin/sh qemu-system-x86_64 -enable-kvm \ -bios /usr/share/ovmf/OVMF.fd \ -m 4096 \ -vga std \ -hda /home/male/virtu/platte.img \ -cpu host \ -smp 2 \ -soundhw all \ -monitor stdioAnd no, this does not take place on antiX as host. 😉 unstable-sid
January 28, 2022 at 10:29 am #76259Anonymous
::The above assumes, of course, that the host is of adequate size to accommodate the virtual disk in /home.
Example: Host(my operating system) = 50G
virtual hard disk = 20G
the create command is:
qemu-img create -f qcow2 virtu.img 20GThe data exchange after an installation I do between client and host e.g. in zzzFM:
sftp://male@IP-of-the-host/
The client needs openssh-client and the host additionally openssh-server.Maybe also interesting to do only the ISO test in Qemu:
Example without (U)Efi:
qemu-system-x86_64 -enable-kvm -k de -smp 2 -m 2048 -vga std -monitor stdio -snapshot -cdrom /media/Distris/antiX/antiX-21-runit_x64-base.iso -name runit -boot dFinally it is worth to have a look at QEMU in the package management of Debian.
January 28, 2022 at 12:56 pm #76262Forum Admin
anticapitalista
::Seems like libelogind0 needs to be installed.
qemu-system-x86_64 -enable-kvm -boot d -cdrom /home/anticap/Remaster/iso-files/antiX-19.5_x64-full.iso -m 1024 qemu-system-x86_64: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directoryPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 29, 2022 at 8:28 am #76313Anonymous
September 24, 2022 at 6:34 am #89625Member
andyprough
::Thanks for the script @rayluo!! All worked well for me.
A note on a change since you wrote the original script – qemu-kvm is now called qemu-system-x86 to my understanding. Also if you try to do something where Virt-manager complains that you don’t have “qemu-img” installed, then you need the “qemu-utils” package.
I really appreciate all the work you put into this, it’s fantastic.
-
AuthorPosts
- You must be logged in to reply to this topic.
