trying to get aqemu set up on easyos, but wanted to quickly add that the setup wizard had a screen at the beginning that had /root/.aqemu set as default for vm configurations. once i finished the wizard, it was created.
trying to get aqemu set up on easyos,
That's also where I found it. With the 3rd search attempt./root/.aqemu set as default for vm configurations.
thank you for sharing that. i hadn't ever really figured out what to do with the windows 10 virtio drivers for my win10 vm. i will give the suggestions there a try at some point.There is actually a detailed instruction how to get a VM Linux running in EasyOS on top of the Puppy EasyOS forum.
i'm glad to hear that workedthe display or graphics weren't great on my attempt,
this link got me thinking about about what happens when aqemu runs a vm. the commandThere is actually a detailed instruction how to get a VM Linux running in EasyOS on top of the Puppy EasyOS forum.
ps aux
will show what processes are running and the command that was issued to run them. so i ranps aux | grep -i qemu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
user 7262 4.0 1.0 403096 83712 ? Sl 20:10 0:02 aqemu
user 7283 20.1 1.1 5227768 94900 ? Sl 20:11 0:02 /usr/bin/qemu-system-x86_64 -monitor stdio -smp 2 -soundhw ac97 -machine accel=kvm -m 4096 -drive file=/home/user/Downloads/LXLE-Focal-Release.iso,media=disk -drive file=/home/user/.aqemu/lxle_focal_HDA.img,if=ide,media=disk -boot once=d,menu=off -net nic -net user -rtc base=localtime -name "lxle-focal"
user 7309 0.0 0.0 8900 720 pts/1 S+ 20:11 0:00 grep --color=auto -i qemu
qemu-system-x86_64 -monitor stdio -smp 2 -soundhw ac97 -machine accel=kvm -m 4096 -drive file=/home/user/Downloads/LXLE-Focal-Release.iso,media=disk -drive file=/home/user/.aqemu/lxle_focal_HDA.img,if=ide,media=disk -boot once=d,menu=off -net nic -net user -rtc base=localtime -name "lxle-focal"
-device ich9-intel-hda,id=sound0
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0
-audiodev pa,id=hda,server=[pulse audio server string]
-global ICH9-LPC.disable_s3=1
-global ICH9-LPC.disable_s4=1
all these 5 lines are just needed to configure the virtual
audio card in such a way that it can be recognized and
used without problems by the guest OS.
i know you've stated from the beginning that you preffered gui. i just wanted to point out that if you consider trying other options at some point it might be worth a look. part of the reason i mention that is sound choices seem somewhat limited in aqemu.
this is output from my mint system running the lxle vm again. basically the gui start button ran the command
qemu-system-x86_64 -monitor stdio -smp 2 -soundhw ac97 -machine accel=kvm -m 4096 -drive file=/home/user/Downloads/LXLE-Focal-Release.iso,media=disk -drive file=/home/user/.aqemu/lxle_focal_HDA.img,if=ide,media=disk -boot once=d,menu=off -net nic -net user -rtc base=localtime -name "lxle-focal"
i can copy that command and run it in a terminal. it opens the same vm without needing to run aqemu at all.
for the record, i believe that is a good idea and approach. i didn't mean to suggest that using aqemu didn't have any value at all. i only meant to share that it might be possible to add to that value at some later time and didn't want to forget to include that information when you got to that point.Yes, now you have me reconsider. - I wanted first to get accustomed to the Aqemu GUI, for creating an example VM, like the LXLE now, and for being able to do the same with windows11 afterward.
hopefully you wouldn't need to type those lines every time. you could save them to a file or create a script that runs the vm. these are the contents of a script namedBut how it is an advantage to type 3 lines of commands into a terminal?
lxle_vm_launch.sh
that runs the lxle vm on my mint system:#!/usr/bin/env bash
/usr/bin/qemu-system-x86_64 -monitor stdio -smp 2 -soundhw ac97 -machine accel=kvm -m 4096 -drive file=/home/user/Downloads/LXLE-Focal-Release.iso,media=disk -drive file=/home/user/.aqemu/lxle_focal_HDA.img,if=ide,media=disk -boot once=d,menu=off -net nic -net user -rtc base=localtime -name "lxle-focal"
env
is located.chmod
.ls -l Documents/easyos_aqemu/lxle_vm_launch.sh
-rw-rw-r-- 1 user user 309 Aug 24 09:57 Documents/easyos_aqemu/lxle_vm_launch.sh
chmod +x Documents/easyos_aqemu/lxle_vm_launch.sh
ls -l Documents/easyos_aqemu/lxle_vm_launch.sh
-rwxrwxr-x 1 user user 309 Aug 24 09:57 Documents/easyos_aqemu/lxle_vm_launch.sh*
Originally I allotted 2 GB of memory (available 4 CPUs also never stick with my Aqemu setup). Now the maximum is 4 GB in this dialog. But even when 'Remove limitation on maximum amount of memory' - I have to assume from an OS as Easy, who usually runs in RAM and only saves on USB (in my case now) when directed, there isn't really any more than the physical RAM available for an installation?
3) Configuration:
first of all we will have to create the file which will act as the virtual system drive for our VM. This file will grow dynamically in size. Meaning that it will be just a few kilobytes big at the beginning and will be allowed to grow on demand till the size we want to allow. I assume that 20 GB are enough. Otherwise, adjust the command as needed:
that looks like it is referring to disk space rather than RAM or memory. i believe you should be able to show amount of RAM withIt needs 8.6 GB for an installation, while having only 2.1 GB (that was after allotting 4 GB to it?!).
free -m
lsblk -f
sudo parted -l
that part of this page (just to make sure i am understanding correctly): https://forum.puppylinux.com/viewtopic.php?t=9028&sid=3c8d63de017de345b9ee59004d334d0fOr is this a limitation of the Aqemu GUI again? - Obviously, in the setup guide at Puppy Linux it sounds differently implemented:
So it appears even 20 GB are possible for windows10 as VM created by command-line qemu. But it that also the case with 8 GB of RAM only?
that last part is similar to what i found with my vm that used-m 4G --> we assign 4 GB of RAM memory to this VM. We have tested that Windows 10 does not run well enough when it's only given 2 GB of RAM. Hence, it is unfortunately not adviceable to do this on PCs which only have 4 Gigs, since one should never assign more than 50% of the available physical memory to a VM generally speaking.
-m 4096
.free -m
gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 7802 923 4728 868 2150 5909
Swap: 0 0 0
sudo parted -1
# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 0 100% /mnt/.easy_ro/easy_sfs
sdc
├─sdc1
│ vfat BOOT 3FD7-404C
└─sdc2
ext4 easy 47abe9f7-b0ee-415f-8ba0-221c2d7072bd 14,5G 44% /mnt/sdc2
sdd
├─sdd1
│ exfat Ventoy 4E21-0000
└─sdd2
vfat VTOYEFI 1E1C-88C8
zram0
zram1
ext2 TOPLEVELZRAM
23330086-0197-4f45-aa0e-c4f74cad2ef7 8,8G 1% /mnt/.easy_rw
zram2
i forget to explain sometimes that the -l is a lowercase L. i know when the formatting changes, it can look like the number 1. i'll leave the formatting off this time:sudo parted -1
Don't feel obliged to reply to my question to a GUI you're not really comfortable with. It seems to me, experienced Linux users just aren't. Though not really mine, I do understand the differing perspective. At least a search of Aqemu does suggest: https://www.linux.org/search/1963132/?q=aqemu&o=datei got to thinking earlier that there may be others here who use aquemu that may not see these posts since they are buried so deep in your original thread.
How to copy/paste from the VM?try those commands in the lxle vm
i don't feel obliged. i promise. i think it is interesting to learn about.Don't feel obliged to reply to my question to a GUI you're not really comfortable with.
that i haven't figured out so far. up to this point i had focused mostly on getting it running from the iso.How to copy/paste from the VM?
spice-vdagent
) in the vm itself and i believe some other spice packages installed on the host machine. of course that would be after installation where it seems like you are stuck at present. in case you get that far though, these are the spice packages installed in my mx linux host system. the first one is also installed on my mint host:apt list 'spice*' -i
Listing... Done
spice-client-glib-usb-acl-helper/oldstable,now 0.39-1 amd64 [installed,automatic]
spice-vdagent/oldstable,now 0.20.0-2 amd64 [installed]
Not installed in EasyOS, it seems.that i haven't figured out so far. up to this point
Code:apt list 'spice*' -i
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
fd0
loop0 squashfs
sda iso9660 LXLE 2022-05-30-01-56-56-00 0 100% /rofs
-sda1 iso9660 LXLE 2022-05-30-01-56-56-00 0 100% /cdrom
-sda2 vfat 0DSF-1D86
sdb
sr0
Warning: the driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
Ignore/cancel?
that looks like it should be good or represent the ~4GB of RAM or memory you allocated.total is 4201
i think if i hit the letter I for Ignore then Enter, the command then runs and shows some info about the disks. according to lsblk, sdb doesn't look formatted, but hopefully parted will show size.sudo parted -l
Code:Warning: the driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. Ignore/cancel?