Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-01-2007, 01:13 PM   #1
LQ Newbie
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Root partition on logical volume and kernel without module support

Hello all
I have some questions.
I tried to boot my debian linux (etch) which have his root (/) partition on a logical volume (lvm version 2) with a kernel which don't have "module support" compiled in.

All drivers I need are in the kernel and of course support for lvm and raid too.

I got a kernel panic and here was the message i've obtained:

VFS: Cannot open root device "mapper/vgvm-lvracine" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

My first question is :
Is it possible to boot linux with a kernel with no modules support actived and a partition on a logical volume?

The system boot perfectly with this kernel when the root partition is not on a logical volume and all my volumes group are found.
I think it's because the /etc/init.d/S20lvm is expected to find all volumes group.

In my case , i need a script who detect my volume group before the kernel try to mount the root partition.

Perhaps a initrd image who don't have modules but just the scripts and commands (as vgscan,vgchange...) to detect volumes group?

So my second question is :
Is this type of initrd images exist?
And my third question is :
How can i make this initrd image ?

Thanks for advance for any answers.

Old 03-02-2007, 12:26 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
While you don't specify your distribution, I suggest reading this Root-on-LVM2 howto here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Resize Root LVM Logical Volume??? jdupre Fedora 17 10-02-2010 08:21 AM
root partition on logical drive AllTuxedUp Linux - Newbie 2 07-02-2006 03:08 AM
cloning logical volume with dd astrowill Linux - General 3 07-13-2005 10:59 AM
Can create logical volume after ext3 partition setup finished? lewkh Linux - Newbie 0 11-17-2004 02:00 AM
logical volume manager plythgam Linux - Software 1 11-08-2004 11:47 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration