From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LdTP8-0008Sr-QX for mharc-grub-devel@gnu.org; Sat, 28 Feb 2009 12:55:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdTP7-0008RE-K3 for grub-devel@gnu.org; Sat, 28 Feb 2009 12:55:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdTP6-0008PE-3B for grub-devel@gnu.org; Sat, 28 Feb 2009 12:55:13 -0500 Received: from [199.232.76.173] (port=57137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdTP5-0008P3-U4 for grub-devel@gnu.org; Sat, 28 Feb 2009 12:55:11 -0500 Received: from mail-bw0-f172.google.com ([209.85.218.172]:59572) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdTP5-0001A6-E0 for grub-devel@gnu.org; Sat, 28 Feb 2009 12:55:11 -0500 Received: by bwz20 with SMTP id 20so1461053bwz.42 for ; Sat, 28 Feb 2009 09:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=0kCFmjmmkYiMm6efOuBS1rChdKTJwQyTtNskn+glfWs=; b=XPMVb4cmOUJNjCdfRQBuwCKBDWpy+Ml/HzinwVNw9P8HzqTfMPk7Sbsoye8WMyL1Rt ZXE6yEt3XyR+9fjs5ttThaSmHUB6W42VbwijPMNsA7IIAeCbexovATyEuSx+6Pozxd7U THDzLBwboSdHeb9Zl/5Dg2uzizvioorzsalXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=c/cCz9Tes6uYuJkUgcPVRyDSQ/qpLXdPKc2RE0EwnSu/6SBcgGmrB18HjX1BGBFW4v KRl1DUYT3F2bXvSDodVmGR7h/rnrgThLQT4y7oqDS11SlwmkeivDNMWJWMevn5Mzoprf mAiM/iKXjZoWE8hbVv0mi8E0hJZrKN5TC6rqw= Received: by 10.103.238.4 with SMTP id p4mr1972935mur.68.1235843708728; Sat, 28 Feb 2009 09:55:08 -0800 (PST) Received: from arch.homenet.telecomitalia.it (host131-142-dynamic.7-79-r.retail.telecomitalia.it [79.7.142.131]) by mx.google.com with ESMTPS id j6sm6350450mue.34.2009.02.28.09.55.07 (version=SSLv3 cipher=RC4-MD5); Sat, 28 Feb 2009 09:55:08 -0800 (PST) Date: Sat, 28 Feb 2009 18:55:09 +0100 From: Aesir To: grub-devel@gnu.org Message-Id: <20090228185509.44b5711f.aesir.ml@gmail.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: 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: Sat, 28 Feb 2009 17:55:13 -0000 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 :-) Thanks! -- Maurizio Longari