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.4 Based on Linux From Scratch 12.2-systemd

GCC 14.2.0 | Glibc 2.40 | Linux 6.10.6

Source tarball Build system file Build system Web server version Build system Xorg version Build system Fluxbox version Build system Nodejs Firefox version

Version 0.0.3 Based on Linux From Scratch 12.1-systemd

GCC 13.2.0 | Glibc 2.39 | Linux 6.7.4

Source tarball Build system file

Version 0.0.2 Based on Linux From Scratch 12.0-systemd

GCC 13.2.0 | Glibc 2.38 | Linux 6.4.12

Source tarball Build system file

Version 0.0.1 Based on Linux From Scratch 11.3-systemd

GCC 12.2.0 | Glibc 2.37 | Linux 6.1.11

Source tarball Build system file

Version 0.0.0 Based on Linux From Scratch 11.2-systemd

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