os-prober doesn't seem able to find my linux system, an LVM encrypted with LUKS
by lWanderingl from LinuxQuestions.org on (#6KQEY)
I have a double system on my SSD, Windows and Linux.
This also isn't the first time I try to install a LUKS LVM debian system, previously grub could at least create a boot menu entry for Windows but Debian didn't work proberly so I have re-installed it once again, but this time os-prober cannot detect neither system.
The first issue that I've encountered with this latest instance of my system is that in the installer environment grub couldn't be installed due to some error, so I've just ignored it and after completing the installation I've entered chroot from a live system to install grub manually.
This is the command I've used:
#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
Then:
#sudo update-grub
Which returned:
#Generating grub configuration file ...
#Found background image: .background_cache.png
#Warning: os-prober will be executed to detect other bootable partitions.
#Its output will be used to detect bootable binaries on them and create new boot entries.
#grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
#Adding boot menu entry for UEFI Firmware Settings ...
#done
/dev/sda1 is most probably the USB drive that hosts my live system but why isn't debian detected even if it's UEFI (it contains the efivars directory)? I don't care about fixing teh boot entry for windows right now but I really need debian to work.
Even unmounting and unplugging teh live USB doesn't fix anything, the related error just doens't appear.
This also isn't the first time I try to install a LUKS LVM debian system, previously grub could at least create a boot menu entry for Windows but Debian didn't work proberly so I have re-installed it once again, but this time os-prober cannot detect neither system.
The first issue that I've encountered with this latest instance of my system is that in the installer environment grub couldn't be installed due to some error, so I've just ignored it and after completing the installation I've entered chroot from a live system to install grub manually.
This is the command I've used:
#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
Then:
#sudo update-grub
Which returned:
#Generating grub configuration file ...
#Found background image: .background_cache.png
#Warning: os-prober will be executed to detect other bootable partitions.
#Its output will be used to detect bootable binaries on them and create new boot entries.
#grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
#Adding boot menu entry for UEFI Firmware Settings ...
#done
/dev/sda1 is most probably the USB drive that hosts my live system but why isn't debian detected even if it's UEFI (it contains the efivars directory)? I don't care about fixing teh boot entry for windows right now but I really need debian to work.
Even unmounting and unplugging teh live USB doesn't fix anything, the related error just doens't appear.