Hi,

/dev/mapper is created but it is virtually empty (except for a char device).
I was asking what populates /dev/mapper with the LV devices.

I do have a separate /boot partition (it's /dev/sda1). And I have a second
partition /dev/sda2 of LVM type on which I have 4 LVs.

Thanks!

On 19.10.2014 13:16, Richard Melville wrote:

    I am not sure: is the kernel meant to create the /dev/mapper LVM
    logical volumes or it's the initrd's job?
    And how can I fix the mkinitramfs errors?


The kernel creates /dev/mapper. So, with or without an initrd the devices should be listed under /dev, providing, of course, that the kernel has been configured correctly, as shown above.

BTW I don't think that you need an initramfs; I seem to remember booting to an LVM partition in the past (when I used LVM) without an initramfs. In fact, on LFS I've never used an initramfs for anything; it just complicates matters and is unnecessary, IMO.

I have to confess that I've not been following this thread in detail; do you have a separate /boot partition?

Richard



-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to