LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   root on lvm2 problem :-( (http://www.linuxquestions.org/questions/linux-software-2/root-on-lvm2-problem-494965/)

echo>/dev/null 10-23-2006 06:25 PM

root on lvm2 problem :-(
 
hi,

I was following this guide in order to set up a pure lvm2 system [HOWTO] lvm2 for root, swap and software suspend2 (edit) at this link forums.gentoo.org/viewtopic-t-480995.html. The initrd works out fine and boots the kernel up to the point where is trying to mount stuff and I get this message:

Quote:


BIT FAT WARNING!! Failed to translate "/dev/kewl/swap" into a device id.

vFS: Mounted root (ext2 filesystem) readonly
Freeind unused kernel memory: 228k feed
initrd: Mounting /proc
cpio: extract_archive: .: File exists
48 blocks
initrd: Finding device mapper major and minor numbers 910.63)
initrd: Activating LVM@ volumes
Locking type 1 initialisation failed.
Locking type 1 initialisation failed.
Setup suspend2 hibernation
/sbin/init: /sbin/init: 113: cannot create /proc/suspend/resume2: Directory non-existent
/sbin/init: /sbin/init: 113: cannot create /proc/suspend/resume2: Directory non-existent
initrd: Mounting root filesystem /dev/kewl/root ro
mount: Mounting /dev/kewl/root on /rootvol failed: No such file or directory
\t*FAILEd*

*** Entering LVM2 rescue shell. Exit shell to continue. ***
And also because inserting swap into lvm I cannot set swap signature with fdisk, but swap is created regardless like this:

Quote:

mkswap /dev/kewl/swap
Setting up swapspace version 1, size = 511700 kB
no label, UUID=(long number)
I am running Gentoo by the way. If someone has a clue I would appreciate it greatly :-)

thanks

echo>/dev/null 10-23-2006 10:21 PM

nobody knows about this?:confused:


All times are GMT -5. The time now is 04:12 PM.