configure and make and then what ?

2007-05-01 Thread Dennis Clarke

Deal GRUB2 folks :

   I fetched the current CVS and then performed the configure and
make with success. Somehow make install seems not quite right.  I
want to bring GRUB2 over to my tftp server and then use PXE boot to
fetch the grub2 binary as well as whatever else is needed. I have two
files that seem to be woefully small :

foo:~/build/grub2$ ls -lap pxeboot.exec pxeboot.img
-rwxr-xr-x 1 sysadm sysadm 1617 2007-05-01 19:19 pxeboot.exec
-rwxr-xr-x 1 sysadm sysadm 1024 2007-05-01 19:19 pxeboot.img

so then ... what do I do with grub-mkimage or grub-setup or what ?
The INSTALL docs seem generic and .. not quite right.

Dennis


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: GRUB 1.95 is released

2006-10-15 Thread Dennis Clarke

 * Yoshinori K. Okuji [EMAIL PROTECTED] [061015 16:51]:
 * Number partitions from 1 instead of 0. For instance, the first
   partition of hd0 is now hd0,1 but not hd0,0.

 Hm. What's the reason for being inconsistent here?

 If changing the partition naming scheme, I would have thought it'd
 become hd1,1. But why is the first disk 0 and the first partition 1?

 Using Linux style names might make sense as well... hda1,...


I would prefer a naming style that is not specific to any OS at all.

So hard disks numbered as disks and partitions as partition works real
well.  Keeping in mind that even a partition is an abstraction as opposed
to a real thing.

Dennis




___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


A ready to run GRUB2 boot loader for the Genesi ODW ?

2005-11-15 Thread Dennis Clarke
ALL :

http://www.blastware.org/grub2/

I put this page together such that people working on the PowerPC
port can focus on more interesting things like the hardware address
translation and the memory management layer.  This boot loader seems
to work but I may be a few rev's behind already.  If anyone has an
Genesi ODW unit ( https://www.pegasosppc.com/blastwareodw.php ) then
please feel free to test this and let me know your thoughts.

I built this on Fedora Core 4 and created my own tool chain before
hand.  I was going to go through a complete Linux from Scratch process
but got bogged down in other work.

Dennis Clarke
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: A ready to run GRUB2 boot loader for the Genesi ODW ?

2005-11-15 Thread Dennis Clarke
On 11/15/05, Hollis Blanchard [EMAIL PROTECTED] wrote:
 On Tuesday 15 November 2005 15:07, Dennis Clarke wrote:
  http://www.blastware.org/grub2/

 Looks helpful. :) Is there a particular reason you chose not to use the GRUB
 wiki?

I didn't know it existed.

 It doesn't look like this information is OpenSolaris-specific...

One of the many joys of GRUB2 is that it isn't specific to anything
really.  But I am guessing.  Maybe it could never work on ARM or a Dec
Alpha but I don't see why not.

 That reminds me, how are you booting OpenSolaris using GRUB2 on PPC? With the
 linux loader?

No .. booting OpenSolaris with GRUB2.  But that stage is being worked on.

  I put this page together such that people working on the PowerPC
  port can focus on more interesting things like the hardware address
  translation and the memory management layer.

 I'm actually not sure what you mean by hardware address translation and the
 memory management layer... could you elaborate?

Actually .. not really.  :-(

I wish I could.  Really it comes down to the handling of pages of
memory and how they relate to actual physical memory in the machine
and the address translation that must happen between extended virtual
memory and real physical memory.  This is the venue of the uts code
for the kernel.  We are currently looking at the architecture specific
modules that will be needed and quite frankly, a complete architecture
plan.

http://www.blastwave.org/dclarke/grub/MMU.png

 From the page:
  PLEASE TAKE NOTE : You may choose to suspend GRUB2 in order to drop to the
  firmware however you will need to warm boot your system as you can not yet
  get back to the GRUB2 prompt.  This may be a flaw in the Pegasos2 firmware
  or the GRUB2 code.

 This is a bug in Pegasos firmware. Genesi was notified a while back but I
 haven't heard anything about a fix. In the meantime, you might be able to run
 resume instead of go to get back.

ah .. I will give that a try.  Thank you !

 If that does work, you could implement a patch that detects you're running on
 CodeGen firmware (the original author) and sets a quirk/feature bit, then
 output a different message in the suspend command. I believe we already
 detect CodeGen firmware to work around a bug I found on the briQ, so you
 would have an example to work from...

Let me look into that also.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: [ppc patch] fix line-wrapping

2005-11-08 Thread Dennis Clarke
On 11/7/05, Hollis Blanchard [EMAIL PROTECTED] wrote:
 This patch fixes the line-wrapping problems we've been having on PPC. I
 rearranged grub_ofconsole_getwh() slightly to avoid excessive
 indentation. I will apply soon unless people criticize my ChangeLog
 entry. ;)

Well I don't like it for .. for .. I don't why!   Its the wrong color !

  :-)

Thanks for the update.  I look forward to the next build of GRUB2 on
my Genesi ODW unit here.  I am still looking over my stuff for
getting the GRUB2 menu to look nice with old fashioned line drawing
chars.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: play.c

2005-11-06 Thread Dennis Clarke
On 11/6/05, Marco Gerards [EMAIL PROTECTED] wrote:
 Hollis Blanchard [EMAIL PROTECTED] writes:
  On Nov 5, 2005, at 2:48 PM, Dennis Clarke wrote:
  On 11/5/05, Yoshinori K. Okuji [EMAIL PROTECTED] wrote:
  On Saturday 05 November 2005 03:17 pm, Vincent Pelletier wrote:
  Here is the play command, along with some songs.
 
  I point out some stylish mistakes.
 
  Personally I was thrilled with the idea of sound and really, these

Okay okay okay .. I am the new kid and clearly not up to speed on
anybody or anything.

[ please picture the John Cleese scene from A Fish Called Wanda in which
  he is hanging upside down out a window ]

I apologize completely and without reservation andmy comments were
from way out in left field and .. man .. I just didn't know what I was
thinking ..

On that note I will ensure that I run anything I do through cb before
hand with the KR C options for indents and braces etc etc.

Then I will look again.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: play.c

2005-11-05 Thread Dennis Clarke
On 11/5/05, Yoshinori K. Okuji [EMAIL PROTECTED] wrote:
 On Saturday 05 November 2005 03:17 pm, Vincent Pelletier wrote:
  Here is the play command, along with some songs.

 I point out some stylish mistakes.

Personally I was thrilled with the idea of sound and really, these
little style things are so trivial.  Its like someone hanging a
painting and then commenting on color of the frame.

Actually I am sure it is just a language barrier issue and what you
meant to say was wow, thanks for this cool submission!

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: play.c

2005-11-05 Thread Dennis Clarke
On 11/5/05, Yoshinori K. Okuji [EMAIL PROTECTED] wrote:
 On Saturday 05 November 2005 10:12 pm, Hollis Blanchard wrote:
  On Nov 5, 2005, at 2:48 PM, Dennis Clarke wrote:
   On 11/5/05, Yoshinori K. Okuji [EMAIL PROTECTED] wrote:
   On Saturday 05 November 2005 03:17 pm, Vincent Pelletier wrote:
   Here is the play command, along with some songs.
  
   I point out some stylish mistakes.
  
 Dennis wanted to say such a thing... If my attitude looks silly, Subdino has
 no problem with saying it to me directly without his help.


I was sitting on some changes and was thinking about how to submit
them and then thought, oh great, I have no idea what style is needed
or wanted.  So then after seeing this, an inside joke or something
like that, I then felt why bother.

Hollis was probably dead on the mark.  Open source works just fine and
constructive criticism is a good thing.  I guess thats the whole
point.  On that note I'm going to pull the latest CVS and then have
another look at a few things.

dc
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Fix for strange characters in GRUB 1.91

2005-11-02 Thread Dennis Clarke
A picture says a 1000 words :

http://www.blastwave.org/dclarke/grub/grub_1.91/day_01/img_1280.jpg

I was thinking that perhaps simple line drawing with - and + could
be used for now and that would also work nicely on serial consoles and
old DEV VT units that some of us still use on headless hardware.  So
perhaps a config option in the grub.cfg for charset would be useful.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Dennis Clarke
On 10/23/05, Mike Small [EMAIL PROTECTED] wrote:
 On Sun, Oct 23, 2005 at 05:53:44PM -0500, Hollis Blanchard wrote:
  Hi, could PPC people give the attached shell script a try? For example,
  $ ./ofpathname /dev/hda
  /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/@0/[EMAIL PROTECTED]
 
 Seems to work for me.
 $ ./ofpathname /dev/hda
 /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]
 $ ./ofpathname /dev/hdc

On a fresh install of Fedora Core 4 on a Pegasos ( Genesi ODW ) :

[EMAIL PROTECTED] ~]$ ls -lap /dev/hda
brw-r-  1 root disk 3, 0 Oct 22 17:39 /dev/hda
[EMAIL PROTECTED] ~]$ uname -a
Linux ppc.blastwave.org 2.6.12-1.1456_FC4 #1 Thu Sep 22 02:20:14 EDT
2005 ppc ppc ppc GNU/Linux
[EMAIL PROTECTED] ~]$ cat /proc/cpuinfo
processor   : 0
cpu : 7447/7457, altivec supported
clock   : 999MHz
revision: 0.1 (pvr 8002 0101)
bogomips: 665.60
machine : CHRP Pegasos2
[EMAIL PROTECTED] ~]$ ./ofpathname /dev/hda
: bad interpreter: No such file or directory
[EMAIL PROTECTED] ~]$

sorry .. that is what I get here.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Dennis Clarke
On 10/23/05, Hollis Blanchard [EMAIL PROTECTED] wrote:
 On Oct 23, 2005, at 7:19 PM, Mike Small wrote:
 
  So your script seems better.

 Excellent!

 To clarify, though, it's not my script: it's from the ppc64-utils
 package (which I'm thinking needs to be renamed)... I just added a
 small patch I needed for my G3 before sending it to the list.


yeah .. I was just looking at :

#!/bin/bash
# Copyright (c) 2004 International Business Machines
# Common Public License Version 1.0 (see COPYRIGHT)

#

am trying to figure out what the problem is :

[EMAIL PROTECTED] ~]$ ls -lap /dev/hdc
brw-rw  1 root disk 22, 0 Oct 22 17:39 /dev/hdc
[EMAIL PROTECTED] ~]$ ./ofpathname /dev/hdc
: bad interpreter: No such file or directory
[EMAIL PROTECTED] ~]$

[EMAIL PROTECTED] ~]$ which bash
/bin/bash


Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: Fun abusing grub...

2005-10-15 Thread Dennis Clarke
On 10/15/05, Christopher Caldwell [EMAIL PROTECTED] wrote:
 Greetings,

 I didn't try to break any records, but I did try to make a good
 reference machine for each of these operating systems and
 get real experience about handling real devices.

 Enclosed, read the touching tale of my attempts at installing
 9 different operating systems under Grub.


This is just a stunning exercise.  Really.  I am amazed that you had
the time and patience to fight your way through this and as far as I
am concerned you probably have the world record for multiple OS's on a
single LapTop.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: [SFS breaks PPC build] Re: GRUB 1.91 is released

2005-10-15 Thread Dennis Clarke
On 10/15/05, Cyril Plisko [EMAIL PROTECTED] wrote:
 

 Hi,

 apparently sfs addition breaks PPC build. The attached patch fixed it for me,
 but I am not sure I didn't miss something important.


Thank you Cyril.  You probably saved me a pile of time scratching my
head and wondering.

Dennis
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


How to create boot CDROM with GRUB2

2005-06-22 Thread Dennis Clarke
I went through the steps with configure and make and install into a
prefix of ~/pkgs/local  with the end result being :

[EMAIL PROTECTED]:~/pkgs/local$ find . -ls
1959654 drwxr-xr-x   5 dclarke  users4096 Jun 21 18:13 .
1959664 drwxr-xr-x   3 dclarke  users4096 Jun 21 18:10 ./share
1959674 drwxr-xr-x   3 dclarke  users4096 Jun 21 18:10 ./share/grub
1959684 drwxr-xr-x   2 dclarke  users4096 Jun 21 18:10
./share/grub/powerpc-ieee1275
1959698 -rw-r--r--   1 dclarke  users5892 Jun 21 18:10
./share/grub/powerpc-ieee1275/_linux.mod
1959704 -rw-r--r--   1 dclarke  users1868 Jun 21 18:10
./share/grub/powerpc-ieee1275/linux.mod
1959748 -rw-r--r--   1 dclarke  users6564 Jun 21 18:10
./share/grub/powerpc-ieee1275/fat.mod
195975   12 -rw-r--r--   1 dclarke  users8940 Jun 21 18:10
./share/grub/powerpc-ieee1275/ufs.mod
1959768 -rw-r--r--   1 dclarke  users6500 Jun 21 18:10
./share/grub/powerpc-ieee1275/ext2.mod
1959778 -rw-r--r--   1 dclarke  users6312 Jun 21 18:10
./share/grub/powerpc-ieee1275/minix.mod
1959788 -rw-r--r--   1 dclarke  users7628 Jun 21 18:10
./share/grub/powerpc-ieee1275/hfs.mod
1959798 -rw-r--r--   1 dclarke  users8116 Jun 21 18:10
./share/grub/powerpc-ieee1275/jfs.mod
195980   36 -rw-r--r--   1 dclarke  users   36424 Jun 21 18:10
./share/grub/powerpc-ieee1275/normal.mod
1959814 -rw-r--r--   1 dclarke  users1316 Jun 21 18:10
./share/grub/powerpc-ieee1275/hello.mod
1959824 -rw-r--r--   1 dclarke  users3128 Jun 21 18:10
./share/grub/powerpc-ieee1275/font.mod
1959838 -rw-r--r--   1 dclarke  users5540 Jun 21 18:10
./share/grub/powerpc-ieee1275/ls.mod
1959844 -rw-r--r--   1 dclarke  users1400 Jun 21 18:10
./share/grub/powerpc-ieee1275/boot.mod
1959854 -rw-r--r--   1 dclarke  users2252 Jun 21 18:10
./share/grub/powerpc-ieee1275/cmp.mod
1959864 -rw-r--r--   1 dclarke  users2020 Jun 21 18:10
./share/grub/powerpc-ieee1275/cat.mod
1959874 -rw-r--r--   1 dclarke  users2300 Jun 21 18:10
./share/grub/powerpc-ieee1275/terminal.mod
1959884 -rw-r--r--   1 dclarke  users3124 Jun 21 18:10
./share/grub/powerpc-ieee1275/fshelp.mod
1959894 -rw-r--r--   1 dclarke  users2876 Jun 21 18:10
./share/grub/powerpc-ieee1275/amiga.mod
1959904 -rw-r--r--   1 dclarke  users2704 Jun 21 18:10
./share/grub/powerpc-ieee1275/apple.mod
1959914 -rw-r--r--   1 dclarke  users4024 Jun 21 18:10
./share/grub/powerpc-ieee1275/pc.mod
1959924 -rw-r--r--   1 dclarke  users1404 Jun 21 18:10
./share/grub/powerpc-ieee1275/suspend.mod
1959938 -rw-r--r--   1 dclarke  users4300 Jun 21 18:10
./share/grub/powerpc-ieee1275/loopback.mod
1959944 -rw-r--r--   1 dclarke  users2460 Jun 21 18:10
./share/grub/powerpc-ieee1275/help.mod
1959954 -rw-r--r--   1 dclarke  users1276 Jun 21 18:10
./share/grub/powerpc-ieee1275/reboot.mod
1959964 -rw-r--r--   1 dclarke  users1320 Jun 21 18:10
./share/grub/powerpc-ieee1275/halt.mod
1959974 -rw-r--r--   1 dclarke  users2940 Jun 21 18:10
./share/grub/powerpc-ieee1275/sun.mod
1959984 -rw-r--r--   1 dclarke  users1604 Jun 21 18:10
./share/grub/powerpc-ieee1275/default.mod
1959994 -rw-r--r--   1 dclarke  users1596 Jun 21 18:10
./share/grub/powerpc-ieee1275/timeout.mod
1960004 -rw-r--r--   1 dclarke  users1512 Jun 21 18:10
./share/grub/powerpc-ieee1275/configfile.mod
1960014 -rw-r--r--   1 dclarke  users 325 Jun 21 18:10
./share/grub/powerpc-ieee1275/moddep.lst
1960024 -rw-r--r--   1 dclarke  users 334 Jun 21 18:10
./share/grub/powerpc-ieee1275/command.lst
1960034 drwxr-xr-x   2 dclarke  users4096 Jun 21 18:10 ./bin
196004  456 -rwxr-xr-x   1 dclarke  users  462473 Jun 21 18:10
./bin/grub-emu
196005   76 -rwxr-xr-x   1 dclarke  users   71158 Jun 21 18:10
./bin/grub-mkimage
2145854 drwxr-xr-x   2 dclarke  users4096 Jun 21 18:10 ./sbin

[EMAIL PROTECTED]:~/pkgs/local$ uname -a
Linux debian 2.6.8-pegasos #1 Wed Aug 18 16:40:30 CEST 2004 ppc GNU/Linux


My system is a PowerPC based unit with open firmware.  In fact it is a
GENESI ODW unit thus : http://www.pegasosppc.com/odw.php

There is no floppy device but I guess I could attach one somehow. 
What I need to do is install the GRUB2 bootloader on this unit but I
would prefer to have it on a bootable CDROM  first.

Is there any clear way to achieve this ?

Dennis Clarke
[EMAIL PROTECTED]


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel