LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-01-2007, 12:13 PM   #1
CedrX
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.

CedrX
 
Old 03-02-2007, 11:26 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
While you don't specify your distribution, I suggest reading this Root-on-LVM2 howto here: http://gentoo-wiki.com/HOWTO_Install...root_partition
 
  


Reply


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 07:21 AM
root partition on logical drive AllTuxedUp Linux - Newbie 2 07-02-2006 02:08 AM
cloning logical volume with dd astrowill Linux - General 3 07-13-2005 09:59 AM
Can create logical volume after ext3 partition setup finished? lewkh Linux - Newbie 0 11-17-2004 01:00 AM
logical volume manager plythgam Linux - Software 1 11-08-2004 10:47 AM


All times are GMT -5. The time now is 11:42 AM.

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