LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-29-2014, 01:03 AM   #1
ymf331
Member
 
Registered: May 2014
Posts: 50

Rep: Reputation: Disabled
14.1 uefi boot and luks-encrypted lvm problems


Hi. I only installed Slackware about a month ago to try out Linux. I liked it and decided to repartition to prevent data loss during future upgrades. That led to google searches that branched out and I'm now in over my head. I think I got everything right up to the initrd.

I have my efi partition, one for /boot, and the lvm one on a gpt. I've encrypted the lvm with cryptsetup and then installed. That's where the abundance of online info seems to become a bit more sparse. I have my /boot with the efi partition mounted, and I made my initrd.gz and moved that and the generic kernel to the Slackware directory in there. I changed elilo.conf like so:

image=vmlinuz-generic-3.10.17
initrd=initrd.gz
root=/dev/system/primary
label=31017
read-only

The mkinitrd was like this:

mkinitrd -c -k 3.10.17 -f ext4 -r /dev/system/primary -m usb-storage:xhci-hcd:usbhid:hid-generic:jbd2:ext4:ext2:vfatci-stub:hid:usbhid -C /dev/sda3 -L -u

I found it on the internet in a thread about the problem I now have, only I looked up the modules and took out mbcache. When I rebooted my USB keyboard didn't work right at the point where I enter the luks password. It is lit up though. And it keeps repeating crap about my mouse disconnecting every so often.

This is all probably more or less info than I needed to give. I've no clue where it all went wrong. Can somebody please help? I'd like to not reinstall again if possible. Please let me know if any other information will help. Like I said, I'm new.

Edit: I tried again adding ehci-hcd to initrd and replacing PCI stub with ehci and xhci. Same problems.

Last edited by ymf331; 05-29-2014 at 08:44 PM.
 
Old 05-30-2014, 12:32 PM   #2
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
Hi

Looks like you're missing ehci-pci and ehci-hcd modules for USB2 in your initrd. xhci-hcd is for USB3.
And maybe you'd better add ohci-hcd or uhci-hcd for USB1, check which one you need with :
Code:
lsmod | grep hci
As a side note, you need to give usbhid only once.
And you ought to check if your USB keyboard needs additional modules. Mine is a Logitech with Unifying, so I have to add hid-logitech and hid-logitech-dj to the list.

Cheers
 
1 members found this post helpful.
Old 05-30-2014, 03:00 PM   #3
ymf331
Member
 
Registered: May 2014
Posts: 50

Original Poster
Rep: Reputation: Disabled
Thanks. I did get the keyboard working just this morning by checking lsmod and lspci from the install media and adding all 32 modules as a temporary solution. I don't know how I figure out exactly which ones I need. Also, I have the weird problem of my mouse constantly reconnecting, but I checked and it even does it when I boot from the liveusb. I'm sure I'll get the wrinkles smoothed out.

Edit: Yeah, I forgot to add that there was a specific mod for my keyboard so that's the likely winner. Thanks for that.

Edit 2: For some reason can't mount /dev/system/primary. It says no such device. I also tried /dev/mapper/system-primary and same thing. I can mount it just fine from the install media.

...D'oh! All those mods and I forgot the filesystem ones! I didn't understand the boot process well enough. I learned much getting all this to work.

Last edited by ymf331; 05-30-2014 at 06:32 PM.
 
  


Reply



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
[SOLVED] uefi and luks and lvm BCarey Slackware 5 03-05-2014 11:56 AM
[SOLVED] Trouble shooting boot failure with uefi+lvm on luks Phorize Slackware 5 12-04-2013 02:33 PM
[SOLVED] Upgrading 14.0 to 14.1 with encrypted disks (LUKS+LVM) metageek Slackware 8 11-15-2013 02:36 AM
Encrypted root with LUKS on LVM and RAID-1: How? gargamel SUSE / openSUSE 5 03-20-2010 04:30 PM
Slackware 12.2 + RAID-1 + LVM + LUKS encrypted root gargamel Slackware 35 12-17-2009 11:25 AM

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

All times are GMT -5. The time now is 08:03 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