Grub Booting Disk On Chip
Bob Chiodini
Robert.Chiodini-1 at ksc.nasa.gov
Thu May 30 10:29:03 EDT 2002
I'm having a problem configuring grub to boot from a DOC2000.
What's been done so far:
I've patched grub-0.92 with the grub-2002-02-19-doc.patch. Installed
the grub_firmware on the DOC, formated and partitioned /dev/nftla1 and
have successfully mounted it. I reserved 100000 bytes for the
grub_firmware. The /boot/grub directory exists on the DOC with the
following menu.lst (a soft link to grub.conf):
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2
title Red Hat Linux (2.4.18emb)
root (hd0,0)
kernel /vmlinuz-2.4.18emb ro root=/dev/hda2
title Red Hat Linux (2.4.18emb from DOC)
root (dc0,0)
kernel /vmlinuz-2.4.18emb ro root=/dev/hda2
What doesn't work:
When I boot the board:
1. I get "DoC 2000 at D600". The DOC is really at D000.
2. I get several messages about GRUB trying to find
/boot/grub/menu.lst. None of the messages indicate drive 0xE0.
Eventually I get a grub prompt and can enter:
root (dc0,0)
kernel /boot/vmlinuz-2.4.18emb ro root=/dev/hda2
Both commands respond appropriately (I think). I can then type boot and
all is well.
What am I missing to get grub to automatically boot from the DOC?
Bob...
--
Bob Chiodini
Sr. Communications Engineer
Dynacs Engineering Company, Inc.
DNX-18
Kennedy Space Center, Florida 32899
321-867-6313 (voice)
321-867-6300 (fax)
More information about the linux-mtd
mailing list