Re: partition layouts - "root"

2005-04-05 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: >> Personally I do not care about if GRUB is confusing for linux users. >> As I see it, GRUB is not only a linux loader. > > I see that Mach also uses "root" as a kernel argument. I certainly > agree that GRUB is not only a Linux loader. However I stron

Re: partition layouts - "root"

2005-04-05 Thread Hollis Blanchard
On Apr 5, 2005, at 11:45 AM, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: root is not a command but a variable in GRUB 2. Actually, I see now that it is a command: grub_rescue_cmd_root() in kern/rescue.c. Is that only a rescue mode thing? That seems to be exactly what I need...

GRUB2/PPC wiki info

2005-04-05 Thread Hollis Blanchard
I've added a TestingOnPowerPC page to the wiki: http://www.autistici.org/grub/moin.cgi/TestingOnPowerPC . I hope it's enough information (including sample grub.cfg) to get curious hackers to try it out... Maybe we should add the wiki to http://www.gnu.org/software/grub/grub-2-support.en.html ?

Re: partition layouts

2005-04-05 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: >> root is not a command but a variable in GRUB 2. > > Actually, I see now that it is a command: grub_rescue_cmd_root() in > kern/rescue.c. Is that only a rescue mode thing? That seems to be > exactly what I need... aside from the very confusing use of

Re: partition layouts

2005-04-05 Thread Hollis Blanchard
On Apr 5, 2005, at 2:02 AM, Marco Gerards wrote: Vernon Mauery <[EMAIL PROTECTED]> writes: Putting a restraint that says /boot/grub must be a separate partition doesn't sound like a good idea. It just clutters the partition table with another small partition. For the apple this was always the case

Re: partition layouts

2005-04-05 Thread Hollis Blanchard
On Apr 5, 2005, at 12:41 AM, Yoshinori K. Okuji wrote: On Tuesday 05 April 2005 02:38 am, Hollis Blanchard wrote: Can we have a shortcut to avoid specifying that "(hd,7)/" part repeatedly? I think that was the "root" command in GRUB Legacy, which was replaced by the "prefix" environment variable? B

Re: partition layouts - separate /boot

2005-04-05 Thread Hollis Blanchard
On Apr 4, 2005, at 11:55 PM, Vernon Mauery wrote: Hollis Blanchard wrote: I've been thinking about how to install grub2 on an Open Firmware system. Here's one possibility: /boot -- Linux-native filesystem (e.g. ext3) holds kernels, initrd, etc /boot/grub -- firmware-native filesyste

Re: partition layouts - symlinks

2005-04-05 Thread Hollis Blanchard
On Apr 5, 2005, at 2:00 AM, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: The other possibility is to have all of /boot as a firmware-native filesystem. I think that's not ideal though, because those filesystems (HFS+, FAT) might not support features like symlinks or Unix-style

Re: partition layouts

2005-04-05 Thread Marco Gerards
Vernon Mauery <[EMAIL PROTECTED]> writes: >> The discussion is about automatically setting prefix. > > But if prefix is what root used to be (the location of the kernels, > initrds, etc.) then I don't see how having a grub partition helps in > setting this. It will help locate the grub binaries,

Re: partition layouts

2005-04-05 Thread Vernon Mauery
Marco Gerards wrote: > Vernon Mauery <[EMAIL PROTECTED]> writes: >>If all it gains us is that we know where we booted from, we still >>need to know where /boot is. I don't see what this gains us -- the >>root command or prefix variable is still required. It sounds to me >>that if you want to hav

Re: partition layouts

2005-04-05 Thread Tomas 'Ebik' Ebenlendr
> I've been thinking about how to install grub2 on an Open Firmware > system. Here's one possibility: > /boot -- Linux-native filesystem (e.g. ext3) > holds kernels, initrd, etc > /boot/grub -- firmware-native filesystem (on Mac HFS+, on others > FAT, etc) >

Re: partition layouts

2005-04-05 Thread Marco Gerards
Vernon Mauery <[EMAIL PROTECTED]> writes: > Putting a restraint that says /boot/grub must be a separate > partition doesn't sound like a good idea. It just clutters the > partition table with another small partition. For the apple this was always the case already. It is something we can not cha

Re: partition layouts

2005-04-05 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > The grub ELF file must live on a firmware-native filesystem. When run, > it can find out what partition it was booted from, so that is a > natural place to load grub.cfg from as well (and why not modules while > we're at it?). Thus this is the value o