GRUB 1.91 built from latest CVS snapshot with a fresh bootstrap of GCC
3.4.4 and binutils 2.16.91.0.3 thus :

[EMAIL PROTECTED] ~]$ gcc -v
Reading specs from
/home/dclarke/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/home/dclarke/local
--with-local-prefix=/home/dclarke/local
--with-as=/home/dclarke/local/bin/as
--with-ld=/home/dclarke/local/bin/ld --enable-threads=posix
--enable-altivec --enable-__cxa_atexit --enable-languages=c,c++
--disable-nls --enable-shared --libexecdir=/home/dclarke/local/lib
Thread model: posix
gcc version 3.4.4
[EMAIL PROTECTED] ~]$ as --version
GNU assembler 2.16.91.0.3 20050821
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `powerpc-unknown-linux-gnu'.
[EMAIL PROTECTED] ~]$

This is on a Genesi ODW running Fedora Core 4

The required files were then placed into the boot partition thus :

[EMAIL PROTECTED] ~]$ ls -lap /boot/grub
total 584
drwxr-xr-x  2 root root   1024 Oct 27 10:08 ./
drwxr-xr-x  6 root root   1024 Oct 27 11:21 ../
-rw-r--r--  1 root root    129 Oct 27 09:49 grub.cfg
-rwxr-xr-x  1 root root  60118 Oct 27 10:08 grubof
-rw-r--r--  1 root root 216532 Oct 27 09:31 grubof.modules
-rw-r--r--  1 root root 309405 May 23 19:22 splash.xpm

The contents of  grub.cfg are :

[EMAIL PROTECTED] ~]$ cat /boot/grub/grub.cfg
timeout 10

title Linux
    linux (hd,1)/vmlinuz-2.6.12-1.1456_FC4 root=/dev/hda1
    initrd (hd,1)/initrd-2.6.12-1.1456_FC4.img


The firmware in the unit is this :

Welcome to SmartFirmware(tm) for bplan Pegasos2 version 1.2 (20040810112413)

ok devalias
Alias                Device Path
-----------------------------------------------------------
eth                  /[EMAIL PROTECTED]/[EMAIL PROTECTED]
geth                 /ethernet/port1
ide                  /[EMAIL PROTECTED]/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0
hd                   /[EMAIL PROTECTED]/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0
ide0                 /[EMAIL PROTECTED]/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0
cd                   /[EMAIL PROTECTED]/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0
screen               /bootconsole
keyboard             /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]
ok


ok printenv boot-device
boot-device           hd:0               (eth)

I then boot GRUB like so :

boot hd:1 /grub/grubof.modules

This then results in the GNU GRUB  version 1.91  screen

grub> set
prefix=(hd)
root=hd
grub> configfile (hd,1)/grub/grub.cfg

This results in the standard GNU GRUB menu in what looks to be an
ASCII character based box.  However all the characters are wrong for
the box ( ASCII line drawing does not work ) and the title "Linux" is
highlighted.

I can press "e" to edit the entries which appear to be correct based
on the grub.cfg file above.

Perhaps a menu.lst file is required ? The grub.cfg file is not found by default.

Dennis

ps: I should note the simply hitting enter results in Linux starting
to boot but then a kernel panic occurs.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to