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

Add simple build/run tutorial for MIT's xv6 OS #150

Open
ivandavidov opened this issue Feb 14, 2018 · 0 comments
Open

Add simple build/run tutorial for MIT's xv6 OS #150

ivandavidov opened this issue Feb 14, 2018 · 0 comments

Comments

@ivandavidov
Copy link
Owner

xv6 is a very small UNIX-like operating system which can be built from scratch. There is also a teaching book which explains the internals of the xv6 OS.

xv6 can be mentioned in the MLL docs as additional educational resource for the people who are interested to build their own UNIX-like OS. This could be mentioned in the website, the MLL tutorial document and in the project's "readme" document, since the build/run steps are really simple.

The code snippet below shows how simple it is to build and run xv6. The whole process takes 2 minutes on my machine.

# This is for Ubuntu/Debian based Linux host machines.
sudo apt install git make gcc qemu
git clone https://github.com/mit-pdos/xv6-public
cd xv6-public
make
make qemu

It would also be very interesting to experiment whether it is possible to boot xv6 from inside MLL, probably by using kexec-tools or by any other means.

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