maestro-os / maestro

Unix-like kernel written in Rust
https://blog.lenot.re
GNU Affero General Public License v3.0
2.93k stars 93 forks source link

Provide a ready-made ISO for download #2

Open Hermholtz opened 9 months ago

Hermholtz commented 9 months ago

IMO that would hugely help the project. It would be lower the barrier for experimenting with the system. Maybe you can leverage some GitHub automation to do that when you merge a new feature branch? Thanks.

llenotre commented 9 months ago

Hi!

There is currently an ISO available for download on the blog: download (I had to build it manually though)

Automatically building it is something I am thinking about and I will work on it when I have the bandwidth :)

The OS currently misses a lot of unit tests or integration tests. Building the ISO will probably come the same time as I add those missing tests

Thedevelop3r commented 9 months ago

This is a great project and has standards/potential of acceptance among developers and clients. I am new to Rust coming from javascript, but I am looking forward to becoming a contributor and solving issues from time to time, :)

mirabilos commented 9 months ago

The pre-made ISO hangs after:

[…]
Create directory `var/opt`
Create directory `var/spool`
Create directory `var/lib/misc`

Install packages
Install `grub` (version 2.6)...
llenotre commented 9 months ago

The pre-made ISO hangs after:

[…]
Create directory `var/opt`
Create directory `var/spool`
Create directory `var/lib/misc`

Install packages
Install `grub` (version 2.6)...

It is probably just very very slow. I often had to wait pretty long on GRUB in particular.

The main problem is that the kernel currently uses Parallel ATA to access the disk, which is super-slow. The successor is SATA, which should be a lot faster and will have an implementation in the kernel someday

mirabilos commented 9 months ago

MirBSD also uses IDE (PATA) and is not as slow as this, even in qemu ;-) but okay…

Update: it proceeds. Yay.

Do I have a chance to get a Perl binary running, to run mksh’s testsuite with?

llenotre commented 9 months ago

Do I have a chance to get a Perl binary running, to run mksh’s testsuite with?

It probably will be complicated to install since there is no network support yet. On top of that, Perl has not been tested, so there is a probability it uses system calls that are not implemented yet.

However if you still want to try it, you can probably cross-compile Perl yourself (the target is i686-unknown-linux-musl) and mount the filesystem of the VM on your system to install it.