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

Re: [linux-lvm] Chicken and egg problem..



On Wed, Nov 21, 2001 at 01:53:17PM +0100, Georges Giralt wrote:
> 
> As I've previously said, I plan to make my RedHat 7.1 (kernel 2.4.5) a pure LVM 
> machine.
> To do so, I've build the 1.0.4 version of LVM into the kernel (with the NCR SCSI 
> driver). As to avoid an initrd. Simple is beautifull...

Simple might be beautiful but compiling LVM into the kernel does not
alleviate the need for an initrd if your root fs is on an LVM device.

> In the sysinit rc script, Redhat has put a vg activation command, but....
> My kernel panics, as it is unable to mount root, as the LVM activation commands 
> are after the root fsck (and mount..)
> 
> If I put the LVM activation lines early, in the sysinit script, these commands 
> complains beeing not able to access /etc/lvmtab....

Now you know why you need an initrd.  :-)

b.

-- 
Brian J. Murrell



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