Go to file
Daniel Bainton 82d58abc2c Add fetching and unpacking magic 2014-03-01 01:29:42 +02:00
misc Move qemu-mk-overlay to misc/ 2014-02-28 15:38:26 +00:00
pkgs Add fetching and unpacking magic 2014-03-01 01:29:42 +02:00
stuff Add fetching and unpacking magic 2014-03-01 01:29:42 +02:00
.gitignore Update .gitignore 2014-02-28 17:00:23 +00:00
LICENSE Add Daniel Bainton to LICENSE 2014-02-26 09:46:46 +00:00
README Update README 2014-02-28 15:30:19 +00:00
TODO We now use optcflags and optldflags as specified in config.mk 2014-02-28 17:02:32 +00:00
config.mk Comment out optcflags and optldflags 2014-02-28 18:16:36 +00:00
mkfile Add fetching and unpacking magic 2014-03-01 01:29:42 +02:00

Morpheus is a statically linked musl based toy distro.

The base system includes  sbase[1], ubase[2], sdhcp[3], smdev[4], mksh
as well as other tools.

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
needed.

Morpheus has  been build-tested on CRUX,  Debian, Archlinux, Slackware
and Ubuntu 13.04.

To build specific packages:

  mk pkg1 pkg2 ...

To force build packages and all their dependencies:

  mk -a pkg1 pkg2 ...

After you've built stage0 you can create a bootable image:

  sudo modprobe -r loop
  sudo modprobe loop max_part=15 # to be done only once
  sudo mk bootable

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

To experiment with the image in qemu:

  qemu-system-x86_64 -hda morpheus-x86_64-0.0.img -enable-kvm -vga cirrus

Login with root and an empty password.

To obtain binary images go to http://dl.2f30.org/morpheus-img/

Enjoy!

[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