Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KnZ21-000784-Mo for mharc-grub-devel@gnu.org; Wed, 08 Oct 2008 09:24:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnZ1z-00077j-Fl for grub-devel@gnu.org; Wed, 08 Oct 2008 09:24:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnZ1y-00077H-8D for grub-devel@gnu.org; Wed, 08 Oct 2008 09:24:46 -0400 Received: from [199.232.76.173] (port=55767 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnZ1y-00077E-2g for grub-devel@gnu.org; Wed, 08 Oct 2008 09:24:46 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]:13702) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnZ1x-0000Al-5A for grub-devel@gnu.org; Wed, 08 Oct 2008 09:24:45 -0400 Received: by fg-out-1718.google.com with SMTP id l26so2999645fgb.30 for ; Wed, 08 Oct 2008 06:24:42 -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:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=eljju8zdrOTuJIFTwzc4Rbd1DOPHWEgatnt0cmSIJM8=; b=Jd0Q2u9AK9Z/hd2t+eIjwNIDh6uUa/HXgU7LAJ2CoHUDmiI+ZefyeruhEYimcoxmEk 2PgV9FKKxwkRW/8NiMMav9M2cTghFNPXZN77tfzV+uGT1rG69zxoH0X3dKg8PBAdqh8F 4W2Ae2Z+rHampTxktluOZyTG9VpDCS1uYSg1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=j8ApeDdsYmwKxyd/w1LqD5CQm99KNPLIQ84ydCFhZc/Zl9YFS0Z++64rlZ8w3A0+gd 6hFQ+EMmUEiYu/AgJPpvbaHZ2rrP2Spq98YTeGgVImQcouIGLA+i1r47UExpHthv19hE eXMHKktA5okf3U5FfAKw6F7nIE1hE0wrAv2uE= Received: by 10.181.30.10 with SMTP id h10mr6098439bkj.41.1223472282243; Wed, 08 Oct 2008 06:24:42 -0700 (PDT) Received: by 10.181.15.13 with HTTP; Wed, 8 Oct 2008 06:24:42 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 23:24:42 +1000 From: "Cameron Braid" Sender: cbraid@gmail.com To: "The development of GRUB 2" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_87784_3789715.1223472282254" References: <264154299.32731223135767648.JavaMail.root@aczmb1> X-Google-Sender-Auth: a7ac62c7b7655b76 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub2 /boot on lvm on ubuntu - incorrect magic number X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 13:24:47 -0000 ------=_Part_87784_3789715.1223472282254 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is this a bug in grub2 .. i.e. should I submit a bug with the grub2 bugtracker, or should I chase this up with some LVM people ? Cheers Cameron On Sun, Oct 5, 2008 at 8:59 AM, Cameron Braid wrote: > > $ sudo grub-install /dev/mapper/Ubuntu-hardy64 > > I thought that the install_device argument to grub-install had to be a > harddisk (to use the MBR) or a partition in which the grub image was > installed. And I thought that grub detects the abstraction based on what > /boot points to. > > Cameron > > > > On Sun, Oct 5, 2008 at 1:56 AM, Andy Goth wrote: > >> "Cameron Braid" wrote: >> > * root partition is a lvm device (/dev/mapper/Ubuntu-hardy64) >> > >> > beast:grub2$ sudo grub-install /dev/sdd >> >> From looking at the GRUB 1.96 sources, I get the impression that this >> command line should be: >> >> $ sudo grub-install /dev/mapper/Ubuntu-hardy64 >> >> in order for grub-probe to see the abstraction as >> GRUB_DEV_ABSTRACTION_LVM. >> >> I could be majorly wrong, and this may have changed between 1.96 and the >> version that Cameron is using, but... I'm just trying to figure out how GRUB >> works. :^) >> >> -- >> Andy Goth | http://andy.junkdrome.org/ >> unununium@{aircanopy.net,openverse.com} >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> > > ------=_Part_87784_3789715.1223472282254 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Is this a bug in grub2 .. i.e. should I submit a bug with the grub2 bugtracker, or should I chase this up with some LVM people ?

Cheers

Cameron

On Sun, Oct 5, 2008 at 8:59 AM, Cameron Braid <cameron@braid.com.au> wrote:
> $ sudo grub-install /dev/mapper/Ubuntu-hardy64

I thought that the install_device argument to grub-install had to be a harddisk (to use the MBR) or a partition in which the grub image was installed.  And I thought that grub detects the abstraction based on what /boot points to.

Cameron



On Sun, Oct 5, 2008 at 1:56 AM, Andy Goth <unununium@aircanopy.net> wrote:
"Cameron Braid" <cameron@braid.com.au> wrote:
> * root partition is a lvm device (/dev/mapper/Ubuntu-hardy64)
>
> beast:grub2$ sudo grub-install /dev/sdd

From looking at the GRUB 1.96 sources, I get the impression that this command line should be:

$ sudo grub-install /dev/mapper/Ubuntu-hardy64

in order for grub-probe to see the abstraction as GRUB_DEV_ABSTRACTION_LVM.

I could be majorly wrong, and this may have changed between 1.96 and the version that Cameron is using, but... I'm just trying to figure out how GRUB works. :^)

--
Andy Goth | http://andy.junkdrome.org/
unununium@{aircanopy.net,openverse.com}


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


------=_Part_87784_3789715.1223472282254--