You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

双启动菜单消失且Ubuntu启动驱动器无法识别问题求助

双启动菜单消失且Ubuntu启动驱动器无法识别问题求助

Hey Nathan, sorry to hear you're stuck with this frustrating dual-boot issue—losing access to your Ubuntu setup out of nowhere is such a headache! Let’s walk through actionable steps to troubleshoot, recover your boot menu, and safeguard your Ubuntu data.

第一步:确认Ubuntu分区是否还存在

First, let’s check if your Ubuntu partitions are still intact (the "boot drive doesn’t exist" error might just mean the boot loader can’t find them, not that they’re deleted):

  • Open Disk Management in Windows (right-click the Start menu and select it)
  • Scan through the list of drives—look for partitions with a Linux filesystem (like ext4, they’ll show up as "Unallocated" or "RAW" in Windows, but their size should match your Ubuntu installation)
  • If you find these partitions, great news: your data is safe, and we just need to fix the boot loader. If not, we’ll move to data recovery first.

第二步:修复GRUB引导(最常见的解决方案)

GRUB is the boot loader that manages dual-boot options, and it’s likely got corrupted or was overwritten by Windows. Here’s how to fix it:

  1. Create an Ubuntu 22.04 installation USB (use another computer with Rufus or the official Ubuntu USB creator tool)
  2. Boot your computer from the USB, select "Try Ubuntu" to enter the live environment
  3. Open the terminal and run these commands:
    • First, identify your Ubuntu root partition: sudo lsblk (look for the partition with ext4 filesystem, usually labeled /dev/sdaX or /dev/nvme0n1pX)
    • Create a mount point: sudo mkdir /mnt/ubuntu
    • Mount the root partition: sudo mount /dev/XXX /mnt/ubuntu (replace XXX with your actual partition number, e.g., /dev/sda3)
    • If you have a separate EFI partition (common on UEFI systems), mount it too: sudo mount /dev/YYY /mnt/ubuntu/boot/efi (YYY is the FAT32 partition, ~500MB in size)
    • Reinstall GRUB to the EFI partition: sudo grub-install --boot-directory=/mnt/ubuntu/boot --efi-directory=/mnt/ubuntu/boot/efi --target=x86_64-efi /dev/sda (use /dev/nvme0n1 instead of /dev/sda if you have an NVMe drive—don’t add a partition number here)
    • Update GRUB to detect both OSes: sudo update-grub
  4. Reboot your computer—you should see the dual-boot menu again!

第三步:如果找不到Ubuntu分区,尝试数据恢复

If Disk Management doesn’t show your Ubuntu partitions, they might have been accidentally marked as deleted. Use testdisk (a powerful data recovery tool) in the Ubuntu live environment:

  • Open terminal and install testdisk: sudo apt update && sudo apt install testdisk
  • Run it: sudo testdisk
  • Follow the on-screen prompts: select your disk, choose "Intel/PC partition", then "Analyze" and "Quick Search" to recover lost partitions. Once found, mark them as "Primary" or "Logical" and write the new partition table.

第四步:重新安装Ubuntu且不丢失数据

If all else fails and you need to reinstall Ubuntu but keep your files:

  1. Boot from the Ubuntu installation USB and select "Install Ubuntu"
  2. When you reach the partition screen, choose Something else (manual partitioning)
  3. Locate your existing Ubuntu root partition, select it, set the "Mount point" to /, and do NOT check the "Format" box
  4. If you have a separate /home partition, select it, set the mount point to /home, also don’t format it
  5. Proceed with the installation—this will overwrite the system files but leave your personal data, documents, and settings intact

As for the CUDA installation connection: it’s possible a subsequent driver update or Windows update messed with the EFI boot entries, but the steps above should resolve the issue regardless.

备注:内容来源于stack exchange,提问作者Nathan Bernardo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:28:18