例如,你可以访问GRUB的官方文档或搜索相关的技术论坛和社区。 通过这些步骤,你应该能够解决 grub-install: error: cannot find efi directory 错误。如果问题仍然存在,可能需要进一步检查系统配置或寻求专业的技术支持。
Arch Linux是一个优秀的linux操作系统。其优点是滚动发行、软件包比较新,并且可以深度可定制。缺点是由于...
install_drive) grub_util_error( _("cannot find a GRUB drive for %s. Check your device.map"), install_device); } } // 把grub的文件都复制进去 grub_install_copy_files(grub_install_source_directory, grubdir, platform); // 创建grub运行时的环境变量文件 char *envfile = grub_util_path_...
install_drive) grub_util_error( _("cannot find a GRUB drive for %s. Check your device.map"), install_device); } } // 把grub的文件都复制进去 grub_install_copy_files(grub_install_source_directory, grubdir, platform); // 创建grub运行时的环境变量文件 char *envfile = grub_util_path_...
求大佬帮忙看下gru..求大佬帮忙看下grub-install --target=x86_64-efi --efi-directory=/boot/EFI --recheck安装的时候我照着教程打的这条命令为什么会报错啊在线等
so I cannot tell how Ubuntu 22.04 bootloader setup is done so that it works on the original system. What puzzles me is that GRUB2 talks about a BIOS Boot Partition while there is /boot/efi mounted on /dev/vda1 which indicates that UEFI is used with an EFI system partition (ESP) /dev...
prompt -s "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg # Check for BIOS elif [[ -f /boot/grub2/grub.cfg ]]; then prompt -s "Find config file on /boot/grub2/grub.cfg ...\n" grub2-mkconfig -o /boot...
grub2-install: warning: cannot open directory `/usr/share/locale': No such file or directory. Installation finished. No error reported. ... RESCUE e220:~ # find /mnt/local -ls 2>/dev/null | grep 'normal\.mod' 47542 116 -rw-r--r-- 1 root root 116504 Mar 18 13:38 /mnt/local...
In case we’re not sure, we can run a couple of commands to find out. To identify the Linux partition, we look for the one that has ext4 format: $ sudo fdisk -l $ sudo blkid After this, we run grub-install. This restores the missing files. Often, this does not restore all the...
prompt -s "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg fi if [[ -f /boot/grub2/grub.cfg ]]; then prompt -s "Find config file on /boot/grub2/grub.cfg ...\n" grub2-mkconfig -o /boot/grub2/grub.cfg...