quickemu-project / quickemu

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

easyos will not boot #921

Closed dabrown645 closed 6 months ago

dabrown645 commented 8 months ago

Expected behaviour

Expect to be able to boot up into downloaded OS

Actual behaviour

System did not boot up and went looking for pixie boot

Steps to reproduce the behaviour

quickget easyos 5.6.4 quickemu --vm easyos-5.6.4.conf

Quickemu output

quickget easyos 5.6.4 easyos-5.6.4/easy-5.6.4-amd64.img 100%[===================================================================================================>] 857.00M 23.9MB/s in 36s Making easyos-5.6.4.conf Giving user execute permissions on easyos-5.6.4.conf,

quickemu --vm easyos-5.6.4.conf

Quickemu 4.9.1 using /usr/bin/qemu-system-x86_64 v8.2.0

Screenshot_20240208_110119

Linux Distribution & Kernel

Run the following and paste the output.


lsb_release --all
uname -a

❯ lsb_release --all
LSB Version:    n/a
Distributor ID: Garuda
Description:    Garuda Linux
Release:        Soaring
Codename:       Spizaetus
❯ uname -a
Linux rog1 6.7.4-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:37 +0000 x86_64 GNU/Linux
zen0bit commented 8 months ago

I'll take a look later today..

lj3954 commented 8 months ago

Clearly, EasyOS is using a .img file. The make_vm_config function is where the image type is set. EasyOS should be added to the switch cases. Default behavior is to set guest OS to "linux" and image type to "iso".

dabrown645 commented 8 months ago

Looks like it will need changes to both quickget and quickemu. I tried setting gest to batocera which also uses img to see if it would and it did. Not sure what other setting need to be made in quickemu to support easyos

zen0bit commented 8 months ago

just needs convert img to qcow2 to work. qemu-img convert -f raw -O qcow2 "${ISO}" disk.qcow2 easy os as is like installed system on ext4 partition. Or for installation just unpack in any dir.

Not yet sure where to implement that...

lj3954 commented 8 months ago

just needs convert img to qcow2 to work. qemu-img convert -f raw -O qcow2 "${ISO}" disk.qcow2 easy os as is like installed system on ext4 partition. Or for installation just unpack in any dir.

Not yet sure where to implement that...

FreeDOS, ReactOS, etc, have unarchiving in the create_vm function. You should put it there.