bug-grub
[Top][All Lists]
Advanced

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

Question about sample mini-kernel in docs


From: Mad Hatter
Subject: Question about sample mini-kernel in docs
Date: Sun, 2 Nov 2003 10:09:38 -0800 (PST)

Hi,

I'm trying to boot with the sample kernel in the docs directory but
not having much success. Here's what happens:
grub> rooot (hd0,0)
grub> kernel /junk
   [Multiboot-elf, <0x100000:-x7a8:0x4018>, shtab=0x105168, entry=0x100000]
grub> boot
... here it just hangs ...

This is on a Dell Optiplex GX1. I built the toy kernel by copying the files
multiboot.h, boot.S and kernel.c to a separate directory and compiled and
linked with:

gcc -I. -Wall -W -fno-builtin -c boot.S
gcc -I. -Wall -W -fno-builtin -c kernel.c
gcc -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 -o junk boot.o kernel.o

Then I moved 'junk' to /boot. Thanks for any help with this.

Ram


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]