FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
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]
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.