A basic Operating System 32-bit, just the kernel, that prints text directly to the VGA and restarts when you press [ENTER].
Example on Ubuntu
sudo apt install build-essentialC++ Compiler(
g++),as,ldandmake.
Use QEMU to test. Install QEMU:
sudo apt install qemu-kvmCompiling:
git clone https://github.com/terroo/terminalroot-os
cd terminalroot-os
makeTesting:
qemu-system-i386 -kernel terminal-root-os.binOr
qemu-system-x86-64 -kernel terminalroot-os.bin.
If you want to add to a GRUB Legacy (does not work in UEFI):
Edit:
sudo vim /boot/grub/grub.cfgand move binary:sudo mv terminalroot-os.bin /boot/.
Add new line:
### BEGIN TERMINALROOTOS
menuentry 'Terminal Root OS' {
multiboot /boot/terminal-root-os.bin
boot
}
### END TERMINALROOTOS