TU NGUYEN



TNOS is Not Operating System

A tool based on Linux From Scratch

Inspired by Arch Linux

For testing, please extract and chroot

For installation support, please contact via email or read the documentation

Introduction: tnos.vercel.app

How to install?


Version 0.0.5

GCC 15.1.0 | Glibc 2.41 | Linux 6.15.2

Source tarball Build system file Build system Web server version Build system Nodejs Firefox Desktop version

Version 0.0.4

GCC 14.2.0 | Glibc 2.40 | Linux 6.10.6

Source tarball Build system file

Version 0.0.3

GCC 13.2.0 | Glibc 2.39 | Linux 6.7.4

Source tarball Build system file

Version 0.0.2

GCC 13.2.0 | Glibc 2.38 | Linux 6.4.12

Source tarball Build system file

Version 0.0.1

GCC 12.2.0 | Glibc 2.37 | Linux 6.1.11

Source tarball Build system file

Version 0.0.0

GCC 12.2.0 | Glibc 2.36 | Linux 5.19.2

Source tarball Build system file


How to install? (For POWER user, NOT RECOMMENDED for NORMAL users. YOU ARE WARNED!)

1. Extract to a partition

tar -xf tnos-0.0.X-systemd.tar .

2. Mount /dev /pts /proc /sys /run

mount -v --bind /dev /(Path_to_folder_extract)/tnos/dev

mount -vt devpts devpts -o gid=5,mode=0620 /(Path_to_folder_extract)/tnos/dev/pts

mount -vt proc proc /(Path_to_folder_extract)/tnos/proc

mount -vt sysfs sysfs /(Path_to_folder_extract)/tnos/sys

mount -vt tmpfs tmpfs /(Path_to_folder_extract)/tnos/run

3. Chroot to the partition

chroot /(Path_to_folder_extract)

4. Mount a partition to /boot/efi

mount /dev/sdaX /boot/efi

5. Mount /efivarfs

mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars

6. Install and configure grub

grub-install --target=x86_64-efi --removable

grub-install --bootloader-id=TNOS --recheck

grub-mkconfig -o /boot/grub/grub.cfg

7. Edit /etc/fstab

Example:

UUID=XXXX-XXXX /boot/efi vfat umask=0077 0 1

UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw 0 0

UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX / ext4 errors=remount-ro 0 1

8. Edit MAC Address in folder /etc/systemd/network/

Example:

[Match]

MACAddress=XX:XX:XX:XX:XX:XX

[Link]

Name=enp0s3


[Match]

Name=enp0s3

[Network]

Address=XXX.XXX.XXX.XXX/24

Gateway=XXX.XXX.XXX.XXX

DNS=XXX.XXX.XXX.XXX

9. Logout and Reboot, Login by Default Account: root - Password: root

exit

umount -a

reboot