From: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
To: Claudio Clemens <asturio-hi6Y0CQ0nG0@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: cryptsetup + lvm order and crypt name
Date: Fri, 08 Aug 2014 09:16:02 +0200 [thread overview]
Message-ID: <8738d7pi31.fsf@freja.aidecoe.name> (raw)
In-Reply-To: <8761i3pi87.fsf-txNSArhcdoZACdk+e2mhCEEMvNT87kid@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]
(I've forgot to CC list, resending.)
> In which file should I write this Options, and how should the line
> look like? I tried also in /etc/conf.d/ and /etc/cmdline.d/, but I
> can't get away with the feeling, that they are not read.
If you are eventually dropped to shell, you can list cmdline parameters
with:
cat /proc/cmdline
> And after setting the file correctly, what should I run? dracut, to
> build the initrd again, or grub-update, to put the options in the boot
> parameter?
First of all I advise to call dracut like that:
dracut -H '' <kernel-version>
it will generate host-specific initramfs for specified kernel version in
default location. Later edit variable GRUB_CMDLINE_LINUX_DEFAULT in
/etc/default/grub and put there parameters you want. After that
regenerate grub2 config with grub2-mkconfig.
I hope that helps. :-)
Cheers,
--
Amadeusz Żołnowski
[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2014-08-08 7:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 22:26 cryptsetup + lvm order and crypt name Claudio A. T. Clemens
[not found] ` <53E15A01.9040604-hi6Y0CQ0nG0@public.gmane.org>
2014-08-06 7:11 ` Amadeusz Żołnowski
[not found] ` <871tsuks7j.fsf-txNSArhcdoZACdk+e2mhCEEMvNT87kid@public.gmane.org>
2014-08-07 20:47 ` Claudio Clemens
[not found] ` <8761i3pi87.fsf@freja.aidecoe.name>
[not found] ` <8761i3pi87.fsf-txNSArhcdoZACdk+e2mhCEEMvNT87kid@public.gmane.org>
2014-08-08 7:16 ` Amadeusz Żołnowski [this message]
2014-08-15 11:11 ` Claudio Clemens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738d7pi31.fsf@freja.aidecoe.name \
--to=aidecoe-2qtfh70ttyba5ebddlwbiw@public.gmane.org \
--cc=asturio-hi6Y0CQ0nG0@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox