From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Oe8X9-0001q9-SN for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 11:27:03 -0400 Received: from [140.186.70.92] (port=44726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe8X6-0001os-UJ for grub-devel@gnu.org; Wed, 28 Jul 2010 11:27:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe8X5-0007rr-EV for grub-devel@gnu.org; Wed, 28 Jul 2010 11:27:00 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:34187) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8X5-0007ra-76 for grub-devel@gnu.org; Wed, 28 Jul 2010 11:26:59 -0400 Received: by fxm20 with SMTP id 20so1450885fxm.0 for ; Wed, 28 Jul 2010 08:26:58 -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=N3lcS0XL2jPx0S1KBheRvDuXuJPdGermiQcwzBBUgsA=; b=Bvo23FLhFOVTcqINpuFyMKCeMhsPtuBvQBG1kCw99AsP1XbBf4jGNsANCKfPl7RLej vCINb4+WR2Bpjb5DDsyGkFc2VNa1MKENmhJurY+x4E2n3jgYNE3GrYgfWqKXU1S6phb+ NTIIkiP1qNHJ7LFHCdh3x7GWXT1OtjLnyPXp8= 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=mYRcjlPLEGuoU0h1XDVjyqIumjG1mRiyNTKPaIvjct6fcFaxS6LuOXRCvrnZe02Qi9 /hwEtVcOmG5jB8CnFJZe5OgM39e4YALuwHqnAdHDLXBUobco7cV8OMdATrrMu1M3XK/X VDq3jv/Ka35X1B6usSPNyy57dWNIv5i9LwgCY= Received: by 10.223.108.204 with SMTP id g12mr10189469fap.21.1280330818213; Wed, 28 Jul 2010 08:26:58 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-165-dhcp.ethz.ch [129.132.211.165]) by mx.google.com with ESMTPS id q17sm2634781faa.21.2010.07.28.08.26.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 08:26:57 -0700 (PDT) Message-ID: <4C504C3F.8070809@gmail.com> Date: Wed, 28 Jul 2010 18:26:55 +0300 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> <4C492F0B.6020701@gmail.com> <20100723135737.GK2632@caffeine.csclub.uwaterloo.ca> <20100723153925.GL2632@caffeine.csclub.uwaterloo.ca> <4C49CB17.5040307@gmail.com> <20100723173608.GM2632@caffeine.csclub.uwaterloo.ca> <20100723175634.GO2632@caffeine.csclub.uwaterloo.ca> <20100723183548.GQ2632@caffeine.csclub.uwaterloo.ca> <20100723200256.GR2632@caffeine.csclub.uwaterloo.ca> <4C503E55.7030300@gmail.com> <20100728144516.GA2632@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20100728144516.GA2632@caffeine.csclub.uwaterloo.ca> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig90DFBD80E5602DF6B469FB51" 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: Wed, 28 Jul 2010 15:27:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig90DFBD80E5602DF6B469FB51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/28/2010 05:45 PM, Lennart Sorensen wrote: > On Wed, Jul 28, 2010 at 05:27:33PM +0300, Vladimir '=CF=86-coder/phcode= r' Serbinenko wrote: > =20 >> On 07/23/2010 11:02 PM, Lennart Sorensen wrote: >> =20 >>> So how would one explain to grub-install that it needs part_msdos whe= n >>> the partition tables that the md devices are running on are of type m= sdos? >>> How would one make it automatically add the correct prefix (since it >>> needs either (hd,msdos#)/boot/grub or (md0)/boot/grub or similar adde= d >>> instead of the default)? And of course finally it would have to dd t= o >>> 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 dis= k >>> on the IBM, not a disk,partition,file combination. >>> =20 >>> =20 >> Normally it should be all autodetected. Could you file a bug report fo= r >> this? Could you tell the commands to reproduce it? I have a PPC box bu= t >> it has only one disk but a mdraid on partitions should do it. >> =20 > Well the problem appears to be that grub-install does this: > > # Then the partition map module. In order to support partition-less me= dia, > # this command is allowed to fail (--target=3Dfs already grants us that= the > # filesystem will be accessible). > partmap_module=3D > for x in `$grub_probe --target=3Dpartmap --device ${grub_device} 2> /de= v/null`; do > partmap_module=3D"$partmap_module part_$x"; > done > > Unfortunately there is nothing that defines ${grub_device} in the scrip= t. > If it used the target install device, it would in fact get the right > result. > =20 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? > > =20 https://savannah.gnu.org/bugs/?group=3Dgrub --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig90DFBD80E5602DF6B469FB51 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/ iF4EAREKAAYFAkxQTD8ACgkQNak7dOguQgniJQD/WOs0Im4ZppUP4HtLyQ+IimiX UHg4XQnZW1clKK+ryRcBAI/N3PepxpqG2uqiss/SoqF5maY9zxtF2gATg5nDN569 =tOLj -----END PGP SIGNATURE----- --------------enig90DFBD80E5602DF6B469FB51--