Grub 无法检测到 Windows 7

Grub 无法检测到 Windows 7

Grub 无法检测 Windows 7。

输出自blkid

/dev/sda1: LABEL="ESP" UUID="AA51-CBCB" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="87996d8d-4fbf-4473-a1fd-7a8bf2ca9136"
/dev/sda2: LABEL="OS" UUID="94D1-4B24" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="080f71e9-2853-472d-b5dc-ba27b91a0550"
/dev/sda3: LABEL="UBUNTU" UUID="d2352bba-27b2-40f6-95b5-14512559647a" TYPE="ext4" PARTUUID="503dca3f-6f3c-4a17-8ff4-3be7621200c5"
/dev/sda4: UUID="6e046a1b-f5c9-4100-b8a2-b8ec762d68e4" TYPE="swap" PARTUUID="0e281160-0062-4ad8-9ef0-5e344a66b71b"
/dev/sda5: UUID="0603E9765B475CB5" TYPE="ntfs" PARTUUID="ac23315c-1b2c-44fb-9946-e72a1a197549"

我尝试添加自定义条目:

menuentry "Windows 7" {
insmod ntfs
set root='(hd0,5)'
search --no-floppy --fs-uuid --set a3f1ea41fc67a3f1
chainloader +1
}

但是当我运行它时,它说a3f1ea41fc69a3f1没有找到并且hd0,5没有找到。

我对 Ubuntu 还不太熟悉,所以如果能提供任何帮助我都会非常感激!

相关内容