On Mon, 16 Sep 2019 13:05:23 +0100, Mick wrote:

> > > That's how I do it on non-EFI systems, on UEFI machines, I always
> > > make /boot a FAT partition and use it as the ESP too.  
> > 
> > I'll try that. Thanks Neil.  
> 
> Hmm ... I think we're saying the same thing, but I may have lost the
> thread:
> 
> On non-UEFI systems I use an MBR partition table, create a partition
> and set it as Linux type (82), format it with ext2 and mount it under
> the /boot mountpoint.  Then drop my kernels in there and install the
> boot manager files (GRUB).  

I use a GPT table even on non-EFI systems, because it is inherently more
robust than a DOS partition table, thanks to the backup copy of the table
stored on the disk. That in turn requires the protective MBR layer.
 
> On UEFI systems I create an ESP partition type, format it with a VFAT 
> filesystem, then mount it under the /boot mountpoint.  Then drop my
> kernels in there (I use the efi kernel stub to boot directly these
> kernels, rather than a boot manager like GRUB).

Same here for the first part, but I do use a boot manager because it
makes it easier to, well, manage the boot. I use the systemd boot
manager, I previously used it in its standalone incarnation, but I can't
remember the name right now. This is a simple boot manager, a 2 line
default config file and another 3 lines for each kernel (fewer if you
don't use an initramfs). All it does is manage the kernels, it is not a
full-blown bootloader like GRUB.


-- 
Neil Bothwick

Life is a sexually transmitted disease and the mortality rate is 100%.

Attachment: pgp_L7JTPjLBr.pgp
Description: OpenPGP digital signature

Reply via email to