The boot repair log is here. It shows fixed successfully, but next time when I start the pc,it's still the same.
Run sudo grub-install /dev/sda
, it shows grub-install: error: failed to get canonical path of /cow.
Other info:
- Ubuntu is the only operating system in the computer.
- For command fdisk -l, it shows the following.
sdb1 is the usb to install the ubuntu. It seems that the boot is installed on usb.
Device Start End Sectors Size Type /dev/sda1 2048 487423 485376 237M EFI System /dev/sda2 487424 16488447 16001024 7.6G Linux swap /dev/sda3 16488448 76488703 60000256 28.6G Linux filesystem /dev/sda4 76488704 976771071 900282368 429.3G Linux filesystem /dev/sda5 976771072 976773119 2048 1M BIOS boot Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0053722e Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 7821311 7819264 3.7G c W95 FAT32 (LBA)
Anyone has any ideas? Many thanks.