You are not logged in.

#1 2012-02-09 07:23:05

maahes
Member
Registered: 2012-02-09
Posts: 12

Unable to find lvm volumes -- Unable to determine major/minor number

This happened after the last mkinitcpio and kernel update I did, but I just got around to fixing it. Anyways I have upgraded the machine from chroot, and regenerated the mkinitcpio image, and confirmed that it had libraries and it matched the kernel.

It still won't boot and I only have a bit of possibly unrelated additional data: after upgrading vim no longer works complaining it can't find libpng, vi works fine, Additionally when I try to login to the drive in ubuntu, it says it can't find the logical volumes but then cryptmapper brings up the two volumes and I can mount them.

What else can I look at in order to determine what might be wrong?

Offline

#2 2012-02-09 09:45:25

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Unable to find lvm volumes -- Unable to determine major/minor number

You're not being very specific. Why did you use cryptmapper? I guess you have encrypted partitions. This is useful information for those of us who lack the powers of clairvoyance.

Please succinctly and explicitly describe your efforts to stfw for a solution, your LVM and encryption structure, and provide the output of

grep -i ^hooks /etc/mkinitcpio.conf

Offline

#3 2012-02-09 11:29:19

maahes
Member
Registered: 2012-02-09
Posts: 12

Re: Unable to find lvm volumes -- Unable to determine major/minor number

Clairvoyance? For what conceivable reason in what universe would I possibly mention cryptmapper if I were not trying to boot into an encrypted drive?

Lvm is lvm2 on syslinux:

/boot (unencrypted)
cryptmapper crypt-pool
crypt-root
crypt-home

output of your command:

HOOKS="base udev autodetect pata scsi sata keymap encrypt lvm2 filesystems usbinput

Offline

#4 2012-02-09 11:30:07

maahes
Member
Registered: 2012-02-09
Posts: 12

Re: Unable to find lvm volumes -- Unable to determine major/minor number

Sorry, there is a tailing quote at the end, I just accidentally did not copy it.

Offline

#5 2012-02-09 18:19:46

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Unable to find lvm volumes -- Unable to determine major/minor number

maahes wrote:

Sorry, there is a tailing quote at the end, I just accidentally did not copy it.

It is possible to edit posts ;-)


maahes wrote:

Clairvoyance? For what conceivable reason in what universe would I possibly mention cryptmapper if I were not trying to boot into an encrypted drive?

You miss my point. When asking for help, explicitly lay out all the relevant information. No one here is getting paid to try and guess how your computer is set up.

You also haven't described your attempts to find a solution on your own. We've considered problems with LVM and encrypted drives before. If previous solutions were inadequate, it would be helpful if you could explain why.


maahes wrote:

Lvm is lvm2 on syslinux:

/boot (unencrypted)
cryptmapper crypt-pool
crypt-root
crypt-home

Okay, should I infer from this that you have LVM on top of encrypted partitions? Also, I haven't heard of a program called cryptmapper before, is that the name you gave to a LUKS partition?


maahes wrote:

HOOKS="base udev autodetect pata scsi sata keymap encrypt lvm2 filesystems usbinput"

Hmm, this is okay if my powers of clairvoyance have correctly revealed that you do have LVM over LUKS.

Okay, what about this:

grep -i lvm /etc/rc.conf
sudo grep -iC8 lvm /boot/grub/grub.cfg

Last edited by /dev/zero (2012-02-09 18:23:40)

Offline

#6 2012-02-10 01:24:26

maahes
Member
Registered: 2012-02-09
Posts: 12

Re: Unable to find lvm volumes -- Unable to determine major/minor number

devzero wrote:

You miss my point. When asking for help, explicitly lay out all the relevant information. No one here is getting paid to try and guess how your computer is set up.

You also haven't described your attempts to find a solution on your own. We've considered problems with LVM and encrypted drives before. If previous solutions were inadequate, it would be helpful if you could explain why.

I did lay out what I had done: Updated my kernel, mkinitcpio, and regenerated the mkinitcpio image and confirmed that it matched my kernel. This is really all the advice I have been able to find regarding this issue, the only two things I have found relating to the specific error I get on boot, have been related to mounting encrypted drives, and working inside VM's. The latter does not apply to me.


devzero wrote:

Okay, should I infer from this that you have LVM on top of encrypted partitions? Also, I haven't heard of a program called cryptmapper before, is that the name you gave to a LUKS partition?

This may be a bit of confusing on my part, but I recalled the actual program being used to map the encrypted drives being called crypt mapper. The specific layout of my LVM is:

Boot
cryptpool
-->cryptroot
-->crypthome

devzero wrote:

Okay, what about this:

grep -i lvm /etc/rc.conf

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="yes"

devzero wrote:
sudo grep -iC8 lvm /boot/grub/grub.cfg

Interesting, there is no grub.cfg only a menu.lst

Offline

#7 2012-02-10 02:33:57

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Unable to find lvm volumes -- Unable to determine major/minor number

maahes wrote:
devzero wrote:

Okay, should I infer from this that you have LVM on top of encrypted partitions? Also, I haven't heard of a program called cryptmapper before, is that the name you gave to a LUKS partition?

This may be a bit of confusing on my part, but I recalled the actual program being used to map the encrypted drives being called crypt mapper.

I tried googling cryptmapper. I only came up with about three results. They were all clearly using cryptsetup to create LUKS partitions with the name of cryptmapper.


maahes wrote:
devzero wrote:
sudo grep -iC8 lvm /boot/grub/grub.cfg

Interesting, there is no grub.cfg only a menu.lst

So you knew to point this out, but it didn't occur to you to make the necessary adjustment? Clearly, you do not want this fixed.

Offline

#8 2012-02-10 02:41:44

maahes
Member
Registered: 2012-02-09
Posts: 12

Re: Unable to find lvm volumes -- Unable to determine major/minor number

I didn't know how to regenerate the grub config, So I was presuming you might recommend a remedy. But whatever, I'll google it, You're being a pedantic asshole, I've had better reception in #debian and #bash, I am unable to determine if you just get off on being a prick, or if you're taking out some personal issues. Regardless, thanks for your "help".

Offline

#9 2012-02-10 02:46:56

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Unable to find lvm volumes -- Unable to determine major/minor number

I was interested in helping, so I guess that rules out me getting off on being a prick or taking out personal issues. Thanks for wasting my time, help vampire.

Offline

#10 2012-02-10 02:53:33

maahes
Member
Registered: 2012-02-09
Posts: 12

Re: Unable to find lvm volumes -- Unable to determine major/minor number

/dev/zero wrote:

I was interested in helping, so I guess that rules out me getting off on being a prick or taking out personal issues. Thanks for wasting my time, help vampire.

It doesn't rule it out, given your tone and general snottiness. Seriously, why even bother to try and help people if you're just going to be a prick about it? How am *I* supposed to read *your* mind, such that I post everything in accordance to your bloody wishes?

I'm sick, I have a headache, a non-booting machine, and someone being an ass to me for even bothering to ask for help. Congrats you're adding to a general bad day, if that's your intent you succeeded. If it isn't, please reconsider your damn tone when addressing people, particularly in text, where there's a hell of a lot less emotional cues to convey mood.

Offline

#11 2012-02-10 03:18:59

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Unable to find lvm volumes -- Unable to determine major/minor number

If you think I've done something wrong, please click the Report button. Probably, I did violate the rule against flaming when I decided to use sarcastic and patronising language ;-)

While waiting for the mods to come whirling down from heaven to shoot me full of lightning bolts, you may wish to familiarise yourself with the parts of the forum guidelines called "Life is a Two-way Street" and "How to Post". Probably, I wouldn't have felt tempted to be a prick if you'd followed those basic rules first.

Offline

#12 2012-02-10 04:16:18

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Unable to find lvm volumes -- Unable to determine major/minor number

maahes, please do thoroughly read our Forum Etiquette. Let it sink in and then come back and ask again.

Closing this one.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB