LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-02-2012, 09:36 AM   #1
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
After kernel update, Fedora 16 does not have support to encrypted root partition ?


Hi,

I was running fedora 16 just fine until kernel version 3.2.10-3.
After an update (to 3.3.0-4 and 3.3.0-8) it does not boot anymore.

My root partition is encrypted and it does not ask anymore for the passphrase to de-crypt the partition at boot.

I **guess** it is a problem with recent versions of initrd.

If I select the recent kernel entry (3.3.0-8) and edit the grub menu and change the initrd line to load/use the ramdisk from the working kernel (initrd /initramfs-3.2.10-3.fc16.i686.img) than now it asks for the password (not in X mode, but in console), but I had the following message at console:
Code:
device-mapper:reload ioctl failed: invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda2
Check that kernel supports aes-xts-plain64 cypher
I still have a working kernel (3.2.10-3) menu entry in grub, so my machine is not dead.
The problem is I can't use a newer kernel and the next following update will remove that working one.

So, I need your help, master gurus, to rebuild the initrd to work with my encrypted root partition and make sure the kernel has support to aes-xts-plain64 cypher as the error message states.

..OR any other fix that you may think it will work better than a bare-bone fix like I suggested....may be something I can do just using yum/rpm or whatever.

For now I already tried to remove the newer kernels and re-install it again, both using yum and graphical software update application;no luck.
 
Old 04-03-2012, 05:50 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
As long as you are booted to 3.2.10-3, that entry will not be removed from grub by normal maintenance (PackageKit/yum). You can periodically check to see if a new kernel is available, and give it a try.
 
Old 04-04-2012, 07:21 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Original Poster
Rep: Reputation: 63
SOLVED - After kernel update, Fedora 16 does not have support to encrypted root partition

I realize the problem is not related to encrypted root partition, but related to graphical driver.
This was tricky since even in single level and in level 3, the screen is all black and after a few seconds the monitor went to power-save mode. What I expected at level 3 and in single mode is, at least, a text mode screen to enter the passphrase and see the boot process. Even pressing the ESC key during the early phases of boot didn't give me a text screen.

Today I was wondering if the system was waiting for the passphrase, even if there were no indication on the screen.
So I typed the passphrase anyway and the boot process could move forward until the end, but no screen at all.

By accessing the computer from the network (ssh) I was able to fix it.
There is no Xorg.log file for theses sessions, even if I boot in default level 5. So there is no debug information to explain why the display was all black. I was using the nouveau driver.

Instead to try to fix the problem with nouveau driver, I decided to remove it and install the nvidia driver, both using yum.
Problem solved. Well, kind off....a normal boot in level 5, gives me a text screen to type the passphase. After that, the graphical boot resumes and the graphical login is there.
 
  


Reply

Tags
crypt, fedora 16, root partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
usb stick unlocking scheme for root encrypted partition in current escaflown Slackware 6 05-09-2010 04:16 PM
[SOLVED] Kernel update on LUKS and LVM encrypted Slackware, mount fails KMBS Slackware 15 02-08-2010 01:23 PM
gentoo luks encrypted root partition - lots of trouble (with initramfs) Meson Gentoo 10 10-15-2009 04:15 PM
Setting up encrypted root partition yukon65 Slackware 3 07-18-2007 08:51 AM
Root partition on logical volume and kernel without module support CedrX Linux - Server 1 03-02-2007 11:26 AM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration