正如标题所述,我有一台装有 Windows 10 和 Ubuntu 20.041 的 PC。我已将新的 Windows 操作系统安装到 PC 上的新驱动器中,并删除了旧驱动器。之后,我发现 Bios、Grub 仍然指向旧驱动器。当我想启动 Windows 时,这很不方便。以下是驱动器的信息。新驱动器是南达科他州,星展银行是 Ubuntu 的主页。
Disk /dev/sda: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 850
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: gpt
Disk identifier: F82E1268-F300-4AD2-9BF3-606A39597B64
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 488396799 487346176 232.4G Linux filesystem
Disk /dev/sdc: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 860
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: 0x7c95812f
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 488394751 488392704 232.9G 7 HPFS/NTFS/exFAT
我四处搜索并尝试使用 update-grub,但没有成功。
sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-54-generic
Found initrd image: /boot/initrd.img-5.4.0-54-generic
Found linux image: /boot/vmlinuz-5.4.0-53-generic
Found initrd image: /boot/initrd.img-5.4.0-53-generic
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
done
我发现了类似的问题这里但还没有答案。
您知道如何纠正启动到新 Windows 驱动器吗?谢谢