Devuan bug report logs - #110
devuan-installer: GRUB installation fails on NMVe drives

Package: devuan-installer; Maintainer for devuan-installer is Ralph Ronnquist <ralph.ronnquist@gmail.com>;

Reported by: Olaf Meeuwissen <paddy-hack@member.fsf.org>

Date: Sun, 25 Jun 2017 07:03:02 UTC

Severity: normal

Tags: jessie

Done: "Ralph Ronnquist (rrq)" <ralph.ronnquist@gmail.com>

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 25 Jun 2017 07:00:02 +0000
Return-Path: <olaf@ueda.ne.jp>
Delivered-To: devuanbugs@dyne.org
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 <submit@bugs.devuan.org>; 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 <submit@bugs.devuan.org>; Sun, 25 Jun 2017 15:58:14 +0900
Received: from olaf (uid 1000)
	(envelope-from olaf@ueda.ne.jp)
	id 69fc2
	by quark (DragonFly Mail Agent v0.9);
	Sun, 25 Jun 2017 15:58:14 +0900
From: Olaf Meeuwissen <paddy-hack@member.fsf.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: devuan-installer: GRUB installation fails on NMVe drives
Date: Sun, 25 Jun 2017 15:39:13 +0900
X-Debbugs-CC: Olaf Meeuwissen <paddy-hack@member.fsf.org>
Message-ID: <87efu8wo3d.fsf@member.fsf.org>
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
[Message part 1 (text/plain, inline)]
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
[grub-installer.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Apr 20 03:37:08 2024;