rain1 3dcfd4f678 0 | 8 anos atrás | |
---|---|---|
repack | 8 anos atrás | |
LICENSE | 8 anos atrás | |
README.md | 8 anos atrás | |
dl.sh | 8 anos atrás | |
mk.sh | 8 anos atrás | |
pkg.sh | 8 anos atrás | |
repack_all.sh | 8 anos atrás | |
trinity.png | 8 anos atrás |
toy linux distro based on morpheus
Please use a chroot when building this in case of bugs in the scripts.
gcc-toolchain gcc:lib coreutils which binutils make wget git tar gzip qemu e2fsprogs util-linux sed grep bash ld-wrapper gawk
binutils needs flex and bison.
To download the source code and hash it into dump/
./dl.sh
To compile and install the base system into root/
./mk.sh
To create a qemu image
$ qemu-img create -f raw os.img 1G
$ mkfs.ext4 os.img
$ mkdir osroot
# mount -t ext4 -o loop os.img osroot
# cp -r root/* osroot/
# umount osroot
To boot it (you need a linux kernel bzImage too),
qemu-system-x86_64 -enable-kvm -kernel bzImage -hda os.img -append "root=/dev/sda vga=788"