1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 10:18:34 +00:00
morpheus/README

44 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-09-27 09:23:50 +00:00
Morpheus is a statically linked musl based toy distro.
2013-09-06 11:05:08 +00:00
2013-09-19 15:22:07 +00:00
The base system includes sbase[1], ubase[2], sdhcp[3], smdev[4], mksh
2013-09-17 16:25:48 +00:00
as well as other tools.
2014-02-27 12:41:37 +00:00
To build the world use `mk world'. You need an x86_64 host to build
morpheus. Please review the `config.mk' file and adjust anything
2013-09-27 09:23:50 +00:00
needed.
2013-09-05 13:31:38 +00:00
2014-02-25 14:10:18 +00:00
Morpheus has been build-tested on CRUX, Debian, Archlinux, Slackware
and Ubuntu 13.04.
2013-09-06 11:47:53 +00:00
2013-09-27 09:23:50 +00:00
To build specific packages:
2013-09-25 09:15:02 +00:00
2014-02-27 12:41:37 +00:00
mk pkg1 pkg2 ...
2013-09-25 09:15:02 +00:00
2013-09-27 09:23:50 +00:00
After you've built stage0 you can create a bootable image:
2013-09-25 09:15:02 +00:00
2013-09-27 09:23:50 +00:00
sudo modprobe -r loop
sudo modprobe loop max_part=15 # to be done only once
2014-02-27 12:41:37 +00:00
sudo mk bootable
2013-09-17 15:16:00 +00:00
2014-02-18 20:08:58 +00:00
This creates a 4GB image. You can dd this image to a USB stick if you
want to. Make sure to change the kernel command line to point it to
your root device. You can either do this before creating the image or
at the boot prompt as follows:
bzImage root=/dev/sd[X]1 rootwait init=/init ro
2013-09-27 09:23:50 +00:00
2014-02-20 16:52:13 +00:00
To experiment with the image in qemu:
qemu-system-x86_64 -hda morpheus-x86_64-0.0.img -enable-kvm -vga cirrus
2013-09-27 09:23:50 +00:00
Login with root and an empty password.
2013-09-05 13:31:38 +00:00
2013-12-12 14:23:58 +00:00
To obtain binary images go to http://dl.2f30.org/morpheus-img/
2013-09-05 13:31:38 +00:00
Enjoy!
2013-09-17 16:25:48 +00:00
[1] http://git.suckless.org/sbase
[2] http://git.suckless.org/ubase
[3] http://galos.no-ip.org/sdhcp
[4] http://git.2f30.org/smdev