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


Groups > linux.debian.user > #232268

Re: Deb10 installer can't install grub

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Deb10 installer can't install grub
Date 2021-03-02 16:00 +0100
Message-ID <BOeFb-4Uu-7@gated-at.bofh.it> (permalink)
References <BOck2-3yM-3@gated-at.bofh.it> <BOcN3-3KC-7@gated-at.bofh.it> <BOdg5-4br-1@gated-at.bofh.it> <BOeFb-4Uu-9@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2021-03-02 at 09:50, Dan Ritter wrote:

> The Wanderer wrote: 
>
>> On 2021-03-02 at 07:54, Dan Ritter wrote:
>> 
>>> 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
>>> 
>>> Then you go to the mdadm setup and create MDADM RAID1 devices
>>> out of each pair of boot, root and swap.
>> 
>> Out of interest, how would you modify this for someone who intends to
>> run LVM on top of the RAID-1 being defined here, and wants to define as
>> many of the partitions as possible (but at least /) at the LVM level
>> rather than the mdadm level?
>> 
>> I'm guessing that the answer would be to define the EFI partition here
>> directly, then define one further partition as an appropriate type, set
>> up LVM inside that, and define the further partitions from there.
>> 
>> I'm not positive that that's the correct approach, however, especially
>> given that I suspect that /boot will need to be visible to GRUB and may
>> thus need to be outside the LVM.
> 
> grub can find a root in LVM, but needs /boot to be outside.
> /boot in an mdadm RAID1 is a good idea there.

So, three partitions, then?

1. efi
2. /boot
3. LVM

And define everything else inside the LVM. (In practice, "everything
else" here will be /, /var, /tmp, and possibly swap. /home will be on a
separate RAID array.)

It'll still probably be interesting figuring out what to specify as the
destination for the GRUB install, but if I'm lucky it might Just Work.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

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