Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232262

Re: Deb10 installer can't install grub

From Dave Sherohman <dave@sherohman.org>
Newsgroups linux.debian.user
Subject Re: Deb10 installer can't install grub
Date 2021-03-02 15:10 +0100
Message-ID <BOdSN-4DV-1@gated-at.bofh.it> (permalink)
References <BOck2-3yM-3@gated-at.bofh.it> <BOcN3-3KC-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 02, 2021 at 07:54:01AM -0500, Dan Ritter wrote:
> In the installer, you want expert mode. Does the disk
> partitioner recognize both nvme0n1 and nvme1n1 ? 

Yes.  The list of disks shown in the partitioner is currently:

RAID device #1
RAID device #2
/dev/nvme0n1
/dev/nvme1n1
SCSI2 (0,0,0) (sda) - the USB stick I booted from
SCSI1 (0,0,0) (sdb) - the first storage drive
... the other seven storage drives ...

> You'll want to create the following partitions on each,
> identically:
> 
> 1 efi - type efi
> 2 boot (or boot/root) - type MDADM volume
> 3 root, if using separate boot - type MDADM volume
> 4 swap - type MDADM volume

Partitioning is identical on both nvme drives, consisting of:

1.0   MB  free space
2.0   GB  ESP (bootable)
8.0   GB  swap
1.9   TB  RAID physical device
331.8 kB  free space

> Then you go to the mdadm setup and create MDADM RAID1 devices
> out of each pair of boot, root and swap.

RAID Device #1 is 1.9 TB, ext4fs, and set to mount on /
RAID Device #2 is 2.0 GB, ESP, and bootable

> After install to those RAID1 devices, grub will want to install.
> Do that to the boot sector of /dev/nvme0n1, and then again to
> the boot sector of /dev/nvme1n1.

...and this is where it dies.  I'm now in the text-mode "expert
install", and there is no option to manually specify a partition to
install GRUB on, only a yes/no "Force GRUB installation to the EFI
removable media path?" prompt.  Regardless of which answer I choose, I
get "Unable to install GRUB in dummy" and syslog records "failed to get
canonical path of /dev/md2".

I also tried dropping to a shell and manually running `grub-installer
/dev/nvme0n1` and got the error "ls: /dev/nvme0n1/proc: Not a directory"
Manually running grub-installer for /dev/md2 and /dev/nvme1n1
(unsurprisingly) produced similar results.

-- 
Dave Sherohman

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-02 13:30 +0100
  Re: Deb10 installer can't install grub Dan Ritter <dsr@randomstring.org> - 2021-03-02 14:00 +0100
    Re: Deb10 installer can't install grub The Wanderer <wanderer@fastmail.fm> - 2021-03-02 14:30 +0100
      Re: Deb10 installer can't install grub Dan Ritter <dsr@randomstring.org> - 2021-03-02 16:00 +0100
        Re: Deb10 installer can't install grub The Wanderer <wanderer@fastmail.fm> - 2021-03-02 16:00 +0100
        Re: Deb10 installer can't install grub Charles Curley <charlescurley@charlescurley.com> - 2021-03-02 17:20 +0100
    Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-02 15:10 +0100
      Re: Deb10 installer can't install grub The Wanderer <wanderer@fastmail.fm> - 2021-03-02 15:20 +0100
        Re: Deb10 installer can't install grub The Wanderer <wanderer@fastmail.fm> - 2021-03-02 15:30 +0100
          Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-02 15:40 +0100
        Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-02 15:30 +0100
    Re: Deb10 installer can't install grub Felix Miata <mrmazda@earthlink.net> - 2021-03-02 20:10 +0100
      Re: Deb10 installer can't install grub Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-03 17:00 +0100
        Re: Deb10 installer can't install grub Felix Miata <mrmazda@earthlink.net> - 2021-03-03 23:20 +0100
          Re: Deb10 installer can't install grub Dan Ritter <dsr@randomstring.org> - 2021-03-03 23:50 +0100
            Re: Deb10 installer can't install grub <tomas@tuxteam.de> - 2021-03-04 10:10 +0100
              Re: Deb10 installer can't install grub Greg Wooledge <greg@wooledge.org> - 2021-03-04 14:20 +0100
                Re: Deb10 installer can't install grub <tomas@tuxteam.de> - 2021-03-04 14:30 +0100
                Re: Deb10 installer can't install grub Anssi Saari <as@sci.fi> - 2021-03-05 10:30 +0100
                Re: Deb10 installer can't install grub Darac Marjal <mailinglist@darac.org.uk> - 2021-03-05 11:10 +0100
                Re: Deb10 installer can't install grub Andy Smith <andy@strugglers.net> - 2021-03-05 13:00 +0100
          Re: Deb10 installer can't install grub <tomas@tuxteam.de> - 2021-03-04 10:10 +0100
          Re: Deb10 installer can't install grub Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-05 14:50 +0100
  Re: Deb10 installer can't install grub "Andrew M.A. Cater" <amacater@einval.com> - 2021-03-02 22:00 +0100
  Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-03 10:00 +0100
    SOLVED - Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-03 12:30 +0100
      Re: SOLVED - Re: Deb10 installer can't install grub Marc Auslander <marcausl@gmail.com> - 2021-03-03 16:50 +0100
        Re: SOLVED - Re: Deb10 installer can't install grub Dave Sherohman <dave@sherohman.org> - 2021-03-07 14:10 +0100
          Re: SOLVED - Re: Deb10 installer can't install grub Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-03-07 15:10 +0100
    Re: Deb10 installer can't install grub Anssi Saari <as@sci.fi> - 2021-03-04 10:10 +0100

csiph-web