Windows 8.1 未出現在 GRUB2 中

Windows 8.1 未出現在 GRUB2 中

我的筆記型電腦 ASUS N53S 上安裝了 Windows 7(64 位元)和 Ubuntu 13.10(32 位元)。不幸的是,Windows每次啟動都會出現藍屏,但Ubuntu仍繼續運作。

我決定刪除 Windows 7 以安裝 Windows 8.1(64 位元)。這是升級的一個很好的理由:-)

我格式化了 Windows 7 分割區。

我使用 gdisk 從 MBR 更改為 GPT,以便能夠安裝 Windows 8.1。我成功安裝了Windows 8.1。

當我啟動電腦時,出現 GRUB,但沒有出現 Windows 8.1,我只能執行 Ubuntu。

root@Clenet:/home/clenet# parted -l
Model: ATA ST9750420AS (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name                          Flags
 1      17,4kB  1049kB  1031kB               BIOS boot partition           bios_grub
 3      26,8GB  27,2GB  315MB   ntfs         Basic data partition          hidden, diag
 4      27,2GB  27,3GB  105MB   fat32        EFI system partition          boot
 5      27,3GB  27,4GB  134MB                Microsoft reserved partition  msftres
 6      27,4GB  299GB   272GB   ntfs         Basic data partition          msftdata
 7      327GB   721GB   394GB                Microsoft basic data          msftdata
 8      721GB   742GB   20,3GB  ext4         Linux filesystem
 9      742GB   750GB   8487MB  ext4         Linux filesystem

Ubuntu 安裝在分割區號碼 8 上,Windows 8.1 安裝在分割區編號 6 上(在安裝過程中建立了 3,4 和 5)

我嘗試啟動修復並收到一些錯誤訊息。

  • 檢測到 EFI。請檢查選項
  • 檢測到 EFI。請使用 Boot-Repair-Disk-64-bit (www.sourceforge.net/p/boot-repair-cd),其中包含該軟體的 EFI 相容版本。

然後我在隨身碟上嘗試了啟動修復磁碟(64位元),但它無法修復啟動。這是錯誤訊息:

您在 sda8 上安裝了不相容 EFI 的 Linux 版本。它可能與您的電腦不相容。請安裝 EFI 相容系統。例如,Linux-Secure-Remix-64bit 和 Ubuntu-64bit 是 EFI 相容系統

指令 os-prober 沒有給出任何結果:

root@Clenet:/home/clenet# os-prober
root@Clenet:/home/clenet# 

這是 的輸出update-grub

root@Clenet:/home/clenet# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.12.0-031200-generic
Found initrd image: /boot/initrd.img-3.12.0-031200-generic
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.8.0-35-generic
Found initrd image: /boot/initrd.img-3.8.0-35-generic
Found linux image: /boot/vmlinuz-3.12.0-031200-generic
Found initrd image: /boot/initrd.img-3.12.0-031200-generic
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.8.0-35-generic
Found initrd image: /boot/initrd.img-3.8.0-35-generic
Found memtest86+ image: /boot/memtest86+.bin
done
root@Clenet:/home/clenet# 

答案1

您嘗試過從 Ubuntu 更新 grub 嗎?它應該檢測磁碟中的所有作業系統:

sudo update-grub

答案2

您可以嘗試運行啟動修復!我在使用 Windows 7 時遇到了問題,啟動修復解決了我的所有問題,這是一個可以使用 Live CD 安裝的程序,並且具有非常易於使用的 GUI。若要使用引導修復,請先引導至 ubuntu live CD,然後選擇「嘗試 Ubuntu」。然後在終端機中運行這些命令:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
boot-repair

這些命令應新增 ppa、安裝 boot-repair 並執行 boot-repair。然後只需點擊“推薦修復”即可。如果這不起作用,您也可以使用該工具建立啟動資訊摘要,它會將其寫入 Paste.ubuntu.com 位址。如果您遇到任何問題,請將該連結貼到此處,也許該資訊可以幫助我們解決您的問題。

答案3

這是詳細的手動的GRUB 引導程式的常見問題。

答案4

我的問題的解決方案:格式化整個硬碟並在 ubuntu 13.10 下安裝 windows 8.1。這不是一個真正的解決方案,但由於我的備份,它是最好的解決方案,並且在我 24 小時嘗試修復它之後速度更快。

感謝那些試圖幫助我的人。

相關內容