All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: nvinson234@gmail.com
Cc: grub-devel@gnu.org
Subject: Re: [GRUB PARTUUID PATCH V7 0/4] Add PARTUUID detection support
Date: Tue, 27 Mar 2018 23:00:31 +0200	[thread overview]
Message-ID: <20180327210031.GB25654@router-fw-old.local.net-space.pl> (raw)
In-Reply-To: <cover.1522128915.git.nvinson234@gmail.com>

Hi,

On Mon, Mar 26, 2018 at 11:07:55PM -0700, Nicholas Vinson wrote:

[...]

> Hello,
>
> This is a request to add PARTUUID detection support grub-probe for MBR
> and GPT partition schemes.  The Linux kernel supports mounting the root
> filesystem by Linux device name or by the Partition [GU]UID.  GRUB's
> mkconfig, however, currently only supports specifying the rootfs in the
> kernel command-line by Linux device name unless an initramfs is also
> present.  When an initramfs is present GRUB's mkconfig will set the
> kernel's root parameter value to either the Linux device name or to the
> filesystem [GU]UID.
>
> Therefore, the only way to protect a Linux system from failing to boot
> when its Linux storage device names change is to either manually edit
> grub.cfg or /etc/default/grub and append root=PARTUUID=xxx to the
> command-line or create an initramfs that understands how to mount
> devices by filesystem [G]UID and let grub-mkconfig pass the filesystem
> [GU]UID to the initramfs.
>
> The goal of this patch set is to enable root=PARTUUID=xxx support in
> grub-mkconfig, so that users don't have to manually edit
> /etc/default/grub or grub.cfg, or create an initramfs for the sole
> purpose of having a robust bootloader configuration for Linux.

Patches are in good shape right now. I have some questions WRT 3rd patch.
Please reply. If I am OK with explanations and there is no objections
I will this patch series in a week or so.

Daniel


  parent reply	other threads:[~2018-03-27 21:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27  6:07 [GRUB PARTUUID PATCH V7 0/4] Add PARTUUID detection support Nicholas Vinson
2018-03-27  6:07 ` [GRUB PARTUUID PATCH V7 1/4] Centralize guid prints Nicholas Vinson
2018-03-27  6:07 ` [GRUB PARTUUID PATCH V7 2/4] Update grub_gpt_partentry Nicholas Vinson
2018-03-27  6:07 ` [GRUB PARTUUID PATCH V7 3/4] Add PARTUUID detection support to grub-probe Nicholas Vinson
2018-03-27 20:52   ` Daniel Kiper
2018-03-28  4:30     ` Nick Vinson
2018-03-28 10:21       ` Daniel Kiper
2018-03-27  6:07 ` [GRUB PARTUUID PATCH V7 4/4] Update grub script template files Nicholas Vinson
2018-03-27 21:00 ` Daniel Kiper [this message]
2018-03-28  4:31 ` [GRUB PARTUUID PATCH V7.1 3/4] Add PARTUUID detection support to grub-probe Nicholas Vinson

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=20180327210031.GB25654@router-fw-old.local.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=nvinson234@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.