Zeal-Operating-System / ZealOS

The Zeal Operating System is a modernized fork of the 64-bit Temple Operating System, TempleOS.
https://zealos.net
The Unlicense
1.47k stars 68 forks source link

is booting with QEMU really supported? (help) #157

Closed coloredmarble closed 1 month ago

coloredmarble commented 3 months ago

Sorry to be that type of idiot that tries to do something in an unsupported way. but not QEMU?? no frickin way.
The current issue is that ZealOS won't detect the boot cdrom supplied to QEMU. Saying it cannot "Detect the ATAPI Boot drive"

# current supplied commands
qemu-system-x86_64 -m 512M -enable-kvm -drive file=zeal.iso,format=raw,index=0,media=disk \
-device ahci,id=ahci \
-display sdl

I've also tried to look up anything related to QEMU and ATAPI. and i found this old page on the wiki

It appears that ATAPI support is yet to be added (since almost a decade ago). Or this page might be outdated. and ATAPI support is already out. but i don't know how to use it.

Is QEMU really unsupported? even though it can boot TempleOS just fine?

y4my4my4m commented 3 months ago

@coloredmarble

This works for me on the latest ISO, using qemu 8.2.2

qemu-system-x86_64 -display gtk,gl=on,zoom-to-fit=on -machine q35,kernel_irqchip=on,accel=kvm -audiodev driver=pa,id=pa1 -cdrom ZealOS-PublicDomain-BIOS-*.iso -device AC97,audiodev=pa1 -hda ZealOS.qcow2 -m 8G -smp $(nproc) -rtc base=localtime -nic user,model=pcnet

The QEMU uasge documentation and implementation itself is a bit rough because qemu keeps changing and removing legacy stuff (like they did from version 8)

GutPuncher commented 3 months ago

@coloredmarble https://zeal-operating-system.github.io/ZealOS-wiki/Installing-(QEMU)

GutPuncher commented 1 month ago

Assuming issue was resolved after 2 month stale, setting inactive