[Prev][Next][Index][Thread]
=?gb2312?B?UmU6IFJlOiB0aGUgaGVsbG8gcHJvYmxlbQ==?=
> first ya gotta use grub right
>
> try this
> root (fd0) ... or (fd)
> kernel /hello
> boot
>
> also make sure that you compiled it as a "linuximage" or as something grub
> can boot, and make sure that grub has the appropriate file system module
> (ext2, reiser, vfat, xfs,....) to load the floppy... also you may want to
> try putting it on your hard drive... it shouldn't hurt it (unless you wrote
> the kernel to hurt it).
>
Thank you for answering my question. OSkit conforms to the Multiboot Standand, so I think grub can boot the example kernel directly. I've tried the above commands, but it did not work. I also tried to boot it from hard drive, like
grub> root (hd0,5)
grub> kernel /boot/hello root=/dev/hda6
grub> boot
Unfortunately, it did not work either. By the way, can the kernel boot without root filesystem?
=============================================================
用vip邮箱,送《求职宝典》!
定包月短信,送VIP邮箱 !
10元钱能做什么?安全稳定,尽在网易VIP邮箱!
网易VIP邮箱,打个电话立即拥有!
Follow-Ups: