LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2014, 07:39 PM   #16
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

I'm glad you were able to more-or-less resolve it. I'm sad that I wasn't more help.

If you figure out what went wrong, please post it here. Someone in the future might (figuratively) kiss you on all four cheeks for solving this problem for them.
 
Old 11-11-2014, 10:42 AM   #17
MEC75
LQ Newbie
 
Registered: Jul 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Lightbulb

No problem Richard, you helped me to learn more about LVM and the tools used to administrate it.
I have used Linux and Slackware since the late 90s and also with custom kernels nearly since the beginning but never have used LVM/LUKS before. The problem here was that "deprecated sysfs features" was enabled in my kernel which changed what is in /sys/class/block to be in /sys/block - and obviously that breaks LVM.

With enabling this: LVM can not be found as described before
Disabled deprecated sysfs feature: everything works

What I still don't get:
With this feature enabled in the kernel it doesn't boot with / on the LVM within LUKS. However, moving the whole / filesystem including this failing kernel and initrd to a physical partion on USB and boot from there, then it allows to open from within the running system with the 3.16.0 kernel with the deprecated sysfs feature to open the LUKS and LVM devices. So seems somehow later in the boot process the needed device structure for LVM is created even with this feature enabled.

Anyway, without this deprecated feature everything works and since I forgot why I put this in in the first place a long time ago (it was also in other kernels I compiled before...), I just leave it out now and for the next kernels.

Thanks everyone for trying to help!
 
  


Reply

Tags
luks, lvm, problem



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 set up custom boot backgrounds from boot to login with LVM and LUKS? spudzy Linux - Software 1 10-09-2014 09:03 AM
[SOLVED] Initrd for kernel 3.8.11 and encrypted luks root partition in current Phorize Slackware 8 06-15-2013 09:04 AM
[SOLVED] Custom Kernel requirements for LVM+LUKS? TommyC7 Slackware 5 06-05-2012 12:42 PM
13.1 install LIBATA switch, LUKS, LVM, initrd, and lots of disks Z038 Slackware - Installation 1 07-05-2010 04:28 PM
slackware64 lvm/luks and mkinitrd for custom kernel chopp Slackware 19 08-25-2009 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration