LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-10-2010, 02:44 PM   #1
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
Unhappy Fedora 12 boot problem? rd_LUKS_UUID not working? & EFI installed too?


Fedora 12 LiveCD install to harddrive.

Does someone know how to find what version of dracut you have on Fedora 12? There was no version option with dracut:

Code:
man dracut
dracut --version   --> error
On booting with Fedora 12, it tries to open all LUKS partitions be default. On adding "rd_LUKS_UUID" or "rd_NO_LUKS" and "rd_LUKS_UUID" it does not find root. I searched and only found two email lists mentioning this kernel paramter:

Quote:
Message: 1
Date: Fri, 14 Aug 2009 18:10:37 +0200
From: Harald Hoyer <harald@xxxxxxxxxx>
Subject: [ANNOUNCEMENT] dracut-0.9
To: "initramfs@xxxxxxxxxxxxxxx" <initramfs@xxxxxxxxxxxxxxx>,
Development discussions related to Fedora Core
<fedora-devel-list@xxxxxxxxxx>
Message-ID: <4A858C7D.9070209@xxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

dracut-0.9
==========
- let plymouth attach to the terminal (nice text output now)
- new kernel command line parameter "rdinfo" show dracut output, even when
"quiet" is specified
- rd_LUKS_UUID is now handled correctly
- dracut-gencmdline: rd_LUKS_UUID and rd_MD_UUID is now correctly generated
- now generates initrd-generic with around 15MB
- smaller bugfixes



Hi,

On 12/23/2009 06:39 PM, David Lehman wrote:

On Tue, 2009-12-22 at 21:43 +0100, Hans de Goede wrote:

We want to move to using dracut in such a way that the initrd only
activates the minimum of storage needed to bring up the root fs. This
requires us to tell it exactly what storage to activate.
---
storage/devices.py | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 1065a68..b71b669 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1555,6 +1555,9 @@ class LUKSDevice(DMCryptDevice):
""" This device's backing device. """
return self.parents[0]

+ def dracutSetupString(self):
+ return "rd_LUKS_UUID=luks-%s" % self.format.uuid

rd_LUKS_UUID wants something formatted like "luks-$UUID" instead of the
actual UUID?


It can take both (either one), but the udev rules actually passes in
"luks-$UUID" to the script which checks this cmdline option, so I thought it
was best to be consistent with that.


"
@@ -2786,6 +2796,10 @@ class DMRaidArrayDevice(DMDevice):
# Even if teared down we still want to show up in storage.disks
return True

+ def dracutSetupString(self):
+ return "rd_DM_UUID=%s" % self.name

Again, rd_DM_UUID does not want a UUID? Brilliant naming if so.

Yes it wants the raid set name, I agree about brilliant naming, although
technically dmraid sets do not have a uuid in the xxxx-xxxx-xxxx-etc name
and there name is unique, so the name is a unique ID.

Regards,

Hans
It looks like dracut 0.9 or greater supports the kernel tag rd_LUKS_UUID. Does someone know about how to use this on Fedora 12, and would I need to rebuild the initramfs? From the installation, it is not recognizing it. I tried both format names for UUID mentioned in the email, with =luks-$UUID and with =$UUID. Like the email, I would like to only have the boot ask for the needed LUKS partition. If I add the rd_LUKS_UUID, then it cant find root. Otherwise, it asks for all LUKS partitions which is not what I want.

Also, is the directory EFI needed by Fedora 12 to boot? It contains a grub.efi file.
 
Old 02-14-2010, 05:35 PM   #2
usdanskys
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora, Ubuntu, Puppy
Posts: 17

Rep: Reputation: 1
On my system:
~$ rpm -q dracut
dracut-004-5.fc13.noarch

You might check out dracut builds for Fedora
 
Old 02-17-2010, 04:50 PM   #3
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Original Poster
Rep: Reputation: 36
Code:
rpm -q dracut
dracut-002-13.4.git8f397a9b.fc12.noarch
Quote:
Release 13.4.git8f397a9b.fc12
Epoch
Summary Initramfs generator using udev
Description dracut is a new, event-driven initramfs infrastructure based around udev.
From the link that you gave, and also from the rpm name, it is version 13.4 build 002. That tells me what version it is, but not how to solve the problem.

When I boot, it asks and prompts for passwords for all encrypted partitions...I would like only to have it prompt for the needed encrypted partition! How can I do this?

The boot parameter that I thought would do this was LUKS_UUID but this is not working.

Last edited by jiobo; 02-17-2010 at 04:51 PM.
 
  


Reply

Tags
fedora



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
Dual Boot XP & Fedora 10-XP Installed First--Partitions? BDL@Marshall Fedora - Installation 5 12-19-2008 12:31 AM
Problem with dual boot (XP & Fedora 7) korisnik666 Linux - Newbie 3 04-05-2008 07:50 PM
unsure where to post: LILO & EFI anomolies stardotstar Linux - Software 0 08-15-2006 02:13 AM
installed fedora5 &winxp. fedora fine, can't boot winxp uruloki Linux - Newbie 5 07-23-2006 10:12 AM

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

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