ToaruOS 2.0 #227
klange
announced in
Announcements
ToaruOS 2.0
#227
Replies: 2 comments
-
Known Issues
|
Beta Was this translation helpful? Give feedback.
0 replies
-
"klange is a man of focus, commitment, sheer will and pure dedication." Good job and congrats! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ToaruOS has consumed the greater part of my life for the last eleven years. This release has been a long time coming: My first plans for a 64-bit, SMP-capable port of the OS date back to before the 1.0 release. The repository in which I built the new kernel was something I had already set up as far back as 2015. And now, finally, I think it is ready.
What is ToaruOS?
ToaruOS is a complete hobby operating system for x86-64 PCs. ToaruOS is made up of several components:
All software components of ToaruOS are original to the project.
What's New in ToaruOS 2.0?
There are two ways to look at 2.0: First, as a follow up to 1.14.1. Compared to the last "stable" release, the changes in 2.0 are extensive but iterative. Alternatively, 2.0 can be compared to 1.0. That release was built on a number of third-party elements, and 2.0 demonstrates how those elements have been successfully replaced.
Features of Misaka
ptrace
, providing visibility into system calls and signal delivery, single-step debugging, and cross-process memory access.Changes Since 1.14.1
top
,strace
,dbg
,ping
,cpuwidget
.Known Issues
What's Next?
Several features were deferred to future releases in order to avoid scope creep and get 2.0 finalized. My roadmap for the future looks something like this:
Running ToaruOS
About the Live CD
ToaruOS is distributed as a "live CD". The default configuration will boot into a user session for
local
. The password for this account is alsolocal
, and it is permitted to use thesudo
command. When prompted for a password by either the graphical or command-linesudo
utilities, enterlocal
. The live CD is configured to provide an in-memory read-write filesystem and packages can be installed up to the limits of system memory, but no data will persist between boots. As in previous releases of ToaruOS, an experimental read-write ext2 implementation is available (insmod /mod/ext2.ko
) and drivers for IDE hard disks are provided (insmod /mod/ata.ko
). While these drivers have seen significant improvements since previous releases, their use on real systems is not recommended.Virtual Machines
I generally recommend using a virtual machine such as QEMU, VirtualBox or VMware Workstation to run ToaruOS, as driver support for real hardware configurations is limited.
QEMU can be configured as follows:
You may also wish to use multiple virtualized CPUs with
-smp 2
. For platforms other than Linux, substitute an appropriate command line flag for-enable-kvm
to enable hardware virtualization.For VirtualBox, be sure to provide 32MB of display memory and configure an Intel NIC.
ToaruOS 2.0 has also been tested in VMware Player.
Real Hardware
Users wishing to try ToaruOS 2.0 on real hardware are recommended to use GRUB. Booting ToaruOS 2.0 is notably simplified over 1.x, as modules no longer need to be loaded by the bootloader to achieve a functioning system. Extract the kernel and ramdisk files from the release CD and place them in a path accessible from your GRUB loader, then add a menu entry with the following commands:
Beta Was this translation helpful? Give feedback.
All reactions