【问题标题】:Can i make operating system using FreeBSD kernel? And build same alternative as Chromium-OS only HTML5我可以使用 FreeBSD 内核制作操作系统吗?并构建与 Chromium-OS 相同的替代方案,仅 HTML5
【发布时间】:2025-11-27 15:05:02
【问题描述】:

我在想 Chromium-OS 是否完全基于网络浏览器。那么不使用 FreeBSD 内核并制作相同的基于 HTML5 的操作系统的原因是什么?至少可以对 Chromium-OS 进行评估,但在 FreeBSD 架构中。

有可能这样做吗?还是 BSD 不如 Linux 内核友好?毕竟它是 Chromium-OS 明确引入的概念常识。

提前致谢。

跟进: 愿景与使命:“没有围墙的生活,谁需要窗户?” 我如何构建我的微操作系统,使用 linux 内核,一切都与我有关?

第 1 步:收集材料

a) 一些现有的和工作的图像,以便我们可以包装文件系统和目录树 http://people.debian.org/~aurel32/qemu/(它们是内置的图像,所以里面有所有的目录骨架)

b) 制作一个目录骨架,你可以把下面的所有内容复制粘贴到上面的原始材料中(/tmp/myOS/):

/
/boot <-- here goes the grub and lilo and boot loader
/tmp
/lib  <-- here goes the kernel
/root
/etc etc

第 2 步:构建内核

1) Download linux kernel: www.kernel.org

2) Setup the kernel and build it
make menuconfig
save it as .config
apply make or make -j3

3) install processor emulator
yum -y install qemu nasm

4) run it
qemu -m 124M -kernel /tmp/myKernel/../zImage

第 3 步:附加内核和目录框架

1) compiled/builded kernel was created copy that and paste it to /tmp/myOS/lib/
2) make sure the directory and grub/lilo/bootloaders are fine tunned
3) keep on testing..., should work hoping

【问题讨论】:

    标签: linux linux-kernel freebsd chromium


    【解决方案1】:

    是的,这是可能的。

    迄今为止最杰出的 Linux 发行版之一 Debian 也是这样做的。见这里:http://www.debian.org/ports/kfreebsd-i386/

    因此,如果它运行 Debian,它也将运行您的网络操作系统。

    【讨论】:

    • 谢谢,您是否也知道诸如备忘单之类的逐步指导构建自己的操作系统的链接?例如:cs.rochester.edu/~sandhya/csc256/assignments/qemu_linux.html
    • 坦率地说,操作系统内核是一项艰巨的工作,它已经是开源的,需要遵循一些步骤,它允许任何了解一点的人构建他的第一个“hello world”操作系统。实际上,我正在研究那项研究,只是为了了解这些是多么令人兴奋。
    • 我在上面有一些更新。我在正确的方向吗?谢谢!
    最近更新 更多