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

PhantomOS won't boot on Linux, QEMU #633

Open
kolayne opened this issue Nov 18, 2021 · 0 comments
Open

PhantomOS won't boot on Linux, QEMU #633

kolayne opened this issue Nov 18, 2021 · 0 comments

Comments

@kolayne
Copy link

kolayne commented Nov 18, 2021

I am using

QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.18)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

(is there any other version that I should try?)

I have not succeeded in running the run/phantom.sh script (it seems like it has not worked in the last couple of years... I could make a PR later), so I run the following commands in the terminal (work directory is run):

qemu-img create -f qcow2 phantom.img 5G
qemu-system-x86_64 -smp 3 -vga vmware -s     -serial file:serial0.log -boot a -no-fd-bootchk -fda img/grubfloppy.img -hda fat:rw:fat -hdb phantom.img   -net nic,model=rtl8139 -net user -enable-kvm`

After that a QEMU window opens, showing some output from BIOS (see the screenshot), printing the string <sleep> on newline once per a couple of (~30?) seconds, consuming 100% of one CPU core. This lasts for several (10-15?) minutes, after which the CPU consumption stops, and the QEMU window's content gets replaced with a grub console.

image

Is there anything I am doing wrong? How can I run the project?

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

1 participant