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


Groups > linux.debian.user > #199769

Re: Can't install Debian without dedicated /boot partition

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Can't install Debian without dedicated /boot partition
Date 2018-09-04 20:10 +0200
Message-ID <wunW1-5Mt-3@gated-at.bofh.it> (permalink)
References <wuhQB-286-3@gated-at.bofh.it> <wui9X-2eP-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 04/09/2018 à 13:50, Dominik George a écrit :
> 
>> I'm trying to install Debian Stretch with full disk encryption
>> (LVM-on-LUKS). But when the installer is trying to install Grub in crashes
>> with the following error message:
>>
>> Unable to install GRUB in dummy
>> Executing 'grub-install dummy' failed.
>>
>> This is a fatal error.
>>
>> […]
> 
> This message does not have to do anything with a /boot partition - where
> your OS is isntalled does not matter for grub-install, grub-install only
> intalls the bootloader part, either to MBR or to the EFI ESP partition.

*cough*
You should get some information about how GRUB is installed and works.
GRUB comes in two main parts :
- the core image in various locations (+ boot image in some boot sector 
for GRUB BIOS)
- the /boot/grub directory

GRUB EFI core image is written in the EFI system partition mounted on 
/boot/efi. /boot/grub is, well, wherever you or the distribution decide. 
It seems that some distributions copy a part or all of /boot/grub in the 
EFI system partition along with the core image, but Debian does not.

To make long story short : the Debian installer does not support an 
encrypted /boot. This requires to add GRUB_ENABLE_CRYPTODISK=y to 
/etc/default/grub, but the installer does not handle this. I am even 
surprised that the installer let you go past the partitioning stage with 
an encrypted /boot.

However you can finish the installation without installing GRUB and 
install it afterwards.

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


Thread

Can't install Debian without dedicated /boot partition Albin <public@inquisitive.se> - 2018-09-04 13:40 +0200
  Re: Can't install Debian without dedicated /boot partition Dominik George <natureshadow@debian.org> - 2018-09-04 14:00 +0200
    Re: Can't install Debian without dedicated /boot partition Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-09-04 20:10 +0200
      Re: Can't install Debian without dedicated /boot partition Dominik George <natureshadow@debian.org> - 2018-09-04 20:30 +0200
        Re: Can't install Debian without dedicated /boot partition Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-09-04 20:50 +0200
          Re: Can't install Debian without dedicated /boot partition Dominik George <natureshadow@debian.org> - 2018-09-04 21:10 +0200
            Re: Can't install Debian without dedicated /boot partition Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-09-04 22:20 +0200
    Re: Can't install Debian without dedicated /boot partition Albin <public@inquisitive.se> - 2018-09-04 20:40 +0200

csiph-web