From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OcBFm-0007X7-JT for mharc-grub-devel@gnu.org; Fri, 23 Jul 2010 01:57:02 -0400 Received: from [140.186.70.92] (port=45637 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcBFi-0007W1-Ia for grub-devel@gnu.org; Fri, 23 Jul 2010 01:56:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcBFg-0008IF-Q8 for grub-devel@gnu.org; Fri, 23 Jul 2010 01:56:58 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:57028) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcBFg-0008Hz-Le for grub-devel@gnu.org; Fri, 23 Jul 2010 01:56:56 -0400 Received: by fxm20 with SMTP id 20so5338591fxm.0 for ; Thu, 22 Jul 2010 22:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=LjjMofhwe+T3CWfWgI92XxVUZBfi2RFJx4OePD16sPM=; b=ag5Sz6EkeLk/SDodR8af4tuxkhZ7ZsotWg6AXvke2tJ4NQ6u7iY+GGYhPcebuzZzla Vx8kwEtp5VKeqHYGxvJkIEXFpazLu2p+dT5gxkCYWdfk5GDXCJaOxTSSSG17OngMfTWF cAyDg7ROhMJmDgZyiW6/buPHOaeWY3D1yrXd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=clZ1YoT4RpjJNxFRRxX8HU2gpQBiuhasWZLSkfMtdUanklLX7DvOKnMx9w8fu/pdUG abSSTc4NTMtp4Lf9ea+oEtSiGDJHLflW8ElaswQpgBFE6RZGWE5xoCg0jGes/SxjHF2a omO2v5taOAQjAcHY+iT94+xNumGOEil+lc5MY= Received: by 10.223.122.195 with SMTP id m3mr2802976far.86.1279864614990; Thu, 22 Jul 2010 22:56:54 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-dhcp3-143.ethz.ch [129.132.210.143]) by mx.google.com with ESMTPS id w11sm3602442fao.37.2010.07.22.22.56.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jul 2010 22:56:53 -0700 (PDT) Message-ID: <4C492F0B.6020701@gmail.com> Date: Fri, 23 Jul 2010 07:56:27 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org References: <20100722212326.GJ2632@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20100722212326.GJ2632@caffeine.csclub.uwaterloo.ca> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig4E9F47F51B51EEAA1B375608" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub2 on power6 box. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 05:57:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4E9F47F51B51EEAA1B375608 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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). > > =20 You need to add -p "". 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 hand= y. > It certainly looks very close to working. > > Thanks. > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig4E9F47F51B51EEAA1B375608 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkxJLyMACgkQNak7dOguQgntHAEAsXABpbhV7sJfoPEq1zrlpr3g 589mjXnrcPG5eJTXqqsA/3SLMunfpEEacvBGgdVg3QN1x7VhEI5xaHaf2mae2W+/ =coDM -----END PGP SIGNATURE----- --------------enig4E9F47F51B51EEAA1B375608--