Skip to content

🐛 Bug Report: Broken Make Build and Bootloader #12

@PinkQween

Description

@PinkQween

Summary:

The make build fails and the resulting bootloader is non-functional. This breaks the entire boot process of ViOS.


📁 Affected Components

  • Makefile / Build System

  • Bootloader (MBR / VBR)

  • Kernel

  • Other (specify below)


🔁 Steps to Reproduce

  1. Clone the repo:

    git clone https://github.com/your-user/ViOS
    cd ViOS
  2. Run ./build:

    ./build

This will error but create some images

  1. Attempt to boot the image (e.g., in QEMU or real hardware):

    qemu-system-x86_64 -drive format=raw,file=./bin/os.bin

💥 Expected Behavior

  • make should complete successfully.

  • The os.bin image should boot properly, reaching the kernel entry point.


❌ Actual Behavior

  • make fails with:

    usage: basename string [suffix]
           basename [-a] [-s suffix] string [...]
    hdiutil attach output:
    
    ERROR: No device found. hdiutil did not recognize the image as a disk.
    make: *** [bin/os.bin] Error 1
  • If manually patched, the system triple faults or hangs after BIOS POST, printing ``.


📎 Attachments

kernel.log
mbr.log
os.log
vbr.log


💡 Suggested Fix (if known)

  • Fix the makefile with the OS creation and copying files
  • Fix the VBR section of the bootloader

📘 Environment

  • OS: macOS Aarch64 Tahoe (25A5295e)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions