我在想 Chromium-OS 是否完全基于网络浏览器。那么不使用 FreeBSD 内核并制作相同的基于 HTML5 的操作系统的原因是什么?至少可以对 Chromium-OS 进行评估,但在 FreeBSD 架构中。
有可能这样做吗?还是 BSD 不如 Linux 内核友好?毕竟它是由 Chromium-OS 明确引入的概念常识。
提前致谢。
跟进:愿景与使命:“没有围墙的生活,谁需要窗户?” 我如何使用 linux 内核构建我的微型操作系统,这一切都与我有关?
第一步:收集材料
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