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


Groups > linux.debian.user > #204364

Re: Migrate Stretch to New UEFI Build?

From Patrick Bartek <nemommxiv@gmail.com>
Newsgroups linux.debian.user
Subject Re: Migrate Stretch to New UEFI Build?
Date 2019-01-13 03:10 +0100
Message-ID <xfDnP-KX-5@gated-at.bofh.it> (permalink)
References <xeSoV-5yY-3@gated-at.bofh.it> <xf3X3-4m5-11@gated-at.bofh.it> <xffOy-2Yo-17@gated-at.bofh.it> <xfh3Y-3SO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 11 Jan 2019 21:11:53 -0500
Michael Stone <mstone@debian.org> wrote:

> On Fri, Jan 11, 2019 at 04:56:07PM -0800, Patrick Bartek wrote:
> >On Fri, 11 Jan 2019 07:13:30 -0500 Michael Stone <mstone@debian.org> wrote:  
> >> On Thu, Jan 10, 2019 at 03:53:11PM -0800, Patrick Bartek wrote:  
> >> >Plus, I
> >> >want to have a common-shared  /boot partition for possible future
> >> >upgrades or expansions.  
> >>
> >> This is a really bad idea, and will cause far more trouble than it can
> >> possibly save in the future. You do need one EFI partition per system,
> >> and you can have different directories there for different OSs.
> >>  
> >
> >You misunderstood as I was too general in my post about partitioning.
> >
> >I WILL have a dedicated EFI System Partition (ESP) formatted FAT32
> >marked with the "boot" flag AS WELL AS a dedicated partition with a
> >mount point of /boot  /boot/efi will be the mount point for the ESP. As
> >far as I've read UEFI booting firmware, etc. does not require this.
> >It's a Linux recommendation.  But I could be wrong: UEFI/GPT is new to
> >me.  
> 
> I'm not really sure what you're trying to say here. Yes, the UEFI spec

The reason I wanted a dedicated boot partition was related to possible
future implementations, if needed, of encryption and LVM.  Now, after
more research, I've concluded I have no need for LVM, but encryption
is a possibility in the future.  Need more research.  Only played
with it years ago on an old notebook, but the installer set it all up.  


> doesn't talk about where to put the efi partition in a linux system, 
> because it isn't a linux spec. In theory you can put it anywhere or 
> nowhere (it's not used in day-to-day operation at all). But, if you 
> intend to put grub on it using the normal install process, it needs to 
> be in /boot/efi or the install won't work. (By default it will be in 
> /boot/efi/EFI/debian.) It is possible to manually put it somewhere else, 
> or to use a directory other than debian. I'm not sure why you would 
> decide to mount it elsewhere, as I can't see any benefit to doing so.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^

I didn't.  Wanted dedicated ESP mounted on /boot/efi as recommended.
And wanted /boot to be a separated partition for the reason noted
above, and not a directory in /.

> Putting grub in a directory other than "EFI/debian" does allow for 
> multiple OSs to have their own boot loaders which can be started from 
> the UEFI boot menu. (E.g., you could have EFI/stretch, EFI/centos7, 
> EFI/sid, etc.) In this case I would still keep the efi partition mounted 
> on /boot/efi to reduce long-term confusion. I'd also add new directories 
> instead of trying to keep multiple versions of debian from overwriting 
> the debian directory.

I have been unable to find so far any detailed documentation on how to
manually set up a Linux EFI booting system -- single or mulit-boot.
What goes where. Even what to use. Etc. 

> In addition to the efi partition, where the boot loader goes, you also 
> need a /boot partition where the kernel and the grub menu configuration 
> go. (Actually, in most cases this does not need to be a separate 
> partition, but you do need a /boot directory.) You talk about sharing 
> the /boot partition and this is what I said was a really bad idea: have 
> a separate /boot per install or you'll have multiple installs stomping 
> on each other's boot configs.
> 
> Just about everything above can in theory be worked around or done 
> differently, but you'll be way outside of what you can expect support 
> for at that point.
> 

Thanks for your input, suggestions and recommendations.

B

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


Thread

Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-11 01:00 +0100
  Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-11 08:40 +0100
    Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-12 02:10 +0100
      Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-12 08:30 +0100
  Re: Migrate Stretch to New UEFI Build? Michael Stone <mstone@debian.org> - 2019-01-11 13:20 +0100
    Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-12 02:00 +0100
      Re: Migrate Stretch to New UEFI Build? Michael Stone <mstone@debian.org> - 2019-01-12 03:20 +0100
        Re: Migrate Stretch to New UEFI Build? Glenn Holmer <glenn.holmer@gmail.com> - 2019-01-12 17:30 +0100
        Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-13 03:10 +0100
          Re: Migrate Stretch to New UEFI Build? Stefan Monnier <monnier@iro.umontreal.ca> - 2019-01-13 15:40 +0100
            Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-13 21:20 +0100
              Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-13 23:20 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-14 23:30 +0100
                Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-14 23:50 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-16 00:00 +0100
              Re: Migrate Stretch to New UEFI Build? Stefan Monnier <monnier@iro.umontreal.ca> - 2019-01-14 04:40 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-14 23:40 +0100

csiph-web