Skip to contentSkip to conversation

vgscan and initrd

linux-lvm Mark de Ruijter 2 participants 2 messages Jun 30, 2003 – Jul 2, 2003

lore
Share & tools
lore
#0 lore raw

I tried to do that just now.
Sadly, it didn't work. Still vgscan doesn't see any volume group at all. So once again, kernel panic strikes.

This is so frustrating :) I mean, the livecd things boot just fine, but it absolutly refuses to boot to that lvm.

Any more suggestions ?

"Mark H. Wood" <[email protected]> wrote ..

Quoted 20 lines

Your follow-up makes it sound as though you have a different problem from mine, but I can answer your question about mounting tmpfs over /etc:

mount -t tmpfs tmpfs /etc

You wind up with an empty /etc, but at that point there should be no problem. vgscan just wants some place to store a metadata backup which you are going to throw away, and after pivot-root runs you'll have a different /etc anyway. If the Gentoo startup scripts are like Red Hat's, they'll do a second LVM metadata backup into the "real" /etc later.

Signature · 8 lines
Mark H. Wood, Lead System Programmer   [email protected]
MS Windows *is* user-friendly, but only for certain values of "user".

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
#1 lore raw
Quoted 6 lines · Mark de Ruijter

I tried to do that just now.
Sadly, it didn't work. Still vgscan doesn't see any volume group at all. So once again, kernel panic strikes.

This is so frustrating :) I mean, the livecd things boot just fine, but it absolutly refuses to boot to that lvm.

Any more suggestions ?

are you sure that the device nodes for the physical volumes are present? (in case of doubt, try with devfs and mount at boot option ;)

just an idea ...

best,
Herbert

Quoted 21 lines

"Mark H. Wood" <[email protected]> wrote ..

Quoted 20 lines

Your follow-up makes it sound as though you have a different problem from mine, but I can answer your question about mounting tmpfs over /etc:

mount -t tmpfs tmpfs /etc

You wind up with an empty /etc, but at that point there should be no problem. vgscan just wants some place to store a metadata backup which you are going to throw away, and after pivot-root runs you'll have a different /etc anyway. If the Gentoo startup scripts are like Red Hat's, they'll do a second LVM metadata backup into the "real" /etc later.

Signature · 8 lines
Mark H. Wood, Lead System Programmer   [email protected]
MS Windows *is* user-friendly, but only for certain values of "user".

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/