小弟最近灌Linux遇到很大的困難,以前灌Unix/Linux都沒遇到這麼
麻煩的情況。筆電的BIOS mode成Legacy BIOS。
磁區原本劃分如下:TYPE:GPT
/dev/sda1 ?(不明保留區) NTFS 400MB
/dev/sda2 EFI System partition 300MB
/dev/sda3 ?(不明保留區)
/dev/sda4 Windows7 NTFS 220GB
/dev/sda5 Fedora 20:/ ext3 100GB
/dev/sda7 Fedora 20:/DATA ext3 120GB
/dev/sda6 Push Buttom Reset 26GB
現在最大的問題是Linux重灌完(確定安裝成功),就是不出現GRUB選單,
一直進到Windows。我用LiveDVD進入光碟系統,mount /dev/sda5 /mnt,
然後執行:
grub2-install --boot-directory=/mnt/boot /dev/sda
或是:
grub2-install --boot-directory=/mnt/boot --efi-direcotory=/mnt/boot/efi \
--force /dev/sda
或是:
grub2-install --boot-directory=/mnt/boot --efi-direcotory=/mnt/boot/efi \
/dev/sda2
不管試什麼排列組合,grub2-install後沒有Error訊息,但是重開機後就是不顯示
GRUB選單而直接進到Windows。
因為小弟對最近幾年的Partition技術演進沒有概念,不懂EFI partition是什麼,
也不知道GPT跟MBR之類的關係。用十年前的觀念來處理看來搞不定了......
(抱歉我真的很久很久沒用Linux了,最近因為工作需要必須灌進工作筆電中)
想請問一下各位大師,如何才能把GRUB裝入開機區呢?
有哪些文章可以參考?
謝謝。
--
門派:蜀山派 稱號:青石
興趣:下棋
跟玉書師弟下久真的很無趣,
下山來尋找更多高手。
--
麻煩的情況。筆電的BIOS mode成Legacy BIOS。
磁區原本劃分如下:TYPE:GPT
/dev/sda1 ?(不明保留區) NTFS 400MB
/dev/sda2 EFI System partition 300MB
/dev/sda3 ?(不明保留區)
/dev/sda4 Windows7 NTFS 220GB
/dev/sda5 Fedora 20:/ ext3 100GB
/dev/sda7 Fedora 20:/DATA ext3 120GB
/dev/sda6 Push Buttom Reset 26GB
現在最大的問題是Linux重灌完(確定安裝成功),就是不出現GRUB選單,
一直進到Windows。我用LiveDVD進入光碟系統,mount /dev/sda5 /mnt,
然後執行:
grub2-install --boot-directory=/mnt/boot /dev/sda
或是:
grub2-install --boot-directory=/mnt/boot --efi-direcotory=/mnt/boot/efi \
--force /dev/sda
或是:
grub2-install --boot-directory=/mnt/boot --efi-direcotory=/mnt/boot/efi \
/dev/sda2
不管試什麼排列組合,grub2-install後沒有Error訊息,但是重開機後就是不顯示
GRUB選單而直接進到Windows。
因為小弟對最近幾年的Partition技術演進沒有概念,不懂EFI partition是什麼,
也不知道GPT跟MBR之類的關係。用十年前的觀念來處理看來搞不定了......
(抱歉我真的很久很久沒用Linux了,最近因為工作需要必須灌進工作筆電中)
想請問一下各位大師,如何才能把GRUB裝入開機區呢?
有哪些文章可以參考?
謝謝。
--
門派:蜀山派 稱號:青石
興趣:下棋
跟玉書師弟下久真的很無趣,
下山來尋找更多高手。
--
All Comments