ThoriumOS icon indicating copy to clipboard operation
ThoriumOS copied to clipboard

Using on QEMU doesn't work.

Open 1Codealot opened this issue 1 year ago • 2 comments

This maybe wrong as idk how to use qemu but when i ran this command:

qemu-system-x86_64 \
-enable-kvm                                                    \
-m 4G                                                          \
-smp 2                                                         \
-hda Disk_for_ThoriumOS.qcow2                                  \      
-boot d                                                        \
-cdrom ~/Downloads/thoriumos_image.bin                         \
-netdev user,id=net0,net=192.168.0.0/24,dhcpstart=192.168.0.9  \
-device virtio-net-pci,netdev=net0                             \
-vga qxl                                                       \
-device AC97

I get this: Screenshot_20231023_182604

I know that the path to the .bin file is correct.

This was done using the latest version in releases.

1Codealot avatar Oct 23 '23 17:10 1Codealot

The ThoriumOS image isn't an ISO file, but a BIN file. It's a raw disk file, and not a cd-rom image. using this command:

qemu-system-x86_64 \
-enable-kvm                                                    \
-m 4G                                                          \
-smp 2                                                         \
-hda Disk_for_ThoriumOS.qcow2                                  \      
-boot menu=on                                                  \
-hdb ~/Downloads/thoriumos_image.bin                           \
-netdev user,id=net0,net=192.168.0.0/24,dhcpstart=192.168.0.9  \
-device virtio-net-pci,netdev=net0                             \
-vga qxl                                                       \
-device AC97

This sets the ThoriumOS image as the second HDD in the VM, and also enables the boot menu since QEMU has no way of specifying to make it boot from the second HDD, but SeaBIOS does. Make sure to press F12 at boot to make the boot menu show, and boot from the second HDD. (but be quick as you have KVM enabled and so the BIOS only shows for a tiny bit of time)

(I actually could not get ThoriumOS working in QEMU, nor any other VM software, so if it works for you, I'd be happy to hear how)

MarkPCExpertYT avatar May 08 '24 06:05 MarkPCExpertYT

Ok I'll try this in a bit. :)

1Codealot avatar May 08 '24 11:05 1Codealot