grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set an LVM volume as default root device


From: Robert Millan
Subject: Re: Set an LVM volume as default root device
Date: Wed, 4 Mar 2009 22:05:38 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]