From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeyHi-0007KP-Ab for mharc-grub-devel@gnu.org; Wed, 04 Mar 2009 16:05:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeyHg-0007JY-H6 for grub-devel@gnu.org; Wed, 04 Mar 2009 16:05:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeyHd-0007HW-Mx for grub-devel@gnu.org; Wed, 04 Mar 2009 16:05:43 -0500 Received: from [199.232.76.173] (port=47491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeyHd-0007HK-Ga for grub-devel@gnu.org; Wed, 04 Mar 2009 16:05:41 -0500 Received: from aybabtu.com ([69.60.117.155]:43535) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeyHc-0005p3-SZ for grub-devel@gnu.org; Wed, 04 Mar 2009 16:05:41 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1LeyA1-0002AI-Cg for grub-devel@gnu.org; Wed, 04 Mar 2009 21:57:49 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1LeyHa-00089Y-4V for grub-devel@gnu.org; Wed, 04 Mar 2009 22:05:38 +0100 Date: Wed, 4 Mar 2009 22:05:38 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090304210538.GF31201@thorin> References: <20090228185509.44b5711f.aesir.ml@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090228185509.44b5711f.aesir.ml@gmail.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Set an LVM volume as default root device 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, 04 Mar 2009 21:05:45 -0000 On Sat, Feb 28, 2009 at 06:55:09PM +0100, Aesir wrote: > Hi everyone, > > while discovering the beauties of grub2 I'm trying to get a working setup with /boot partition on LVM. Unfortunately until now to boot this system I had to set root device and prefix "by hand" from the rescue shell. In fact, while the working values should be > > root (vg0-boot) > prefix (vg0-boot)/grub > > the ones that grub2 uses by default are > > root (hd0) > prefix (hd0)/grub > > I haven't figured out yet how to change that default value, even reading grub-setup help I couldn't find it out. I would be really pleased if someone could help me. > > Sorry if this is a silly question, hope for your comprehension :-) grub-install / grub-mkconfig should already DTRT. Are you using those to install and generate grub.cfg ? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."