Skip to content

Releases

Bare Metal OS v1.4.0

Choose a tag to compare

@melroy89 melroy89 released this 27 Nov 01:18
4f7f679

Bare Metal OS 1.4.0 adds writable ext2 storage, IPv4 networking on virtio-net and e1000, and VGA console scrollback.

Highlights

  • Mount supported ext2 partitions read-write with mount -t ext2 disk0pN /ext, or add -o ro for read-only access. Create and replace regular files up to 48 KiB with echo > or cp. Use mkdir to create directories and rm to remove files or empty directories.
  • Create FAT32 directories with mkdir and remove empty ones with rm. FAT32 and ext2 both accept a trailing slash when removing a directory.
  • Connect using modern virtio-net or QEMU’s e1000 adapter. DHCP starts automatically when an adapter initializes. Use net info for the connection details, net static for manual IPv4 configuration, and ping with an address or hostname. Adaptive polling improves throughput and latency under load while keeping the guest asleep between wakeups.
  • Use Page Up and Page Down to browse up to 256 previous VGA rows. Use crc32range OFFSET LENGTH PATH to verify a byte range without printing the file.

Downloads

  • baremetal-os.elf for direct kernel boot in QEMU/KVM.
  • baremetal-os.iso for BIOS or UEFI boot. Use SeaBIOS for VGA or the serial console with OVMF.
  • SHA256SUMS to verify the downloads.

Storage guide · Networking guide · Full changelog

Bare Metal OS v1.3.0

Choose a tag to compare

@melroy89 melroy89 released this 26 Nov 21:30
f9ea0ab

Bare Metal OS 1.3.0 adds persistent FAT32 storage, shared file commands, and raw Ethernet support for QEMU’s e1000 adapter.

Highlights

  • Mount FAT32 partitions from an IDE disk and use ls, cat, cp, touch, rm, and echo > in RAM or on disk. Use disk gpt to find the GPT partition number, then mount it with mount disk0pN /disk.
  • Inspect ATA disks and GPT partitions. Use disk check to report orphaned FAT32 clusters and disk repair to reclaim them.
  • Send and receive raw Ethernet frames with net. Use lspci to list PCI devices, cpu ping to check secondary CPUs, and CRC-32 commands to checksum RAM files and disk sectors.

The console now starts at /, which lists mount points. Use cd /ram for temporary files or use an absolute path such as /ram/notes.txt.

Downloads

  • baremetal-os.elf for direct kernel boot in QEMU/KVM.
  • baremetal-os.iso for BIOS or UEFI boot. Use SeaBIOS for VGA or OVMF with a serial console.
  • SHA256SUMS to verify the downloads.

Bare Metal OS v1.2.0

Choose a tag to compare

@melroy89 melroy89 released this 26 Nov 15:54
dec087b

Bare Metal OS v1.2.0 adds writable RAM files to the x86-64 assembly console and speeds up bulk output.

Highlights

  • Create or replace a file with echo "Hello from RAM" > hello.txt, list files with ls, read them with cat, and delete writable files with rm. Each writable file uses one 4 KiB page. Deleting it frees the page, and reboot clears writable files.
  • Preload read-only files from an optional USTAR boot archive. The kernel indexes filenames at boot, and the last entry wins when a name appears more than once. Removing a writable override reveals the archive entry again.
  • VGA scrolling is faster while the console continues to render on VGA and serial. In a headless QEMU/KVM test, listing 1,000 files took 0.28 seconds, down from 2.00 seconds before the scrolling change.
  • The console rejects overlong commands before executing them, so a truncated filename cannot cause a command to modify the wrong file.

Downloads

  • baremetal-os.elf for direct kernel boot in QEMU/KVM.
  • baremetal-os.iso for BIOS or UEFI boot. Use SeaBIOS for VGA or OVMF with a serial console.
  • SHA256SUMS to verify the downloads.

Bare Metal OS v1.1.0

Choose a tag to compare

@melroy89 melroy89 released this 26 Nov 14:33
1c3f034

Bare Metal OS is a small standalone x86-64 operating system written in NASM assembly. It boots directly in QEMU/KVM or from a hybrid BIOS and UEFI ISO.

Highlights

  • The kernel can allocate and free 4 KiB physical pages. The mem command shows how many pages are managed, used, and free.
  • Secondary CPUs get one private stack page each. In a four-vCPU QEMU/KVM guest, this returned nearly 2 MiB to the kernel's free pool compared with fixed stacks. The bootloader's reserved stack space keeps SMP available when the memory map is missing or provides too few pages.
  • The interactive console supports VGA and serial and sleeps while waiting for input.

Downloads

  • baremetal-os.elf for direct kernel boot in QEMU/KVM.
  • baremetal-os.iso for BIOS or UEFI boot. Use SeaBIOS for VGA or OVMF with a serial console.
  • SHA256SUMS to verify the downloads.