原文鏈接:https://bbs.deepin.org/forum.php?mod=viewthread&tid=133725
本文僅摘錄一下對我有用的步驟。
要解決的問題是,安裝完Deepin後,開機後顯示下面的內容:
GNU GRUB version 2.02
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub >_
我的電腦是UFEI模式+GPT磁盤。.
正常安裝Deepin,安裝之後Deepin會自己出現在UEFI啓動序列中,不用修改。
第一步是判斷Deepin安裝在哪個分區中。
開機進入BASH-like的grub界面之後,用 “ls” 命令查看有哪些分區,再用 “ls (hd0,1)/” 看分區根目錄文件,判斷分區內容,比如deepin單分區時 “ls (hd1,3)/” 出現 deepin 分區文件。括號裏面是(硬盤號,分區號),硬盤號從0開始,分區號從1開始。
第二步是修改grub.cfg
進入Windows中,打開DiskGenius 5專業版,如果EFI分區中已經有了/boot/grub和/EFI/grub2。則可以跳過下面的步驟,否則,從原鏈接中下載win_grub2_deepin_2017.10.21.rar,解壓出來,再通過DiskGenius複製到EFI分區之中。
然後修改/EFI/boot/grub.cfg,如下圖。
如果最開始的grub.cfg裏就沒有menuentry那麼也沒有必要手動加上,我的grub.cfg是這樣的: