Problem booting with a LVM root after installing a client with FAI on debian ETCH

Stephane Martin thewallace94 at gmail.com
Fri Nov 14 13:36:59 CET 2008


I have added lvm2 to the FAIBASE and DEFAULT package and from what i see on
the installation trace from the FAI client ramfs is regenerated when the
client is installed. Also i have checked the time on the initramfs file so i
am sure it is regenerated at the time of the install.

But i have still not /sbin/vgchange in the /sbin ramdisk...

2008/11/14 Stephane Martin <thewallace94 at gmail.com>

> > Did you install lvm2 onto your FAI client?
> Sorry for such stupid question but how to be sure that lvm2 is installed on
> the FAI client? From what i see lvm2 is in the list of packages defined in
> /etc/fai/NFSROOT, is it enough or do i need to specify somewhere that lvm2
> need to be installed?
>
> > Did you run update-initramfs -k all -u at in one of your scripts?
> I have really used the default fai sample to try, just changed the disk
> config file FAIBASE and modified with the exemple LVM configuration from the
> man page.
>
>
>
> 2008/11/14 Michael Tautschnig <mt at debian.org>
>
> > Hello,
>> >
>> > I have installed a new system using fai version 3.2.8 on a debian ETCH,
>> the
>> > partition use LVM.
>> > Everything install but when i boot the new system it's blocking for some
>> > time on "Waiting for root filesystem..." then i got an error:
>> >
>> > ALERT! /dev/mapper/my_pv-_root does not exist
>> >
>> > I then get a initramfs shell, from this shell I discovered that i don't
>> have
>> > /dev/mapper so lvm is not initialised.
>> > /scripts/local-top contain a lvm script file, this file is refering to
>> > /sbin/vgchange but this file is not existing on my initramfs
>> filesystem...
>> >
>> > I try to figure out without success why mkinitramfs don't copy vgchange
>> when
>> > building the initramfs...
>> >
>> > I am stuck here..
>> >
>>
>> - Did you install lvm2 onto your FAI client?
>> - Did you run update-initramfs -k all -u at in one of your scripts?
>>
>> Best,
>> Michael
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20081114/63c50a4c/attachment.htm 


More information about the linux-fai mailing list