
Utero is an operating system (for x86_64) written in Crystal as much as possible.
This is the work in progress.
To make an ISO file and run on Qemu
$ make run
To make an ISO file
$ make iso
To make a binary file of the kernel
$ make or $ make all
To compile the OS in DEBUG mode and run on Qemu
$ make debug
Note: in DEBUG mode, logging uses the serial port COM1 to write various
debugging information. qemu is configured to write the output of this serial
port to /tmp/serial.log.
To clean up
$ make clean
On a system that uses EFI boot, like dual boot macOS and Ubuntu(16.04) on MacBook Pro
Error on Qemu like this
Could not read from CDROM (code 0009)The solution may be:
$ sudo apt-get install grub-pc-binAfter the install grub-pc-bin, you will need to recreate the ISO file like this:
$ make clean
$ make # or make iso
$ make runThe following links saved my life:
microsoft/WSL#1043
http://intermezzos.github.io/book/appendix/troubleshooting.html#Could%20not%20read%20from%20CDROM%20%28code%200009%29
git clone --recursive <YOUR-FORKED-UTERO-URL>
or
git clone <YOUR-FORKED-UTERO-URL>
git submodule update --init --recursive
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.