Hashx86 OS
A 32-bit Multiboot Operating System for x86 Architecture
> System_Info
Hashx86 is a minimalistic, educational operating system built from scratch. It focuses on core features without unnecessary complexity, serving as a foundation for exploring low-level system programming.
> Kernel_Capabilities
> Visual_Logs
Watch the full system demo or explore earlier demonstrations.
[FULL_DEMO] Full System Demonstration [VIDEO_01] Taskbar, Dynamic BGA Graphics & Sound [VIDEO_02] Concurrency & Error Handling [VIDEO_03] Early VGA GUI (320x200) [VIDEO_04] ISR Hardware Response Test> Install_and_Run
Choose the installer for a ready-to-run system, or build the OS from source on Linux.
01 / Installer ISO
Download the installer ISO from the Hashx86 releases page.
- Create a VirtualBox VM using Other / Unknown (32-bit) and at least 1 GB RAM.
- Create a dynamically allocated VDI of at least 1 GB. Attach it to an IDE controller as primary master; the installer targets ATA disks.
- Apply the VirtualBox settings below, then mount the downloaded installer ISO in the optical drive.
- Start the VM. The installer formats the ATA disk and installs the OS.
- Eject the installer ISO and reboot to start the installed system from disk.
02 / Build from source
Build prerequisites
- Build on Linux with
gitand GNU binutils (ld,ar,nm). gcc/g++with 32-bit multilib support (-m32).nasmandmake.- GRUB tools:
grub-mkrescue/grub-mkimagefromgrub-commonandgrub-pc-bin. xorrisoandmtoolsfor ISO generation.clang-formatformake check-style.qemu-system-i386andqemu-imgfor running the OS.- For the manual disk:
qemu-nbd(qemu-utils),parted/partprobe,mkfs.fat(dosfstools), andsudo. The Linux host must support thenbdmodule.
# 1. Clone the repository
git clone https://github.com/Hashx86-OS/Hashx86-OS
cd Hashx86-OS
# 2. Create and format the 1 GB development disk
mkdir -p build
make hddinit
# 3. Build the OS and populate the disk image
make build
# 4. Boot in QEMU
make runq
The initialization step recreates build/HDD.vdi; use make build
for later rebuilds. The supplied QEMU launcher starts without an audio device;
use the VirtualBox sound settings below for playback.
To run this build in VirtualBox, attach build/HDD.vdi as the IDE primary master
and mount build/kernel.iso in the optical drive. Boot from the optical drive and
keep the ISO attached for later boots. This manual setup does not install a bootloader on the VDI;
the installer method does.
03 / VirtualBox configuration
Power off the VM before changing its virtual hardware. Use these settings on an x86 host:
| Settings page | Setting |
|---|---|
| General | Other / Unknown (32-bit); skip unattended installation if offered. |
| System / Motherboard | At least 1024 MB RAM; EFI/UEFI disabled (legacy BIOS). |
| System / Processor | 1 virtual CPU. |
| Pointing device | PS/2 Mouse. |
| Display / Screen | VBoxVGA, 32 MB video memory, 3D acceleration disabled. |
| Storage | IDE primary-master VDI; installer ISO or development kernel ISO in the optical drive. |
Hashx86 supplies its own drivers; Guest Additions are not required. See Oracle's VM settings reference for the VirtualBox controls.
Network / NAT + e1000
- Open Settings → Network → Adapter 1 and enable the adapter.
- Set Attached to to NAT.
- Set Adapter Type to Intel PRO/1000 MT Desktop (82540EM). Expand Advanced if the field is hidden.
- Enable Cable Connected and disable additional network adapters for this setup.
Hashx86's e1000 driver supports the 82540EM. PCnet and virtio-net are not supported.
NAT supplies DHCP and outbound internet through the host; App Store downloads do not need
port forwarding. Default NAT normally assigns 10.0.2.15, gateway
10.0.2.2, and DNS 10.0.2.3. See Oracle's
networking reference.
Wait for a DHCP address before opening the App Store. If it was opened during network startup, press Refresh after the connection is ready. If DNS still fails, check the adapter model, cable setting, and host internet connection.
The guest CPU must expose RDRAND for networking and TLS. A boot log message of
[NET] disabled: hardware entropy is unavailable means the host CPU and VM CPU
configuration must provide RDRAND; changing DNS will not resolve it. Keep the host clock correct,
because HTTPS certificate validation uses the guest RTC.
Sound / ICH AC97
- Open Settings → Audio and enable audio.
- Choose Default as the Host Audio Driver, or a working host backend.
- Set Audio Controller to ICH AC97 (Intel AC'97).
- Enable Audio Output. Audio Input can stay disabled; the driver provides playback.
The driver targets Intel AC97 (8086:2415). Intel HD Audio and SoundBlaster 16
are not supported. The host audio backend and guest audio controller are separate settings;
see Oracle's
audio settings reference.
After boot, look for the AC97 driver loading and [AC97] Ready in the log,
then test a sound-producing application. If playback is silent, check Audio Output, host
volume/mute controls, and the host backend. For manual builds, make hdd copies
Hashx86/drivers/ac97.sys to the guest disk.
Instructions follow the OS README.