Donya
Donya copied to clipboard
Donya is an Operating System. Yet Another Linux distro built using a package management system.
Donya OS
- Demo Video
- Preparation
- Network
- Commands
- Contribution
- Team members
- License
Donya Operating system, Yet Another Linux distro built using a package management system.
Unlike a binary software distribution, the source code is compiled locally according to the user's preferences and is often optimized for the specific type of computer.
This Linux distribution is not yet ready, we need the help of others. Join the team by sending a message at this issue
Demo Video
Produced ISO file: DonyaOS.iso (In development mode)
DonyaOS Installation Guide
Install Donya
Just only use the compressed package donyaOS-build.tar.xz
Suppose we have another hard disk sdb
to install donyaOS on it.
Create a 100 MB partition in it.
Format
sudo mkfs.ext4 /dev/sdb1
Mount new created sdb1
sudo mkdir "$base_dir"/donya_release/
sudo mount /dev/sdb1 "$base_dir"/donya/
Extract donyaOS inside it
sudo tar xJf ${base_dir}/donyaOS-build.tar.xz -C "$base_dir"/donya/
Install grub in MBR
sudo grub-install --root-directory="$base_dir"/donya/ /dev/sdb
Run with qemu
sudo qemu-system-x86_64 /dev/sdb
Build from source
./donya
Preparation
...Download dependency files and decompress or uncomment from donya.sh...
bash donya.sh
Network
Configure on VirtualBox
ifconfig eth0 10.0.2.16 netmask 255.255.255.0
route add default gw 10.0.2.2
Commands
Currently available applets include:
[, [[, adjtimex, ar, arp, arping, ash, awk, basename, blockdev,
brctl, bunzip2, bzcat, bzip2, cal, cat, chgrp, chmod, chown, chroot,
chvt, clear, cmp, cp, cpio, crond, crontab, cttyhack, cut, date, dc,
dd, deallocvt, depmod, df, diff, dirname, dmesg, dnsdomainname,
dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, ed, egrep,
env, expand, expr, false, fdisk, fgrep, find, fold, free,
freeramdisk, ftpget, ftpput, getopt, getty, grep, groups, gunzip,
gzip, halt, head, hexdump, hostid, hostname, httpd, hwclock, id,
ifconfig, ifdown, ifup, init, insmod, ionice, ip, ipcalc, kill,
killall, klogd, last, less, ln, loadfont, loadkmap, logger, login,
logname, logread, losetup, ls, lsmod, lzcat, lzma, md5sum, mdev,
microcom, mkdir, mkfifo, mknod, mkswap, mktemp, modinfo, modprobe,
more, mount, mt, mv, nameif, nc, netstat, nslookup, od, openvt,
passwd, patch, pidof, ping, ping6, pivot_root, poweroff, printf, ps,
pwd, rdate, readlink, realpath, reboot, renice, reset, rev, rm,
rmdir, rmmod, route, rpm, rpm2cpio, run-parts, sed, seq,
setkeycodes, setsid, sh, sha1sum, sha256sum, sha512sum, sleep, sort,
start-stop-daemon, stat, static-sh, strings, stty, su, sulogin,
swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar,
taskset, tee, telnet, telnetd, test, tftp, time, timeout, top,
touch, tr, traceroute, traceroute6, true, tty, tunctl, udhcpc,
udhcpd, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma,
unxz, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, watch,
watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat
lfs donyaOS
We have build linux from scratch version of donyaOS.
We highly recommend using a virtual machine guest OS to save real machine.
This method tested on debian buster net-install with an extra hard disk to install donyOS-lfs on it.
We want to use /dev/sdb
device
The extra partition is /dev/sdb1
- Create new partition on target device
fdisk /dev/sdb
with these switches
o, n, p, a
- format new partition
mkfs.ext4 /dev/sdb1
- mount partition
mount /dev/sdb1 /mnt
Copy donyaOS-lfs image to partition
cd /mnt tar xvf ~/donyaOS_backup.tar.xz .
- Update grub to find new distro
# update-grub2
In next boot you can log in to donyaOS-lfs from the grub menu.
How to test LFS in virtual machine
After download lfs.fsa
file
-
Install a linux distro in virtual machine (we recommends debian stable netinstall)
-
Add a new hard disk 8GB
-
Boot to distro
-
Partition and format new hdd
-
fdisk
# create partition -
mkfs.ext4 /dev/sdb1
# format new created partition
- Extract
lfs.fsa
to destination partition
-
mount /dev/sdb1 /mnt/ -r
#mount read only -
fsarchiver restfs lfs.fsa id=0,dest=/dev/sdb1
#extract
- Update grub to detect new distro
-
grub2-update
- Reboot system
Contribution
Please make sure to read the Contributing Guide before making a pull request. If you have a Donya-related project/feature/tool, add it with a pull request to this curated list!
Thank you to all the people who already contributed to DonyaOS!
Join the team by sending a message at this issue
Team members
EsmaeelE, Prince Kumar, Emil Sayahi, Iniubong Obonguko, Hooman, John Bampton and Max Base
License
MIT License Copyright (c) 2020-present, Max Base Donya OS Community
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Max Base 💻 |
John Bampton 📆 |
EEC 💻 |
Khue Nguyen 💻 |
All Contributors 📖 |
Imgbot 🎨 |
This project follows the all-contributors specification. Contributions of any kind welcome!