[Prev][Next][Index][Thread]

Re: the hello problem



>grub> kernel (fd)/hello
>grub> boot
>
>After that, the computer hanged and it did not print "hello world".
>When I pressed any key, it rebooted.
>
>I tried several other examples and they did not work either.
>I even attempted to add a root system, like
>
>grub> root (hd0,5)
>grub> kernel (fd)/hello root=/dev/hda6
>grub> boot

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).

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.