Devuan logs - #110, boring messages


Message sent to [email protected], Olaf Meeuwissen <[email protected]>, Daniel Reurich <[email protected]>:


X-Loop: [email protected]
Subject: bug#110: devuan-installer: GRUB installation fails on NMVe drives
Reply-To: Olaf Meeuwissen <[email protected]>, [email protected]
Resent-From: Olaf Meeuwissen <[email protected]>
Resent-To: [email protected]
Resent-CC: Olaf Meeuwissen <[email protected]>, Daniel Reurich <[email protected]>
Resent-Date: Sun, 25 Jun 2017 07:03:02 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 110
X-Devuan-PR-Package: devuan-installer
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.149837400225835
          (code B ref -1); Sun, 25 Jun 2017 07:03:02 UTC
Received: (at submit) by bugs.devuan.org; 25 Jun 2017 07:00:02 +0000
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 25 Jun 2017 09:00:02 +0200 (CEST)
Received: from mo-sw.mose-mail.jp (mo-sw1505-0.mose-mail.jp [210.130.202.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id CB2EA18DFCF
	for <[email protected]>; Sun, 25 Jun 2017 06:58:37 +0000 (UTC)
Received: by mo-sw.mose-mail.jp (mose-mo-sw1505) id v5P6wFH9007759; Sun, 25 Jun 2017 15:58:15 +0900
Received: from quark (localhost [127.0.0.1])
	by mbox.mose-mail.jp (mose-mbox1504) id v5P6wEQZ007809
	for <[email protected]>; Sun, 25 Jun 2017 15:58:14 +0900
Received: from olaf (uid 1000)
	(envelope-from [email protected])
	id 69fc2
	by quark (DragonFly Mail Agent v0.9);
	Sun, 25 Jun 2017 15:58:14 +0900
From: Olaf Meeuwissen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Date: Sun, 25 Jun 2017 15:39:13 +0900
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

--=-=-=
Content-Type: text/plain

Package: devuan-installer
Severity: important

Dear Maintainer,

Installing with the devuan_jessie_1.0.0_amd64_NETINST.iso installer
worked like a charm until it tried to install GRUB2.  That failed with

  main-menu[226]: WARNING **: Configuring 'grub-installer' failed with error code 1
  main-menu[226]: WARNING **: Menu-item 'grub-installer' failed.
  main-menu[226]: INFO: Modifying debconf priority limit from 'high' to 'medium'
  debconf: Setting debconf/priority to medium
  lilo-installer: LILO not usable on EFI PCs withouBIOS compatibility: use grub-efi

Comparing with the Debian 8.8.0 and 9.0.0 installers, I found that the
8.8.0 version displayed the same behaviour.  The installer for 9.0.0
worked fine though.

Comparing the grub-installer.udebs I noticed that NVMe drives are not
supported in the Devuan installer.  The attached patch worked fine for
me (UEFI install, encrypted LVM with separate partitions for /home, /var
and /tmp).  I "applied" the patch by executing a shell and editing the
/usr/bin/grub-installer with nano.

The patch as well as some other fixes are included in version 1.140 of
the grub-installer udeb.

# I'm aware of #23 but as that had zero detail of what the problem was I
# decided to submit this as a separate issue.  As this only affects NVMe
# drives, I figured important was good enough a priority.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=grub-installer.patch
Content-Description: Add NVMe support to grub-installer

--- grub-installer.orig	2017-06-25 15:15:37.706091061 +0900
+++ grub-installer	2017-06-25 15:16:47.118435258 +0900
@@ -134,7 +134,7 @@
 # This should probably be rewritten using udevadm or similar.
 device_to_disk () {
 	echo "$1" | \
-		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
+		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/nvme[0-9][0-9]*n[0-9][0-9]*\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
 }
 
 # Run update-grub in $ROOT
@@ -252,7 +252,7 @@
     /dev/mapper)
 	disc_offered_devfs="$bootfs"
 	;;
-    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
+    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/nvme[0-9]*n[0-9]*|/dev/ad[0-9]*|/dev/da[0-9]*)
 	disc_offered_devfs="$prefix"
 	;;
     *)
@@ -909,6 +909,11 @@
 			part="$(echo "$1" | sed 's,/dev/mmcblk[0-9]\+p\([0-9]\+\),\1,')"
 			[ "$part" != "$1" ] || part=
 			;;
+		/dev/nvme*n*p*)
+			disk="$(echo "$1" | sed 's,\(/dev/nvme[0-9]\+n[0-9]\+\).*,\1,')"
+			part="$(echo "$1" | sed 's,/dev/nvme[0-9]\+n[0-9]\+p\([0-9]\+\),\1,')"
+			[ "$part" != "$1" ] || part=
+			;;
 	esac
 	echo "$disk $part"
 }

--=-=-=--


Message sent:


X-Loop: [email protected]
From: [email protected] (Devuan bug Tracking System)
To: Olaf Meeuwissen <[email protected]>
Subject: bug#110: Acknowledgement (devuan-installer: GRUB installation fails on NMVe drives)
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
Precedence: bulk
X-Devuan-PR-Message: ack 110
X-Devuan-PR-Package: devuan-installer
X-Devuan-PR-Keywords: 
Reply-To: [email protected]

Thank you for the problem report you have sent regarding Devuan.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers mailing list for
their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
   Olaf Meeuwissen <[email protected]>
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 Daniel Reurich <[email protected]>

If you wish to submit further information on your problem, please send
it to [email protected] (and *not* to
[email protected]).

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Your message specified a Severity: in the pseudo-header, but
the severity value important was not recognised.
The default severity normal is being used instead.
The recognised values are: critical, grave, normal, minor, wishlist.

Devuan Bugs Owner
(administrator, Devuan bugs database)


Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 7 Dec 2017 21:50:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 07 Dec 2017 22:50:06 +0100 (CET)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: [email protected])
	with ESMTPSA id 42956F60970
Date: Thu, 7 Dec 2017 21:44:51 +0000
From: KatolaZ <[email protected]>
To: [email protected]
Subject: ...
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="1p/8YZFQDK16REep"
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED
	autolearn=disabled version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org


--1p/8YZFQDK16REep
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

tags 133 ascii
tags 140 jessie
tags 90 jessie
tags 43 jessie
tags 167 ascii
tags 126 ascii
tags 151 jessie
tags 138 jessie
tags 117 jessie
tags 117 ascii
tags 127 jessie
tags 120 ascii
tags 20 jessie
tags 148 jessie
tags 148 ascii
tags 149 ascii
tags 149 jessie
tags 135 ascii
tags 136 jessie
tags 134 jessie
tags 134 ascii
tags 143 ascii
tags 143 jessie
tags 54 jessie
tags 54 ascii
tags 154 ascii
tags 154 jessie
tags 48 jessie
tags 87 ascii
tags 113 jessie
tags 141 ascii
tags 41 jessie
tags 119 jessie
tags 164 ascii
tags 64 jessie
tags 163 ascii
tags 158 jessie
tags 58 ascii
tags 58 jessie
tags 110 jessie
tags 160 jessie
tags 166 jessie
tags 99 jessie
tags 130 ascii
tags 130 jessie
tags 107 ascii
tags 162 ascii
tags 106 ascii
tags 155 jessie
tags 55 jessie
tags 131 jessie
tags 152 ascii
tags 79 jessie
tags 137 jessie
tags 36 jessie
tags 37 jessie
tags 145 ascii
tags 45 jessie
tags 49 jessie
close 30
close 68
close 64
merge 154 148
merge 90 22

--1p/8YZFQDK16REep
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAloptlMACgkQXyCzrgtfBi8qNwCffM2eYmJMgBkX3BOmYIkZZeAV
328AoIgAr1HPmqZKmB/wj/IgdUhbjAm4
=lI+l
-----END PGP SIGNATURE-----

--1p/8YZFQDK16REep--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: "Ralph Ronnquist (rrq)" <[email protected]>
Subject: bug#110: marked as done (devuan-installer: GRUB installation
 fails on NMVe drives)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: closed 110
X-Devuan-PR-Package: devuan-installer
X-Devuan-PR-Keywords: jessie
Reply-To: [email protected]
Date: Fri, 17 Jan 2020 13:33:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1579267981-10797-0"

This is a multi-part message in MIME format...

------------=_1579267981-10797-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 18 Jan 2020 00:11:21 +1100
with message-id <[email protected]>
and subject line done
has caused the Devuan bug report #110,
regarding devuan-installer: GRUB installation fails on NMVe drives
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
110: bugs.devuan.org//cgi/bugreport.cgi?bug=3D110
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1579267981-10797-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 25 Jun 2017 07:00:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 25 Jun 2017 09:00:02 +0200 (CEST)
Received: from mo-sw.mose-mail.jp (mo-sw1505-0.mose-mail.jp [210.130.202.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id CB2EA18DFCF
	for <[email protected]>; Sun, 25 Jun 2017 06:58:37 +0000 (UTC)
Received: by mo-sw.mose-mail.jp (mose-mo-sw1505) id v5P6wFH9007759; Sun, 25 Jun 2017 15:58:15 +0900
Received: from quark (localhost [127.0.0.1])
	by mbox.mose-mail.jp (mose-mbox1504) id v5P6wEQZ007809
	for <[email protected]>; Sun, 25 Jun 2017 15:58:14 +0900
Received: from olaf (uid 1000)
	(envelope-from [email protected])
	id 69fc2
	by quark (DragonFly Mail Agent v0.9);
	Sun, 25 Jun 2017 15:58:14 +0900
From: Olaf Meeuwissen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: devuan-installer: GRUB installation fails on NMVe drives
Date: Sun, 25 Jun 2017 15:39:13 +0900
X-Debbugs-CC: Olaf Meeuwissen <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

--=-=-=
Content-Type: text/plain

Package: devuan-installer
Severity: important

Dear Maintainer,

Installing with the devuan_jessie_1.0.0_amd64_NETINST.iso installer
worked like a charm until it tried to install GRUB2.  That failed with

  main-menu[226]: WARNING **: Configuring 'grub-installer' failed with error code 1
  main-menu[226]: WARNING **: Menu-item 'grub-installer' failed.
  main-menu[226]: INFO: Modifying debconf priority limit from 'high' to 'medium'
  debconf: Setting debconf/priority to medium
  lilo-installer: LILO not usable on EFI PCs withouBIOS compatibility: use grub-efi

Comparing with the Debian 8.8.0 and 9.0.0 installers, I found that the
8.8.0 version displayed the same behaviour.  The installer for 9.0.0
worked fine though.

Comparing the grub-installer.udebs I noticed that NVMe drives are not
supported in the Devuan installer.  The attached patch worked fine for
me (UEFI install, encrypted LVM with separate partitions for /home, /var
and /tmp).  I "applied" the patch by executing a shell and editing the
/usr/bin/grub-installer with nano.

The patch as well as some other fixes are included in version 1.140 of
the grub-installer udeb.

# I'm aware of #23 but as that had zero detail of what the problem was I
# decided to submit this as a separate issue.  As this only affects NVMe
# drives, I figured important was good enough a priority.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=grub-installer.patch
Content-Description: Add NVMe support to grub-installer

--- grub-installer.orig	2017-06-25 15:15:37.706091061 +0900
+++ grub-installer	2017-06-25 15:16:47.118435258 +0900
@@ -134,7 +134,7 @@
 # This should probably be rewritten using udevadm or similar.
 device_to_disk () {
 	echo "$1" | \
-		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
+		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/nvme[0-9][0-9]*n[0-9][0-9]*\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
 }
 
 # Run update-grub in $ROOT
@@ -252,7 +252,7 @@
     /dev/mapper)
 	disc_offered_devfs="$bootfs"
 	;;
-    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
+    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/nvme[0-9]*n[0-9]*|/dev/ad[0-9]*|/dev/da[0-9]*)
 	disc_offered_devfs="$prefix"
 	;;
     *)
@@ -909,6 +909,11 @@
 			part="$(echo "$1" | sed 's,/dev/mmcblk[0-9]\+p\([0-9]\+\),\1,')"
 			[ "$part" != "$1" ] || part=
 			;;
+		/dev/nvme*n*p*)
+			disk="$(echo "$1" | sed 's,\(/dev/nvme[0-9]\+n[0-9]\+\).*,\1,')"
+			part="$(echo "$1" | sed 's,/dev/nvme[0-9]\+n[0-9]\+p\([0-9]\+\),\1,')"
+			[ "$part" != "$1" ] || part=
+			;;
 	esac
 	echo "$disk $part"
 }

--=-=-=--

------------=_1579267981-10797-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 110-done) by bugs.devuan.org; 17 Jan 2020 13:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 17 Jan 2020 13:20:03 +0000 (UTC)
Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 257BDF60C61
	for <[email protected]>; Fri, 17 Jan 2020 14:11:34 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="WNBkbteC";
	dkim-atps=neutral
Received: by mail-pg1-f176.google.com with SMTP id x7so11658984pgl.11
        for <[email protected]>; Fri, 17 Jan 2020 05:11:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:autocrypt:message-id:date:user-agent:mime-version;
        bh=1KKgX8Q+XPd6G/qgkjBYBNOhMLhu6i78bocKH5u0Fow=;
        b=WNBkbteCrQEh104Ufe42nz76Fgt+DvELejsAE9LwMRlNNiwJfm9S2qyp9igrc7Mo0M
         jrwJamwuo7vcmUdzkS1jO+mtB5CxqCNqMDtis5AFL5ytNu4XuY01xk9MCIyv4D1+RIll
         UVUFa+PZTODWWf8IaAS7P3Y+92Qa2F8N0ZCcWyxQPCHsqGp419Jp1A+Uk6Xo7VeEJMwf
         BpusIrqCxWZHq2OZQDeOEPQHBX/UcO2dpugAXd2YX0ju7k1BxAO9J/jXQEO47R3lWvBD
         CDamLP1IZIv96NvFr+TNov6dmGRGHOBqtnnDtlhjOjA8InA/GV6pCQIRV3cp+oX6cJTZ
         FPXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:autocrypt:message-id:date
         :user-agent:mime-version;
        bh=1KKgX8Q+XPd6G/qgkjBYBNOhMLhu6i78bocKH5u0Fow=;
        b=CHX9ZX9pBL/9aRsLVJWSzN+EtCBmk9CubMJNYd+MX9b1QrgHJNndfRZXywriM4p4gP
         rBKeWXdcq9/qVeK/UuBCkJVuh0MhfevixZe8fKZHZjV9vDo2Nf82fDVJXfLem7a8bchi
         fdNbBISfl6FwDxCH8Tc19DOEQ80+ubDRPLEJG+P64fSVnodqWzskUMWPC9hDEnAULdxE
         QVd8fG6wNim9MgSnEiVQgjfs+xMD6/rNol1nk8KKNUKf2XDvtga/MSmrNJ4q4gkFOi35
         vkulyk1KpVEtQPsOVyPn4/sc2A+BLwDMe6hrH+BAlBaoca0iAgQ40kB8eD2OGGm8Bzlc
         v4HQ==
X-Gm-Message-State: APjAAAWWVrC0P3R93Gzr0LgIPL4Hk5kqRCKcCcVWpyn0erLUnLKQ6Zi4
	ZOx0QhIfJGtxvgrd94vgKvWeHgqc
X-Google-Smtp-Source: APXvYqwQPrBHIzyMgCgkuFU4MhSWwbVrqEhdG17d310SO/EEXs/22T/5BGQGeD06mlDov76lRw3pbQ==
X-Received: by 2002:a63:7985:: with SMTP id u127mr44472509pgc.169.1579266692170;
        Fri, 17 Jan 2020 05:11:32 -0800 (PST)
Received: from [192.168.103.11] ([202.53.56.203])
        by smtp.gmail.com with ESMTPSA id 80sm29841330pfw.123.2020.01.17.05.11.30
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 17 Jan 2020 05:11:31 -0800 (PST)
To: [email protected]
From: "Ralph Ronnquist (rrq)" <[email protected]>
Subject: done
Autocrypt: [email protected]; prefer-encrypt=mutual; keydata=
 xsBNBFlwf9YBCAC3fOpUF8Vk6kVOsc66Dy+1GdbD5C2nsp3iv4hTkUNdmvJizS6QH6xUvRCi
 6ZQYtRRQaC4UvRyVXJlxFL8tOpFuCSl83MAZVBPTwQmZacegCvIliHo+91r5GMUyV9wsdGhF
 I9/RWzEyw5zS8pSliseKiUUnalZT9ZkatOR0vcMI5hTwuaOACRNI7B24FL/NSz7ZCYE1O9I2
 RYsOjcpYdSHwiG0Rc+/2ITx8DA8LS+EZWHUwXC3ut7gThlMu2cCjQWpsvOiutDeDFJqnDqcf
 DySGzEfOSTOyGRsDzI52CtdJ1jSYLuDGTBc+Am5Ed3gLpgOKSlrWUflzOAuc0NvRvQpPABEB
 AAHNMVJhbHBoIFJvbm5xdWlzdCAocnJxKSA8cmFscGgucm9ubnF1aXN0QGdtYWlsLmNvbT7C
 wHgEEwECACIFAllwf9YCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEHAoW6XPKAuk
 YWQIAI35aGvj44e4JKGJmF1L7eELD6oe9nvdm3F/TA+ayX8PCrM4l72mHRjmMHYYMAKjkxCu
 jI1WmTupjRo6maPVCtol1amvnag5V4LQv5yYVTbMqvFsQ/fP3/EIh9uoBUWBzsT0kyllXSVM
 Gta+KDNIXT5JxAVBa5zpKGR+RXHMM3E4IcssOnH5KCDDFJdEqkNlNXGLg0Da71Ym504XM37O
 lO0WA5rdRB6iR5GO4hoNI0u0uzcLhV0eMu6V2OVUKOxsKczgfi5oaUNFcbbSwJayapJ0aJkB
 e4biYAKAGceQhhWdSzzBGEJxfyodN8ZipkIbJg/BdygBWO4X7Gh09dTWFAPOwE0EWXB/1gEI
 AN1qxVMHvI59BiOeCJnwPipr6a4znU9GpgyvnHr5blY7firuGm8ybUfzGuMtQxWRXhcJDkoN
 t5wPWwBebsALWIs89VsxzmPvRba7xOfkmAQG2iIUzunSlAhs8bGnbm+7AlhGs0j2H8Vnz0if
 URn28VXeyTSHfOyDURMmpoU6xn3BiZQKt6QQ0sX9Q7EhBdzscb2hurujemzaEhqWs6V4Oqrr
 tGnjd4079subCik/L7z8CJKhqnWKxsIrGg9ZwtMeAgVSzin+wFrMic7yfxcpIG2C92vEzw4S
 PS6G2vpfs3a5O1TqrCnIcw/YBzhYvuIumwp5O4mucNPxodgE+Scvrv8AEQEAAcLAXwQYAQIA
 CQUCWXB/1gIbDAAKCRBwKFulzygLpBBMCACyCBZI0fc+LaIwIIjdv/XIhu9/7siyuMuoKimd
 aWgQ52CXcfw5GZFiR9z0EE/1tM9Y0RwhHF8mu5Imn4XPN6AXOiB9ENm6fm0m0vVB0/0eHLts
 kGRuhyWHXbohTkRemxy9NBF3EH/UwqJVVxpBJyKxy+qMS0AXSlDMZgWjQ9AsaiZcgaoV8AW4
 zECYkd6dSNQbYi69jsX5EDzV8qKZzOh/NZXmm0VKCgZb3JFBrsdtGoLPtZaV904+9T+T4jib
 H0AdeUoDRu2QyxUmS+iD2xcQBCxLa+FTzm4HdZ9SfnBXl3i6QvEBQSxY1jzW4zBpPY7Mgmnn
 WF1G5VIqEDMggu2v
Message-ID: <[email protected]>
Date: Sat, 18 Jan 2020 00:11:21 +1100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.2.2
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="faEQJKQUMX659YMShwFc3uDeN3zCkuT02"
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--faEQJKQUMX659YMShwFc3uDeN3zCkuT02
Content-Type: multipart/mixed; boundary="Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x"

--Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Resolved for beowulf ISOs

Ralph.


--Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x--

--faEQJKQUMX659YMShwFc3uDeN3zCkuT02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE6T1xZ6T1+p6f7Ul3cChbpc8oC6QFAl4hsnkACgkQcChbpc8o
C6S8HwgAphvbP+JR0LDihObLYa4GrpfP3+0WY/R2QakYQUO1uZWfVDehkNMD9km+
3FWBX7ZcW/bUWQLtBq6QECLqObuY4Fcc13QZV3L2VWfB68doBVTBHc+M8xGNk8Ne
SmmTLPbW53i0E1xx8emB4trGAkeuqdyAcnu9qkLbHrnIogAr9nOhcnDirccBg7ih
zGe1zm5oEKcN4aH+Em73idrhnVGztFSXdRg2C+VmHx4r7WpqFKAMqud/YRGj3nds
Q4Xh7H3m6TfWBrorG9Mkc6k6Xnx9WNAWU11qQx4McnNK7mOm01hijlpYcMkxUlnQ
tGV+CVAK6wmBy1dNfhjBYzZrRmapPQ==
=8f+s
-----END PGP SIGNATURE-----

--faEQJKQUMX659YMShwFc3uDeN3zCkuT02--
------------=_1579267981-10797-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Olaf Meeuwissen <[email protected]>
Subject: bug#110 closed by "Ralph Ronnquist (rrq)" <[email protected]>
 (done)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: they-closed 110
X-Devuan-PR-Package: devuan-installer
X-Devuan-PR-Keywords: jessie
Reply-To: [email protected]
Date: Fri, 17 Jan 2020 13:33:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1579267983-10797-1"

This is a multi-part message in MIME format...

------------=_1579267983-10797-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the devuan-installer package:

#110: devuan-installer: GRUB installation fails on NMVe drives

It has been closed by "Ralph Ronnquist (rrq)" <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact "Ralph Ronnquist (rrq)=
" <[email protected]> by
replying to this email.


--=20
110: bugs.devuan.org//cgi/bugreport.cgi?bug=3D110
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1579267983-10797-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 110-done) by bugs.devuan.org; 17 Jan 2020 13:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 17 Jan 2020 13:20:03 +0000 (UTC)
Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 257BDF60C61
	for <[email protected]>; Fri, 17 Jan 2020 14:11:34 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="WNBkbteC";
	dkim-atps=neutral
Received: by mail-pg1-f176.google.com with SMTP id x7so11658984pgl.11
        for <[email protected]>; Fri, 17 Jan 2020 05:11:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:autocrypt:message-id:date:user-agent:mime-version;
        bh=1KKgX8Q+XPd6G/qgkjBYBNOhMLhu6i78bocKH5u0Fow=;
        b=WNBkbteCrQEh104Ufe42nz76Fgt+DvELejsAE9LwMRlNNiwJfm9S2qyp9igrc7Mo0M
         jrwJamwuo7vcmUdzkS1jO+mtB5CxqCNqMDtis5AFL5ytNu4XuY01xk9MCIyv4D1+RIll
         UVUFa+PZTODWWf8IaAS7P3Y+92Qa2F8N0ZCcWyxQPCHsqGp419Jp1A+Uk6Xo7VeEJMwf
         BpusIrqCxWZHq2OZQDeOEPQHBX/UcO2dpugAXd2YX0ju7k1BxAO9J/jXQEO47R3lWvBD
         CDamLP1IZIv96NvFr+TNov6dmGRGHOBqtnnDtlhjOjA8InA/GV6pCQIRV3cp+oX6cJTZ
         FPXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:autocrypt:message-id:date
         :user-agent:mime-version;
        bh=1KKgX8Q+XPd6G/qgkjBYBNOhMLhu6i78bocKH5u0Fow=;
        b=CHX9ZX9pBL/9aRsLVJWSzN+EtCBmk9CubMJNYd+MX9b1QrgHJNndfRZXywriM4p4gP
         rBKeWXdcq9/qVeK/UuBCkJVuh0MhfevixZe8fKZHZjV9vDo2Nf82fDVJXfLem7a8bchi
         fdNbBISfl6FwDxCH8Tc19DOEQ80+ubDRPLEJG+P64fSVnodqWzskUMWPC9hDEnAULdxE
         QVd8fG6wNim9MgSnEiVQgjfs+xMD6/rNol1nk8KKNUKf2XDvtga/MSmrNJ4q4gkFOi35
         vkulyk1KpVEtQPsOVyPn4/sc2A+BLwDMe6hrH+BAlBaoca0iAgQ40kB8eD2OGGm8Bzlc
         v4HQ==
X-Gm-Message-State: APjAAAWWVrC0P3R93Gzr0LgIPL4Hk5kqRCKcCcVWpyn0erLUnLKQ6Zi4
	ZOx0QhIfJGtxvgrd94vgKvWeHgqc
X-Google-Smtp-Source: APXvYqwQPrBHIzyMgCgkuFU4MhSWwbVrqEhdG17d310SO/EEXs/22T/5BGQGeD06mlDov76lRw3pbQ==
X-Received: by 2002:a63:7985:: with SMTP id u127mr44472509pgc.169.1579266692170;
        Fri, 17 Jan 2020 05:11:32 -0800 (PST)
Received: from [192.168.103.11] ([202.53.56.203])
        by smtp.gmail.com with ESMTPSA id 80sm29841330pfw.123.2020.01.17.05.11.30
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 17 Jan 2020 05:11:31 -0800 (PST)
To: [email protected]
From: "Ralph Ronnquist (rrq)" <[email protected]>
Subject: done
Autocrypt: [email protected]; prefer-encrypt=mutual; keydata=
 xsBNBFlwf9YBCAC3fOpUF8Vk6kVOsc66Dy+1GdbD5C2nsp3iv4hTkUNdmvJizS6QH6xUvRCi
 6ZQYtRRQaC4UvRyVXJlxFL8tOpFuCSl83MAZVBPTwQmZacegCvIliHo+91r5GMUyV9wsdGhF
 I9/RWzEyw5zS8pSliseKiUUnalZT9ZkatOR0vcMI5hTwuaOACRNI7B24FL/NSz7ZCYE1O9I2
 RYsOjcpYdSHwiG0Rc+/2ITx8DA8LS+EZWHUwXC3ut7gThlMu2cCjQWpsvOiutDeDFJqnDqcf
 DySGzEfOSTOyGRsDzI52CtdJ1jSYLuDGTBc+Am5Ed3gLpgOKSlrWUflzOAuc0NvRvQpPABEB
 AAHNMVJhbHBoIFJvbm5xdWlzdCAocnJxKSA8cmFscGgucm9ubnF1aXN0QGdtYWlsLmNvbT7C
 wHgEEwECACIFAllwf9YCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEHAoW6XPKAuk
 YWQIAI35aGvj44e4JKGJmF1L7eELD6oe9nvdm3F/TA+ayX8PCrM4l72mHRjmMHYYMAKjkxCu
 jI1WmTupjRo6maPVCtol1amvnag5V4LQv5yYVTbMqvFsQ/fP3/EIh9uoBUWBzsT0kyllXSVM
 Gta+KDNIXT5JxAVBa5zpKGR+RXHMM3E4IcssOnH5KCDDFJdEqkNlNXGLg0Da71Ym504XM37O
 lO0WA5rdRB6iR5GO4hoNI0u0uzcLhV0eMu6V2OVUKOxsKczgfi5oaUNFcbbSwJayapJ0aJkB
 e4biYAKAGceQhhWdSzzBGEJxfyodN8ZipkIbJg/BdygBWO4X7Gh09dTWFAPOwE0EWXB/1gEI
 AN1qxVMHvI59BiOeCJnwPipr6a4znU9GpgyvnHr5blY7firuGm8ybUfzGuMtQxWRXhcJDkoN
 t5wPWwBebsALWIs89VsxzmPvRba7xOfkmAQG2iIUzunSlAhs8bGnbm+7AlhGs0j2H8Vnz0if
 URn28VXeyTSHfOyDURMmpoU6xn3BiZQKt6QQ0sX9Q7EhBdzscb2hurujemzaEhqWs6V4Oqrr
 tGnjd4079subCik/L7z8CJKhqnWKxsIrGg9ZwtMeAgVSzin+wFrMic7yfxcpIG2C92vEzw4S
 PS6G2vpfs3a5O1TqrCnIcw/YBzhYvuIumwp5O4mucNPxodgE+Scvrv8AEQEAAcLAXwQYAQIA
 CQUCWXB/1gIbDAAKCRBwKFulzygLpBBMCACyCBZI0fc+LaIwIIjdv/XIhu9/7siyuMuoKimd
 aWgQ52CXcfw5GZFiR9z0EE/1tM9Y0RwhHF8mu5Imn4XPN6AXOiB9ENm6fm0m0vVB0/0eHLts
 kGRuhyWHXbohTkRemxy9NBF3EH/UwqJVVxpBJyKxy+qMS0AXSlDMZgWjQ9AsaiZcgaoV8AW4
 zECYkd6dSNQbYi69jsX5EDzV8qKZzOh/NZXmm0VKCgZb3JFBrsdtGoLPtZaV904+9T+T4jib
 H0AdeUoDRu2QyxUmS+iD2xcQBCxLa+FTzm4HdZ9SfnBXl3i6QvEBQSxY1jzW4zBpPY7Mgmnn
 WF1G5VIqEDMggu2v
Message-ID: <[email protected]>
Date: Sat, 18 Jan 2020 00:11:21 +1100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.2.2
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="faEQJKQUMX659YMShwFc3uDeN3zCkuT02"
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--faEQJKQUMX659YMShwFc3uDeN3zCkuT02
Content-Type: multipart/mixed; boundary="Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x"

--Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Resolved for beowulf ISOs

Ralph.


--Cv0wCIJq8mVzP0DHHcjjFT7fCo0ZBhc1x--

--faEQJKQUMX659YMShwFc3uDeN3zCkuT02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE6T1xZ6T1+p6f7Ul3cChbpc8oC6QFAl4hsnkACgkQcChbpc8o
C6S8HwgAphvbP+JR0LDihObLYa4GrpfP3+0WY/R2QakYQUO1uZWfVDehkNMD9km+
3FWBX7ZcW/bUWQLtBq6QECLqObuY4Fcc13QZV3L2VWfB68doBVTBHc+M8xGNk8Ne
SmmTLPbW53i0E1xx8emB4trGAkeuqdyAcnu9qkLbHrnIogAr9nOhcnDirccBg7ih
zGe1zm5oEKcN4aH+Em73idrhnVGztFSXdRg2C+VmHx4r7WpqFKAMqud/YRGj3nds
Q4Xh7H3m6TfWBrorG9Mkc6k6Xnx9WNAWU11qQx4McnNK7mOm01hijlpYcMkxUlnQ
tGV+CVAK6wmBy1dNfhjBYzZrRmapPQ==
=8f+s
-----END PGP SIGNATURE-----

--faEQJKQUMX659YMShwFc3uDeN3zCkuT02--
------------=_1579267983-10797-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 25 Jun 2017 07:00:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 25 Jun 2017 09:00:02 +0200 (CEST)
Received: from mo-sw.mose-mail.jp (mo-sw1505-0.mose-mail.jp [210.130.202.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id CB2EA18DFCF
	for <[email protected]>; Sun, 25 Jun 2017 06:58:37 +0000 (UTC)
Received: by mo-sw.mose-mail.jp (mose-mo-sw1505) id v5P6wFH9007759; Sun, 25 Jun 2017 15:58:15 +0900
Received: from quark (localhost [127.0.0.1])
	by mbox.mose-mail.jp (mose-mbox1504) id v5P6wEQZ007809
	for <[email protected]>; Sun, 25 Jun 2017 15:58:14 +0900
Received: from olaf (uid 1000)
	(envelope-from [email protected])
	id 69fc2
	by quark (DragonFly Mail Agent v0.9);
	Sun, 25 Jun 2017 15:58:14 +0900
From: Olaf Meeuwissen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: devuan-installer: GRUB installation fails on NMVe drives
Date: Sun, 25 Jun 2017 15:39:13 +0900
X-Debbugs-CC: Olaf Meeuwissen <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

--=-=-=
Content-Type: text/plain

Package: devuan-installer
Severity: important

Dear Maintainer,

Installing with the devuan_jessie_1.0.0_amd64_NETINST.iso installer
worked like a charm until it tried to install GRUB2.  That failed with

  main-menu[226]: WARNING **: Configuring 'grub-installer' failed with error code 1
  main-menu[226]: WARNING **: Menu-item 'grub-installer' failed.
  main-menu[226]: INFO: Modifying debconf priority limit from 'high' to 'medium'
  debconf: Setting debconf/priority to medium
  lilo-installer: LILO not usable on EFI PCs withouBIOS compatibility: use grub-efi

Comparing with the Debian 8.8.0 and 9.0.0 installers, I found that the
8.8.0 version displayed the same behaviour.  The installer for 9.0.0
worked fine though.

Comparing the grub-installer.udebs I noticed that NVMe drives are not
supported in the Devuan installer.  The attached patch worked fine for
me (UEFI install, encrypted LVM with separate partitions for /home, /var
and /tmp).  I "applied" the patch by executing a shell and editing the
/usr/bin/grub-installer with nano.

The patch as well as some other fixes are included in version 1.140 of
the grub-installer udeb.

# I'm aware of #23 but as that had zero detail of what the problem was I
# decided to submit this as a separate issue.  As this only affects NVMe
# drives, I figured important was good enough a priority.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=grub-installer.patch
Content-Description: Add NVMe support to grub-installer

--- grub-installer.orig	2017-06-25 15:15:37.706091061 +0900
+++ grub-installer	2017-06-25 15:16:47.118435258 +0900
@@ -134,7 +134,7 @@
 # This should probably be rewritten using udevadm or similar.
 device_to_disk () {
 	echo "$1" | \
-		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
+		sed 's:\(/dev/\(cciss\|ida\|rs\)/c[0-9]d[0-9][0-9]*\|/dev/mmcblk[0-9]\|/dev/nvme[0-9][0-9]*n[0-9][0-9]*\|/dev/\(ad\|ada\|da\)[0-9]\+\|/dev/[hs]d[0-9]\+\|/dev/[a-z]\+\).*:\1:'
 }
 
 # Run update-grub in $ROOT
@@ -252,7 +252,7 @@
     /dev/mapper)
 	disc_offered_devfs="$bootfs"
 	;;
-    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
+    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/nvme[0-9]*n[0-9]*|/dev/ad[0-9]*|/dev/da[0-9]*)
 	disc_offered_devfs="$prefix"
 	;;
     *)
@@ -909,6 +909,11 @@
 			part="$(echo "$1" | sed 's,/dev/mmcblk[0-9]\+p\([0-9]\+\),\1,')"
 			[ "$part" != "$1" ] || part=
 			;;
+		/dev/nvme*n*p*)
+			disk="$(echo "$1" | sed 's,\(/dev/nvme[0-9]\+n[0-9]\+\).*,\1,')"
+			part="$(echo "$1" | sed 's,/dev/nvme[0-9]\+n[0-9]\+p\([0-9]\+\),\1,')"
+			[ "$part" != "$1" ] || part=
+			;;
 	esac
 	echo "$disk $part"
 }

--=-=-=--

------------=_1579267983-10797-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sun, 1 Dec 2024 00:39:02 UTC