There are two ways to install, with the (dep dialog) script or the manual form as follows:

Pre Requirements:
  • Download MazonOS
  • An existing Linux distribution or a Linux liveCD.
  • Create root partition using cfdisk or gparted (ext4) and DOS table / - min 20GB - If install EFI create first partition type EFI.

Format partition:
# mkfs.ext4 /dev/sdx(x)

If use EFI:
# mkfs.fat -F32 /dev/sdx(x)

Mount partition in /mnt:
# mount /dev/sdx(x) /mnt

Unzip the mazonos file in /mnt:
# tar -xJpvf /xxx/xxx/mazonos.tar.xz -C /mnt

If use EFI:
# mount /dev/sdx(x) /mnt/boot/EFI

Go to /mnt directory:
# cd /mnt

Mount proc / dev / sys and chroot to /mnt:
# mount --type proc /proc proc/
# mount --rbind /dev dev/
# mount --rbind /sys sys/
# mount --rbind /run run/
# chroot /mnt

Once in chroot, let's change the fstab file in /etc/fstab, using vim or nano.

Add your root partition (replace (x)) and save the file. In case you don't remember which is the root partition, use fdisk -l to see it.
/dev/sdx(x) / ext4 defaults 1 1

  • Install grub to your disk:
    # grub-install /dev/sd(x)
  • Install grub EFI mode:
    # grub-install --target=x86_64-efi --bootloader-id=mazon --recheck
  • Create grub.cfg:
    # grub-mkconfig -o /boot/grub/grub.cfg
  • Exit chroot and unmount the partitions:
    # exit
    # umount -Rl /mnt
  • Reboot your system and enjoy MazonOS.
  • If you want to do a dual boot with your existing system with a working grub, exit the chroot with exit command and unmount the partitions with:
    # exit
    # umount -Rl /mnt
    # update-grub
  • Reboot your system and enjoy MazonOS.

After installing and logging in a login system: root password: root, add a user with:
# useradd -m -G audio,video,netdev username

Add a password with:
# passwd username
# exit

Log in to the system with your new user and password, startx to start.


IRC: Channel: #mazonos
Email: # for bugs and packages