From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub2 on power6 box.
Date: Wed, 28 Jul 2010 18:26:55 +0300 [thread overview]
Message-ID: <4C504C3F.8070809@gmail.com> (raw)
In-Reply-To: <20100728144516.GA2632@caffeine.csclub.uwaterloo.ca>
[-- Attachment #1: Type: text/plain, Size: 2275 bytes --]
On 07/28/2010 05:45 PM, Lennart Sorensen wrote:
> On Wed, Jul 28, 2010 at 05:27:33PM +0300, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>
>> On 07/23/2010 11:02 PM, Lennart Sorensen wrote:
>>
>>> So how would one explain to grub-install that it needs part_msdos when
>>> the partition tables that the md devices are running on are of type msdos?
>>> How would one make it automatically add the correct prefix (since it
>>> needs either (hd,msdos#)/boot/grub or (md0)/boot/grub or similar added
>>> instead of the default)? And of course finally it would have to dd to
>>> the target device, rather than just create a file and try to make the
>>> firmware boot that file. The boot device also has to be the full disk
>>> on the IBM, not a disk,partition,file combination.
>>>
>>>
>> Normally it should be all autodetected. Could you file a bug report for
>> this? Could you tell the commands to reproduce it? I have a PPC box but
>> it has only one disk but a mdraid on partitions should do it.
>>
> Well the problem appears to be that grub-install does this:
>
> # Then the partition map module. In order to support partition-less media,
> # this command is allowed to fail (--target=fs already grants us that the
> # filesystem will be accessible).
> partmap_module=
> for x in `$grub_probe --target=partmap --device ${grub_device} 2> /dev/null`; do
> partmap_module="$partmap_module part_$x";
> done
>
> Unfortunately there is nothing that defines ${grub_device} in the script.
> If it used the target install device, it would in fact get the right
> result.
>
Thanks, fixed.
> Now of course another issue is that the script aborts if /boot/grub is
> not a seperate mount point. Well on the IBM powerpc there is no reason
> to make it a seperate mount point since you can't boot from a partition
> with a filesystem anyhow.
>
> I am not sure how one would go about getting grub-install to figure out
> the grub name for the filesystem holding /boot/grub so that it can pass
> the prefix, since it could be (md0)/boot/grub or (md/0)/boot/grub
>
> So where is the bug track system?
>
>
https://savannah.gnu.org/bugs/?group=grub
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2010-07-28 15:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 21:23 grub2 on power6 box Lennart Sorensen
2010-07-23 5:56 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-07-23 13:57 ` Lennart Sorensen
2010-07-23 15:39 ` Lennart Sorensen
2010-07-23 17:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-07-23 17:36 ` Lennart Sorensen
2010-07-23 17:56 ` Lennart Sorensen
2010-07-23 18:35 ` Lennart Sorensen
2010-07-23 20:02 ` Lennart Sorensen
2010-07-28 14:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-07-28 14:45 ` Lennart Sorensen
2010-07-28 15:26 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-07-28 15:35 ` Lennart Sorensen
2010-07-30 21:04 ` Manoel Rebelo Abraches
2010-08-09 15:44 ` Lennart Sorensen
2010-07-23 17:28 ` Manoel Rebelo Abraches
2010-07-23 17:46 ` Lennart Sorensen
2010-07-23 18:08 ` Lennart Sorensen
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=4C504C3F.8070809@gmail.com \
--to=phcoder@gmail.com \
--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.