Archlinux grub

Prepare

  • To generate grub.cfg automatically, remember to install ‘os-prober’.

$ sudo pacman -Syu os-prober

Configure

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

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

猜你喜欢

转载自blog.csdn.net/hongshuteng/article/details/79961462
今日推荐