You are not logged in.
Pages: 1
Hello!
I have installed so far LVM on LUKS on /dev/sda1 (MBR), and a unencrypted ext2 boot partition (400MiB) on my USB flash drive at /dev/sdc1. I have mounted the flash drive to /mnt/boot as the following "mount /dev/sdc1 /mnt/boot". But when trying to install GRUB to the USB it shows this:
# grub-install --target=i386-pc --recheck --boot-directory=/mnt/boot /dev/sda1
Installing for i386-pc platform.
WARNING: Failed to connect to lvmetad. Falling back to device scannning.
WARNING: Failed to connect to lvmetad. Falling back to device scannning.
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set 'GRUB_ENABLE_CRYPTODISK=y' in file '/etc/default/grub'.Any ideas? Thank you! ![]()
Last edited by daankata (2017-06-25 19:32:36)
Offline
Hi,
if you want grub on the USB drive, you should install grub on the USB drive /dev/sdc (not on a partition). You tried to install it to /dev/sda1 ...
More info here: https://wiki.archlinux.org/index.php/GR … on_methods
Offline
Pages: 1