sudo update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: failed to get canonical path of .
/usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map.
So I first cat device.map, then run grub-probe successfully, but fail at update-grub.
/boot/grub$ sudo cat device.map by-id/ata- HITACHI_ HTS723232A7A364 _E3834563JK71MN
[sudo] password for u910a6:
(hd0) /dev/disk/
sudo grub-probe -d /dev/disk/ by-id/ata- HITACHI_ HTS723232A7A364 _E3834563JK71MN -t drive
(hd0)
sudo update-grub grub-probe: error: failed to get canonical path of . grub-probe: error: cannot find a GRUB drive for . Check your device.map.
Generating grub.cfg ...
/usr/sbin/
/usr/sbin/
So I first cat device.map, then run grub-probe successfully, but fail at update-grub.