highlightos
v0.3.4
X86_64 OS(内核)在汇编和锈蚀中完全从头开始
要求:
步骤:
rustup : rustup --versiongit clone [email protected]:adamperkowski/highlightos.git && cd highlightoscd进入kernel/目录: cd kernelcargo bootimage --release此命令将创建
target/target/release目录,您将在其中找到bootimage-hlkernel.bin二进制文件。
要求:
步骤:
git clone [email protected]:adamperkowski/highlightos.git && cd highlightoscd进入asm/目录: cd asmnasm -f bin boot.asm -o boot.bin此命令将生成并将
boot.bin文件放置在当前目录的内部。
要求:
步骤:
cd进入包含二进制的目录。qemu-system-x86_64 -drive format=raw,file= < your_binary_filename > .bin重要的
用您下载/构建的二进制文件的实际名称替换<your_binary_filename> 。
您还可以将二进制图像刷到USB棒上,然后将其引导到真实的机器上。
您可以通过运行以下命令来刷新它:
dd if= < your_binary_filename > .bin of=/dev/sdX && sync重要的
确保用下载/编译的二进制名称替换<your_binary_filename>.bin ,并确保用USB的实际分区编号替换/dev/sdX 。上面的任何数据都将丢失!
笔记
您可以从BIOS引导菜单中选择要启动的设备(通过按F8或F12访问)。
双重检查您的主板能够启动传统媒体,因为亮点还不兼容uefi。
您知道我们有IRC频道吗?这是#highlightos 。
内置命令和功能列表可在此处找到。
为了获取有关《光明节》的更多信息,我们邀请您访问Wiki。
不建议使用回购代码部分中的预编译二进制文件。
非常感谢每个人的贡献:
代码的某些部分受Blog_os的启发。伟大的项目!
Copyright © 2024 Adam Perkowski
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the 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 of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.