1. 程式人生 > >解決archlinux安裝過程中GUID Partition Table Header signature is wrong的問題

解決archlinux安裝過程中GUID Partition Table Header signature is wrong的問題

我是參考:https://blog.csdn.net/r8l8q8/article/details/76516523這篇文章安裝的(下文中為了方便,我叫它手冊),可惜我開頭就錯了,所以導致瞭如下問題:

[root @archiso /]# grub-install --bootloader-id="archlinux"
Installing for x86_64-efi platform.
GUID Partition Table Header signature is wrong: 123456789 != 520
GUID Partition Table Header signature is wrong: 234567891 != 520
GUID Partition Table Header signature is wrong: 345678912 != 520
GUID Partition Table Header signature is wrong: 456789123 != 520
GUID Partition Table Header signature is wrong: 567891234 != 520
Installation finished,No error reported.
[root @archiso /]#

問題就是出在了下面這兩個地方,

問題1:

我在bios設定裡,選擇usb啟動的時候,沒有選擇帶EFI的那個選項,如果選的話,應該是:

然後進入,參照手冊來就行了,

問題2:

在fdisk分割槽時,一定要記得,先選擇g(建立GPT分割槽表),然後再分割槽。

-------------------------

補充,如果前面兩個問題,沒有解決,按照手冊,輸入以下命令:

grub-install --target=x86_64-efi --efi-directory=/boot/EFI --recheck

還會提示,

[[email protected]
/] # grub-install --target-x86_64-efi --efi-directory=/boot/EFI --recheck Installing for x86_64-efi platform. EFI variables are not supported on this system. EFI variables are not supported on this system. Installation finished.No error reported. [[email protected] /] #

如果問題12都沒有出現,就不會出現這兩個EFI不支援的問題了。