Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-18-2014, 06:16 PM
|
#1
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep:
|
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
|
|
|
02-18-2014, 06:22 PM
|
#2
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
|
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 06:28 PM.
|
|
|
02-18-2014, 07:14 PM
|
#3
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
Thanks for the info and the link. Did you ever figure out the keyboard issue?
Brian
|
|
|
02-19-2014, 08:03 AM
|
#4
|
Member
Registered: Dec 2009
Distribution: Slackware
Posts: 229
Rep:
|
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
|
|
|
02-19-2014, 08:19 AM
|
#5
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
|
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
|
|
|
03-05-2014, 12:56 PM
|
#6
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|