Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using on QEMU doesn't work. #42

Open
1Codealot opened this issue Oct 23, 2023 · 2 comments
Open

Using on QEMU doesn't work. #42

1Codealot opened this issue Oct 23, 2023 · 2 comments

Comments

@1Codealot
Copy link

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.

@MarkPCExpertYT
Copy link

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)

@1Codealot
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants