Bug#398957: closed by Bastian Blank <waldi@debian.org> (Re: Fwd: Bug#398957: lilo uses wrong root= parameter)

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Thu Dec 14 12:29:48 UTC 2006


reopen 398957
retitle 398957 wrong root= parameter when root device is an LVM volume
thanks

Please, Bastian, do not close a bug without a fix before getting a reply
from the submitter.

I wish to better explain what the problem is, since your solution is
obviously wrong because I have correctly specified the device name as
root file system in my lilo.conf:

sh-3.1$ grep root= /etc/lilo.conf
root=/dev/mapper/mirrorvg-newrootlv
sh-3.1$

so, I am not specifying major/minor numbers. I did it when I had to
restore my system, and I typed it at the lilo prompt.

I now think the problem here is that lilo create a boot block that
identify the correct root device using major and minor numbers. So,
since you say that device mapper may use any different number at any new
invocation, then the problem is again in lilo, that should use the
device file name instead of major/minor numbers.

I would like to know from Andrés if lilo is really mapping the root
device file name into a major/minor pair. Is it true? Should I reassign
this bug to lilo once again?

Thanks,
Giuseppe

Il giorno gio, 14/12/2006 alle 02.48 -0800, Debian Bug Tracking System
ha scritto:
> This is an automatic notification regarding your Bug report
> #398957: lilo uses wrong root= parameter,
> which was filed against the lvm2 package.
> 
> It has been closed by Bastian Blank <waldi at debian.org>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact Bastian Blank <waldi at debian.org> by replying
> to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 
> Messaggio email allegato
> > ------- Messaggio inoltrato -------
> > Da: Bastian Blank <waldi at debian.org>
> > A: 398957-done at bugs.debian.org
> > Cc: aroldan at fluidsignal.com
> > Oggetto: Re: Fwd: Bug#398957: lilo uses wrong root= parameter
> > Data: Thu, 14 Dec 2006 11:23:57 +0100
> > 
> > On Wed, Dec 13, 2006 at 11:29:48AM +0100, Giuseppe Sacco wrote:
> > > I think that the problem is that vgscan creates devices with different
> > > minor than the one used in the previous boot (with a different kernel).
> > 
> > This is no bug. The devmapper devices are assigned dynamicaly.
> > 
> > > 1. deleted all device files in /dev/.static/dev/mapper/
> > 
> > /dev/mapper is to be created by libdevmapper, don't mess with it.
> > 
> > > In order to boot this machine, I had to specify root=fd01 at the lilo
> > > prompt. This is shown by /proc/cmdline
> > 
> > No, you have to use the correct device name, not a number.
> > 
> > Bastian
> > 





More information about the pkg-lvm-maintainers mailing list