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

QEMU script does not boot #1

Open
stapelberg opened this issue Jan 16, 2022 · 4 comments
Open

QEMU script does not boot #1

stapelberg opened this issue Jan 16, 2022 · 4 comments

Comments

@stapelberg
Copy link
Contributor

I tried running ./QEMU, and qemu doesn’t boot:
qemu

I don’t see any reference to usbstick.xz in the QEMU file, so I tried ./QEMU usbstick.xz but got the same result.

Can you clarify how the script is supposed to be run, or does it have a bug maybe?

BTW, in README.md, you call it TESTQEMU, but the file is called QEMU.

@stapelberg
Copy link
Contributor Author

Ah, it needs to be bash QEMU -hda usbstick after decompressing the file, but I only found that in the book (https://book.linuxboot.org/cpu/), not in the README. Sounds like the README needs an update :)

@orangecms
Copy link
Member

Yea, and sorry for it taking so long; we just had some cpu workshops at openSUSE Conferece.

I've made a UEFI variant that can also run on real hardware, and here's a PR with README updates #5 :-)

@orangecms
Copy link
Member

Besides using the usbstick.xz, you can also run the kernel directly, as described in the README update:

./QEMU -kernel cpukernel

Note: The cpu / cpud tools had some design changes, breaking compat between versions. Those within the root directory of this project and those withinn the uefi directory work among their respective kernels, which have cpud built into them as an initramfs.

@orangecms
Copy link
Member

I noticed that the main README mentions a non-existent script, TESTQEMU. Whoops, I think @rminnich may have it somewhere and forgot to commit or something...?

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