LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-11-2014, 08:23 PM   #1
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
New kernel -Slackware encryption


Later on this week I will be re-installing Slackware and because of my video card I always have to re-compile a kernel and install different versions of Xorg and Xinput... but anyways if I change the kernel will my encryption still work properly (yes I will compile the kernel for proper support) or do I need to install new packages beforehand?

I've done this sort of thing on Debian, but since all of the dependencies and what not are handled automatically I have no idea if I need extras to do this sort of thing on Slackware.

Thanks.
 
Old 06-12-2014, 01:18 AM   #2
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Original Poster
Rep: Reputation: 34
A bump...
 
Old 06-12-2014, 02:15 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Bumping a thread which was 5 hours old is not helping much
 
Old 06-12-2014, 03:02 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
LUKS should not be a problem. You have read http://docs.slackware.com/howtos:sla...kernelbuilding I presume?
 
Old 06-12-2014, 11:20 PM   #5
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 77
If you're just changing out the kernel, do this after unpacking and/or patching the kernel:

Code:
cd /path-to-your-linux-source-code
zcat /proc/config.gz > .config
cp -av .config ~/PRODUCTION-KERNEL-CONFIG
make oldconfig
make menuconfig
# Here, you can make other changes.
The other changes is where you might have issue. Basically, the crypto part of kernel config doesn't know which crypto you want to use with cryptsetup, for instance. Therefore, it's not going to auto-select all of the crypto dependencies for you, just what other parts of the kernel need. So if you have an aes-xts-essiv:sha256 LUKS partition, and you compile out any of AES, XTS, cipher chains, or SHA256, chances are that the kernel will panic when you try to mount the LUKS partition next time, especially on boot. So try not to mess with the "Cryptographic API" section without being willing to test and reboot to an older kernel if necessary.

In fact, it's best to look at these settings first as well as the settings in the LVM/RAID menu and be sure they're compatible after you're done changing things elsewhere.

Last edited by mlslk31; 06-12-2014 at 11:21 PM. Reason: correct abbreviation
 
1 members found this post helpful.
  


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
Luks Encryption in Slackware Alexvader Slackware 3 11-06-2009 03:56 PM
Slackware 12, encryption and RAID1, how? cocoon Slackware 2 02-09-2008 05:41 PM
Installing pidgin-encryption-3.0 in slackware 12.0 Acron_0248 Slackware 2 12-10-2007 07:50 PM
slackware encryption dm-crypt rino.caldelli Slackware 25 08-02-2005 05:25 AM
cryptoapi losetup encryption in slackware rino.caldelli Slackware 1 07-26-2005 04:15 AM

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

All times are GMT -5. The time now is 11:56 AM.

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