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

Multiple issues when booting ToaruOS on real hardware and on QEMU #301

Open
totallynotdrait opened this issue Dec 9, 2024 · 3 comments
Open

Comments

@totallynotdrait
Copy link

Hello, i've tried to boot ToaruOS on real UEFI hardware which constantly failed. I've tried booting on a MacBook Air 2013 model with uefi 1.1, and a modern HP desktop computer which has uefi 2.7.

Booting with GRUB both machines failed as grub send the error Could not obtain simple_file_system_protocol.

When booting without GRUB but using the /efi/boot/bootx64.efi ToaruOS bootloader with VirtualBox/VMware drivers disabled with also SMP disabled, both machine get stuck at the execution of /bin/init.

Also when compiling ToaruOS with docker and running the image with qemu the generic: Failed to execute /bin/init. appears.

@klange
Copy link
Owner

klange commented Dec 9, 2024

I do not support running ToaruOS on real hardware in general, and I only "support" using the provided prebuilt CD images when running ToaruOS in VMs to the extent that I will spend some time trying to troubleshoot issues. I can provide no support for builds you made yourself.

Hello, i've tried to boot ToaruOS on real UEFI hardware which constantly failed. I've tried booting on a MacBook Air 2013 model with uefi 1.1

ToaruOS does not run on Macs. "Macs are not PCs" is not just a marketing campaign. Intel Macs lack several pieces of hardware from the PC platform that makes booting on them a fundamentally different process.

Booting with GRUB both machines failed as grub send the error Could not obtain simple_file_system_protocol.

That is entirely a GRUB problem and has nothing to do with ToaruOS, but it sounds like both of your machines have deficient UEFI implementations. You can try to use BIOS builds of GRUB on the desktop with CSM, but again - I do not provide support for running ToaruOS on real hardware. I do not have the time nor the resources to do so.

When booting without GRUB but using the /efi/boot/bootx64.efi ToaruOS bootloader with VirtualBox/VMware drivers disabled with also SMP disabled, both machine get stuck at the execution of /bin/init.

Are you using the provided CD image, your own build, or did you manually install things?

Also when compiling ToaruOS with docker and running the image with qemu the generic: Failed to execute /bin/init. appears.

You need to provide your build logs for me to be able to provide any help on this.

@klange
Copy link
Owner

klange commented Dec 10, 2024

I will add that if you are trying to use the current CI builds from the latest runs, they are broken due to incorrect disk space allocation for the FAT EFI payload. I will attempt to correct that. You should only expect published releases to be in working order.

(This should be fixed now.)

@totallynotdrait
Copy link
Author

When i try to boot with the ToaruOS UEFI bootloader i used the provided cd image of 2.2.0, using fat.img because the files of the iso image are empty and the bootx64.efi is missing. Here is also the docker log.

tos-log.txt

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