/FreeNOS

基于开源微内核操作系统FreeNos

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Free Niek's Operating System. Authors:

Niek Linnenbank
Dan Rulos (AmayaOS)
Coen Bijlsma (libparse, srv/time)
Ed Schouten (libteken)
Alexander Schrijver (OpenBSD patches)

EDIT

  • edit Sconstruct
  build_env.Append(CCFLAGS='-m32 -Wno-cpp -Wno-unused-variable -Wno-sign-compare')

INSTALL

  • env
$ sudo apt-get install build-essential scons python-subversion subversion qemu
  • compile
$ scons iso

RUN

  • install qemu
$ sudo apt-get install qemu
  • create img
$ qemu-img create FreeNOS.img 5G
  • FreeNOS.img size 5G
  • Run
$ qemu-system-x86_64 -m 512 -smp 4 -hda FreeNOS.img -cdrom FreeNOS.iso -boot dc
  • -m分配虚拟内存,单位为MB
  • -smp分配虚拟硬盘空间
  • -hda指定虚拟机文件路径和文件名
  • -cdrom指定ios镜像文件路径和文件名
  • -boot指定从磁盘启动