Maybe Oasis Linux might be fun to try on Tierhive?

Not_OlesNot_Oles Hosting ProviderContent Writer

Maybe Oasis Linux might be fun to try on Tierhive?

Is there an equivalently available BSD distribution which is equivalently small?

Has anyone here at LES used Oasis or an equivalently small BSD distribution?

Thanks!

Tom

References:

https://github.com/oasislinux/oasis

  • Completely statically linked.
  • Fast builds that are 100% reproducible.
  • Minimal bootstrap dependencies.
  • BearSSL is the system TLS and crypto library.
  • No package manager. (Can use pkgsrc or nix.)
  • Integrates well with OS-agnostic package systems.
  • Extremely simple system configuration.
  • Mostly ISO C conformant.

https://github.com/oasislinux/oasis/wiki/Install

https://www.osnews.com/story/141713/oasis-a-small-statically-linked-linux-system-2/

Oasis seems to work with Qemu inside my Chromebook's Debian Crostini container:

chronos@penguin:~/oasis$ ls -l oasis-qemu
total 397036
-rw-r--r-- 1 chronos chronos   3769872 Jan 26  2024 bzImage
-rw-r--r-- 1 chronos chronos      1420 Jan 26  2024 README.md
-rw-r--r-- 1 chronos chronos 402784256 Apr 28 21:00 root.qcow2
-rwxr-xr-x 1 chronos chronos      1456 Apr 28 20:59 run
chronos@penguin:~/oasis$ ls -lh $_
total 388M
-rw-r--r-- 1 chronos chronos 3.6M Jan 26  2024 bzImage
-rw-r--r-- 1 chronos chronos 1.4K Jan 26  2024 README.md
-rw-r--r-- 1 chronos chronos 385M Apr 28 21:00 root.qcow2
-rwxr-xr-x 1 chronos chronos 1.5K Apr 28 20:59 run
chronos@penguin:~/oasis$ 

Initial boot messages:

Note: qemu command inside run file modified by removing -enable-kvm and -cpu host.

chronos@penguin:~/oasis/oasis-qemu$ ./run -s
Booting oasis qemu image...

Tips:
- To access the qemu monitor, use Ctrl-a c.
- The root password is empty.
- A regular user 'oasis' is available, also with empty password.
- To run commands as root, use doas(1)
- Text editors available are vis(1) and ed(1)
- To launch velox, run `swc-launch velox`.
  * To launch st from velox, use Alt-Shift-Enter
  * To launch netsurf from velox, use Alt-b
  * To launch dmenu from velox, use Alt-r
- To shutdown, run `kill -s USR1 1`.

See README.md for more information.

ACPI: bus type drm_connector registered
random: crng init done
loop: module loaded
virtio_blk virtio4: 1/0/0 default/read/poll queues
virtio_blk virtio4: [vda] 16777216 512-byte logical blocks (8.59 GB/8.00 GiB)
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
9pnet: Installing 9P2000 support
IPI shorthand broadcast: enabled
sched_clock: Marking stable (2274137438, 23672496)->(2344706219, -46896285)
ALSA device list:
  No soundcards found.
EXT4-fs (vda): orphan cleanup on readonly fs
EXT4-fs (vda): mounted filesystem with ordered data mode. Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) readonly on device 254:0.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 760K
Write protecting the kernel read-only data: 12288k
Freeing unused kernel image (text/rodata gap) memory: 2044K
Freeing unused kernel image (rodata/data gap) memory: 852K
Run /bin/sinit as init process
EXT4-fs (vda): re-mounted. Quota mode: disabled.
oasis login: root
Password: 
# 

Not too much in /etc:

# cd /etc; ls 
LICENSE
doas.conf
fstab
gitconfig
group
hosts
hotplug
kshrc
mtab
ntpd.conf
passwd
perp
plumb
profile
rc.init
rc.local
rc.shutdown
resolv.conf
services
shadow
ssh
ssl
sysctl.conf
velox.conf
# 
Thanked by (2)jureve tmntwitw

Comments

Sign In or Register to comment.