initramfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Ian Pilcher <arequipeno-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Default initramfs location
Date: Wed, 15 Jul 2020 07:52:57 +0300	[thread overview]
Message-ID: <85069822-cd21-f11a-58ba-04526f5b48f8@gmail.com> (raw)
In-Reply-To: <rektsp$17oq$1@ciao.gmane.io>

14.07.2020 21:35, Ian Pilcher пишет:
> I've recently migrated one of my systems from GRUB to systemd-boot.  As
> a result my initramfs is no longer at /boot/initramfs-$(uname -r).img.
> 
> Instead, it is at /efi/$(cat /etc/machine-id)/$(uname -r)/initrd.
> 
> dracut is still using the old location by default.  (For example, if I
> rebuild the initramfs with 'dracut -f', dracut writes the new file at
> it's "traditional" location under /boot.)
> 
> Is there a configuration option that I can set to make dracut use the
> systemd-boot location (or some other way to do it)?
> 
> Thanks!
> 

If you use --uefi parameter dracut defaults to
\EFI\Linux\linix-$kernel-$MACHINE_ID-$BUILD_ID.efi (where BUILD_ID is
from /etc/os-release if present).

      reply	other threads:[~2020-07-15  4:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 18:35 Default initramfs location Ian Pilcher
2020-07-15  4:52 ` Andrei Borzenkov [this message]

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=85069822-cd21-f11a-58ba-04526f5b48f8@gmail.com \
    --to=arvidjaar-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=arequipeno-Re5JQEeQqe8AvxtiuMwx3w@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).