Until yesterday on my minipc all works fine,system boot and works. After hibernate I reboot and...the bootloader "refind" disappear and magically appear a grub shell!
So i do..
linux /boot/vmlinuz-4.15
initrd /boot/initramfs-4.15..
boot
And go only to initramfs shell,which said "cannot mount /dev/ on /root/dev.."
I reboot to a ubuntu livecd..
fsck -c /dev/mmcblkp1
fsck -c /dev/mmcblkp2
Give no error.
I make a chroot(of course mounting dev,proc,sys,with bind) reinstall refind with
refind-install --usedefault /dev/mmblkp1
said to me "no problem",but on reboot...still the grub shell!
I return to ubuntu livecd,destroy and recreate efi partition with the same size,then redo chroot,reinstall refind and.. grub-shell.
What happened?Now I try to reinstall grub and make a grub menu.. but if I want to use refind,why grub still live and even with dd=/dev/zero on efi partition cannot remove?
System is: ubuntu is: 17.10 grub is: efi,boot mode is UEFI