phil-opp / blog_os

Writing an OS in Rust
http://os.phil-opp.com
Apache License 2.0
15.85k stars 1.09k forks source link

Final disc image not produced, but I have got stages (5MB) and an EFI file #1337

Closed hydroperfox closed 4 months ago

hydroperfox commented 4 months ago

I was following this tutorial part: Minimal Rust kernel: Printing to screen.

I have stopped as I migrated the project structure conforming to the Create a Disk Image section referenced in the Bootloader crate home.

I have done that, but I had to discard my x64.json target description due to location errors involving ../ segments and use the official x86_64-unknown-none target that produces an ELF executable.

Log and prints

bjorn3 commented 4 months ago

It looks like you are using bootloader 0.11. The second edition of blog os depends on bootloader 0.9.

hydroperfox commented 4 months ago

@bjorn3 I wasn't aware! I have just cloned the post-03 branch and it worked perfectly with QEMU. Guess I'll just use it ready then.

hydroperfox commented 4 months ago

I have just one question: there are two license files in the post-03 branch, but they have no copyright owner and year.

I can just put Copyright (c) 2019 Philipp Oppermann, right?

Update: it is actually just Apache that had not that.