grub-installでシステム更新が失敗した後、Arch LinuxでGRUBを更新する:エラー:/boot/efiはEFIパーティションのように見えません。

grub-installでシステム更新が失敗した後、Arch LinuxでGRUBを更新する:エラー:/boot/efiはEFIパーティションのように見えません。

最近アップグレードしたので、Arch Linux今すぐアップデートをお勧めしますGRUB

...
( 9/29) upgrading grub                                                                                              [######################################################################] 100%
:: To use the new features provided in this GRUB update, it is recommended
   to install it to the MBR or UEFI. Due to potential configuration
   incompatibilities, it is advised to run both, installation and generation
   of configuration:
     $ grub-install ...
     $ grub-mkconfig -o /boot/grub/grub.cfg
(10/29) upgrading pango
...

私が見つけた最初の問題は、インストールプロセスと同じ方法で更新できないことです。

[x80486@uplink:~]$ sudo grub-install --bootloader-id="Arch Linux" --efi-directory=/boot/efi --recheck --target=x86_64-efi 
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.

私の推測では/boot/efiインストールされていないのでインストールされていないようで、/etc/fstab次のように実行しました。

[x80486@uplink:~]$ sudo mount /dev/nvme0n1p1 /boot/efi 
mount: /boot/efi: unknown filesystem type 'vfat'.
       dmesg(1) may have more information after failed mount system call.

GRUBにインストールしたことを確認しましたが、インストール中にインストールされ/boot/efiました。/dev/nvme0n1p1

今はどうやって進むのか分からない。私はいくつかの投稿をチェックして基づいていました(ほとんどの場合、回答者とまったく同じ状況にあるかどうかを言うのは難しいです)。カーネルはファイルシステムなどをサポートしていません。

ここから先に進む方法についてのアドバイスはありますか?そうですねdosfstools、それに違いがあれば。前回は破損していたため、リカバリモードに入らなければならなかったので、今これを行うことができればと思います。 ;)...だからこのステップで行うことをお勧めします。


ドライブのファイルシステム/パーティションは次のとおりです。

[x80486@uplink:~]$ sudo fdisk -l 
Disk /dev/nvme0n1: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: Force MP500                             
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ********-5952-****-B0B6-4FE0********

Device             Start       End   Sectors  Size Type
/dev/nvme0n1p1      2048   3327999   3325952  1.6G EFI System
/dev/nvme0n1p2   3328000 133351423 130023424   62G Linux filesystem
/dev/nvme0n1p3 133351424 468862094 335510671  160G Linux filesystem

ベストアンサー1

おすすめ記事