From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ow95V-0005P1-7C for mharc-grub-devel@gnu.org; Thu, 16 Sep 2010 03:40:57 -0400 Received: from [140.186.70.92] (port=52674 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow95S-0005NY-Hs for grub-devel@gnu.org; Thu, 16 Sep 2010 03:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow95R-0006gx-32 for grub-devel@gnu.org; Thu, 16 Sep 2010 03:40:54 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:39744) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow95Q-0006gt-TR for grub-devel@gnu.org; Thu, 16 Sep 2010 03:40:53 -0400 Received: by bwz10 with SMTP id 10so1796882bwz.0 for ; Thu, 16 Sep 2010 00:40:52 -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=txGxC1fUW1ZCqti8ixzvHkQie7jfrJ5M0RDRABzOUM0=; b=Pj8TVezItrQndgiPvwF/QAF9tipUP/Jw6Iswtjjwn/c7GbI/B8z4H3OfipEItTMYEZ 0xxVul0xDZ14lRMy93YEfWHZ0LOQopivJh8mdxpnvkszYSIEaZdC6rXAcwuxApH3cA82 sDhneg5B7XkX0NvlxwG9UqvOwn6/zvMrdLCbw= 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=a93hMm8oTK3v6cNjAHkONHgctYTkDbay+L26P1F3rVSJmTuUPwaK3dyhRIf+/g87kq 0QgDGVYP2IoXU1OeK6ZbTy2aQBdKW1GIghKSLCjWT4YgUZr8Kp7vhJSfS6+5l1VtvLPz Yeoankk44SHoIMLvemkUnr7ADDun0PLXQCXAI= Received: by 10.204.49.11 with SMTP id t11mr2290342bkf.64.1284622851983; Thu, 16 Sep 2010 00:40:51 -0700 (PDT) Received: from debian.bg45.phnet (114-32.203-62.cust.bluewin.ch [62.203.32.114]) by mx.google.com with ESMTPS id 24sm2199718bkr.19.2010.09.16.00.40.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 00:40:50 -0700 (PDT) Message-ID: <4C91C9F8.4040407@gmail.com> Date: Thu, 16 Sep 2010 09:40:40 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: grub-devel@gnu.org References: <20100910173329.GX21862@riva.ucam.org> <4C914FF4.1050500@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA2169A60D3AB7DD9E04C856C" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-setup inflexibility 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: Thu, 16 Sep 2010 07:40:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA2169A60D3AB7DD9E04C856C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/16/2010 04:02 AM, Joey Korkames wrote: > [UTF-8]Vladimir '=C3=86-coder/phcoder' Serbinenko writes: > >> On 09/15/2010 08:55 PM, Joey Korkames wrote: >>> Colin Watson writes: >>> >>>> On Xen (I'm told), it's possible to assign disk images in the host t= o >>>> things that are named rather like partitions in the guest (e.g. >>>> /dev/sda1), but that don't have an associated disk (e.g. /dev/sda); >>>> indeed, the latter device is nonexistent. This confuses >>>> grub_util_biosdisk_get_grub_dev. >>>> >>>> There's really no other situation in which I think it's terribly >>>> plausible that you might have /dev/sda1 but not /dev/sda, so it >>>> seems to >>>> me that in this case we can reasonably treat the apparent >>>> "partition" as >>>> a disk in its own right. >>>> >>> >>> Can we make some of these 'decisions' switchable on the command line?= >>> I perform a lot of block device redirections (Xen, iSCSI, nbd, etc) o= r >>> work from live cd's (where / is merely rootfs+unionfs with no disk, >>> but /boot is a mounted disk), and grub-setup raises fatal objections >>> that I would like to override when _I_ know what devnodes the >>> bootblocks and the filesystems belong on. >>> >> It looks like you confused grub-setup (called from grub-install) with >> grub-mkconfig (called from update-grub). Former accesses only to >> /boot/grub and it needs to know about /boot/grub in order to configure= >> image correctly. > > Nope, I really do mean grub-setup. The situations I described also > confuses > grub-install and grub-mkconfig's sh functions, but I generate my own > configs so I don't use those. > I was looking at the grub-setup code and just saw a new option, > --skip-fs-probe . I'll try that for the livecd edge case and if that > doesn't fix my problems, then I'll try to get a detailed breakpoint > where grub-setup gets confused. Then it's a bug. Can you attach the logs of your attempts? Be sure to use sh -x, --debug and -v when appropriate > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigA2169A60D3AB7DD9E04C856C 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/ iF4EAREKAAYFAkyRygAACgkQNak7dOguQgnRQQEAubhl1wqcVU+g7+x7qVMdkYnj JkhAgxIFAfU3VAqqBS0A/2uggFuIHJszi5M8bctKtxH0ifBQceO17bhcV0qKmKeM =ALcK -----END PGP SIGNATURE----- --------------enigA2169A60D3AB7DD9E04C856C--