- Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
It somehow still detects the removed distro on the now non-existent partition. I am not sure I understand why, that never happened on Ubuntu. Here is what it says:
Found Gentoo Base System release 2.1 on /dev/sda9
/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda9. Check your device.map.
/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda9. Check your device.map.
/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda9. Check your device.map.
/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda9. Check your device.map.
So, I decided I should be able to fix it by rerunning grub-install. However, there is no grub-install command on my system, even though it is clearly documented on the Gentoo Wiki. I finally found command grub2-install, which is confusing. I ran it successfully, then reran grub-mkconfig. But, it still picks up the removed distro on the deleted partition.
I am confident that I could fix this in Ubuntu, but I am trying to use Sabayon instead of Ubuntu. How do I fix this in Sabayon?
Tim