Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌄 x86_64 OS (kernel) made from scratch in Rust & Assembly

License

NotificationsYou must be signed in to change notification settings

adamperkowski/highlightos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

x86_64 OS (kernel) made completely from scratch in Assembly & Rust

README in EnglishREADME in PolishREADME in ItalianDocumentation

GitHub ReleaseGitHub LicenseGitHub repo sizeGitHub Actions Workflow StatusGitHub Actions Workflow Status

Table of contents

Build from source on Linux

Main Kernel

Requirements:

Steps:

  1. Make surerustup is installed:
rustup --version
  1. Create a local clone of the repository:
git clone git@github.com:adamperkowski/highlightos.git&&cd highlightos
  1. cd into thekernel/ directory:
cd kernel
  1. Build the bootable binary:
cargo bootimage --release

This command will create thetarget/target/release directory in which you'll find thebootimage-hlkernel.bin binary file.

HighlightOS ASM

Requirements:

  • Git version control system
  • NASM Assembly compiler

Steps:

  1. Create a local clone of the repository:
git clone git@github.com:adamperkowski/highlightos.git&&cd highlightos
  1. cd into theasm/ directory:
cd asm
  1. Compile the bootable binary:
nasm -f bin boot.asm -o boot.bin

This command will generate & place theboot.bin file inside of the current directory.

Run in QEMU on Linux

Requirements:

Steps:

  1. cd into directory that contains the binary.
  2. Run the following command:
qemu-system-x86_64 -drive format=raw,file=<your_binary_filename>.bin

Important

Replace<your_binary_filename> with the actual name of the binary you have downloaded/built.

Run on real hardware

You can also flash the binary image onto a USB stick and boot it on a real machine.

You can flash it by running the following command:

dd if=<your_binary_filename>.bin of=/dev/sdX&& sync

Important

Make sure to replace<your_binary_filename>.bin with your downloaded/compiled binary name and make sure to replace/dev/sdX with your USB's actual partition number.Any data on it will be lost!

Note

You can choose the device to boot off of from your BIOS boot menu (accessible by pressingF8 orF12).

Double-check that your motherboard is capable of booting legacy media(s), as HighlightOS is not UEFI-compatible yet.

Appendix

Documentation

Development status

2024-11-09_11-53-04.mp4

Additional info

Did you know we have a IRC channel? It's#highlightos onlibera.chat.

List of built-in commands and features is availablehere.
To gain further information on HighlightOS, we invite you to visit thewiki.

Using precompiled binaries from the code section of the repo is not recommended.

Contributors

HUGE thanks to everyone contributing:

Credits

Some parts of the code are inspired byblog_os. Great project!

Copyright

Copyright © 2025 Adam PerkowskiThis program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, version 3 of the License.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program.  If not, see <https://www.gnu.org/licenses/>.

About

🌄 x86_64 OS (kernel) made from scratch in Rust & Assembly

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp