All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub2 on power6 box.
Date: Fri, 23 Jul 2010 07:56:27 +0200	[thread overview]
Message-ID: <4C492F0B.6020701@gmail.com> (raw)
In-Reply-To: <20100722212326.GJ2632@caffeine.csclub.uwaterloo.ca>

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

On 07/22/2010 11:23 PM, Lennart Sorensen wrote:
> I am trying to use grub2 to boot an IBM p520 power6 box.  I know yaboot
> can do the job, but it doesn't deal with software raid, ext4, LVM or
> anything else useful.
>
> I have managed to get as far as booting to a grub prompt from disk.
> Unfortunately it doesn't appear to be seeing any disks at that point.
>
> The way I got it this far was to create an 8MB (smallest cfdisk would
> make) PReP boot partition, and then run grub-mkimage -n -o /tmp/grub -O
> powerpc-ieee1275 *.mod in the ieee1275 grub directory.  I then dd'd
> /tmp/grub to /dev/sda1 (the PReP boot partition).
>
>   
You need to add -p "<your /boot/grub in grub notation>". Also avoid the
raid and lvm-related modules you don't need. OFW exposes ghost devices
so assembling raids which involves looking at all devices is slow
> At boot, the firmware loads the partition and runs it and after a few
> seconds I get a grub prompt.
>
> I know I don't need all the modules, but starting with all of them
> seemed simpler.
>
> So is this supposed to work, or is there still some ofpath handling
> or other things that have to be fixed before grub2 can detect disks on
> this machine?  If so, I will try to do it, but some hints would be handy.
> It certainly looks very close to working.
>
> Thanks.
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2010-07-23  5:57 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 [this message]
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
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=4C492F0B.6020701@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.