Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


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

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


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:
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, 06:50 PM   #2
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: 332Reputation: 332Reputation: 332Reputation: 332
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, 08:21 AM   #3
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Original Poster
Rep: Reputation: 64
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.


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

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration