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 02-18-2014, 05:16 PM   #1
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
uefi and luks and lvm


Hi,

I'm about to install 14.1 on a Windows 8 notebook. As this is my first attempt with uefi, I was wondering if there are any special considerations about using luks and lvm in the context of uefi?

Thanks,
Brian
 
Old 02-18-2014, 05:22 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Well of course your /boot/efi and /boot partitions can't be on lvm or luks, but that's nothing new really. I haven't seen any other problems with those three things. Read the UEFI boot instructions carefully; the efi partition needs to be separate with a different identifier, and there is the issue of using GPT. If you want to see what I did you can look at http://www.linuxquestions.org/questi...re-14-1-35788/
Don't forget to add the usbhid modules for a usb keyboard (I somehow managed to forget that in my initial attempt)

Last edited by mostlyharmless; 02-18-2014 at 05:28 PM.
 
Old 02-18-2014, 06:14 PM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Thanks for the info and the link. Did you ever figure out the keyboard issue?

Brian
 
Old 02-19-2014, 07:03 AM   #4
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Rep: Reputation: 20
I recently did an install with UEFI and LUKS (not LVM... only using one other partition) and I had a keyboard issue as well. My solution was to make sure ohci_pci was in initrd.gz
 
Old 02-19-2014, 07:19 AM   #5
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Did you ever figure out the keyboard issue?
Yes, I thought I had a later blog post about it, but here it is, with my latest kernel:

Code:
mkinitrd -c -k 3.13.2 -f ext4 -r /dev/cryptvg/root -m usb-storage:xhci-hcd:usbhid:hid_generic:mbcache:jbd2:ext4:ext2:vfat:pci-stub:hid:usbhid -C /dev/sda3:/dev/sdb1 -L -u -o /boot/initrd-3.13.2.gz -K UUID=1567-EC70:/keyfile
 
Old 03-05-2014, 11:56 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Just to follow up and close this thread:

So the install succeeded and the luks/lvm part was really no different from non-uefi installs. Where I lost a lot of time was:

1. not realizing that the usb install stick created by usbimg2disk.sh needs to be modified to boot by moving the EFI stuff to the root directory

2. putting the kernel, elilo.conf and initrd in the Boot sub-directory of the EFI partition. These things need to be in the Slackware sub-directory instead (at least on my system).

I did lose a lot of time with these two problems, but other than that there was no real difference.

Thanks for all who gave me input.

Brian
 
  


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] Trouble shooting boot failure with uefi+lvm on luks Phorize Slackware 5 12-04-2013 02:33 PM
Lvm+luks siddartha Linux - Newbie 1 01-10-2013 09:18 PM
LUKS on LVM musiqdefunk Linux - Newbie 3 08-11-2012 05:07 AM
[SOLVED] Reinstall On Luks and LVM BashTin Slackware 3 05-05-2012 09:27 AM
[SOLVED] LVM and LUKS Question ferdog Linux - General 2 04-13-2012 01:31 PM

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

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