All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] set prefix on PPC
Date: Sun, 20 Feb 2005 17:50:49 +0000	[thread overview]
Message-ID: <873bvryvba.fsf@marco.marco-g.com> (raw)
In-Reply-To: <6e5dae65f19717cef397b85f4b268e72@penguinppc.org> (Hollis Blanchard's message of "Sat, 19 Feb 2005 18:21:28 -0600")

Hollis Blanchard <hollis@penguinppc.org> writes:

> On Feb 15, 2005, at 3:31 PM, Marco Gerards wrote:
>> Ok.  But the file does not need to be blessed to boot from it.  It's
>> just used so the user can use:
>>
>> boot hd,0
>>
>> instead of:
>>
>> boot hd,0:grubof
>>
>> To me the second sounds good enough.  Or does that cause other
>> problems?
>
> Remember that resetting the PRAM (a rare but not unusual action on
> Macs) will revert to the stock firmware configuration, and if OS X is
> the only blessed OS, the user will find themselves unable to boot into
> Linux without a decent understanding of Open Firmware. Blessing GRUB
> would eliminate this problem*.

This is a good explanation of the problem.  When we have
documentation we should have a text like this in it. :)

> * If OS X is on a lower partition number, the user will still boot
> into OS X after a PRAM reset. However, if the firmware recognizes GRUB
> as a valid kernel, there is a graphical "select boot device" interface
> on newer machines that can be triggered by holding down the Option key
> at startup.

Ok.

>>> Ok. I assume you want to test my patch and review it further, so I
>>> will wait for more comments before committing it.
>>
>> Sure, I will test and review it on both of my PPC systems and review
>> the patch.  I hope you understand that it can take a while. :/
>
> I hope I can talk you into taking a look soon, as this functionality
> is essential if we want to actually *use* GRUB2.

Ok.

> It should be pretty easy to build and see what happens... :) (See my
> patch from earlier today since current CVS doesn't build.)

That's something I could do. :)

>>>> I don't want to add a fancy parser yet.  At the moment we just use a
>>>> single argument.  If more will be used, this code has to be changed.
>>>
>>> And in that case, the format of "bootargs" will have to change
>>> too. It's never too early to think about backwards compatibility,
>>> especially if people are thinking of packaging and distributing a
>>> grub2.deb... :)
>>
>> Huh?  Why would backward compatibility be broken?
>
> If a user installs GRUB now with this bootargs patch, then later if we
> wish to add a debug option with "fancy parser" they will no longer be
> able to boot, as the syntax will change.
>
> Now: "boot grubof hd0,6"
> Later: "boot grubof prefix=hd0,6 debug=all"

I do not like the prefix= syntax.  What I want is:

Now: "boot grubof (hd0,6)"
Later: "boot grubof (hd0,6) --debug=all"

> Users trying to boot with the old syntax will fail.

In my case it will still work. :)

Thanks,
Marco




  reply	other threads:[~2005-02-20 18:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13 16:54 [patch] set prefix on PPC Hollis Blanchard
2005-02-13 18:35 ` Marco Gerards
2005-02-13 19:52   ` Hollis Blanchard
2005-02-14 19:01     ` Marco Gerards
2005-02-15 16:39       ` Hollis Blanchard
2005-02-15 21:31         ` Marco Gerards
2005-02-20  0:21           ` Hollis Blanchard
2005-02-20 17:50             ` Marco Gerards [this message]
2005-02-24  4:44               ` Hollis Blanchard
2005-04-14 16:35                 ` Marco Gerards
2005-02-21 19:01 ` Marco Gerards
2005-02-24  4:40   ` Hollis Blanchard
2005-04-14 17:05     ` Marco Gerards
2005-04-17 17:10       ` partition numbering (was: set prefix on PPC) Hollis Blanchard
2005-04-17 17:44         ` partition numbering Marco Gerards
2005-04-17 18:23           ` Hollis Blanchard
2005-04-17 18:57             ` Marco Gerards
2005-04-17 19:24             ` Yoshinori K. Okuji
2005-04-17 19:45               ` Marco Gerards
  -- strict thread matches above, loose matches on Subject: below --
2005-04-14  2:38 [patch] set prefix on PPC Hollis Blanchard
2005-04-14 17:13 ` Marco Gerards
2005-04-15 20:24 ` Marco Gerards
2005-04-17 18:42   ` Hollis Blanchard
2005-04-17 19:23     ` Marco Gerards
2005-04-17 18:33 Hollis Blanchard
2005-04-17 19:38 ` Marco Gerards
2005-04-17 20:32   ` Hollis Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873bvryvba.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.