grub-devel
[Top][All Lists]
Advanced

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

GRUB 1.91 on PowerPC ( FC4 ) does not find its conf file


From: Dennis Clarke
Subject: GRUB 1.91 on PowerPC ( FC4 ) does not find its conf file
Date: Thu, 27 Oct 2005 14:45:45 -0400

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 :

address@hidden ~]$ 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
address@hidden ~]$ 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'.
address@hidden ~]$

This is on a Genesi ODW running Fedora Core 4

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

address@hidden ~]$ 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 :

address@hidden ~]$ 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                  /address@hidden/address@hidden
geth                 /ethernet/port1
ide                  /address@hidden/address@hidden,1/address@hidden,0
hd                   /address@hidden/address@hidden,1/address@hidden,0
ide0                 /address@hidden/address@hidden,1/address@hidden,0
cd                   /address@hidden/address@hidden,1/address@hidden,0
screen               /bootconsole
keyboard             /address@hidden/address@hidden/address@hidden
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.

reply via email to

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