From Aqua Parrot, 1 Week ago, written in Plain Text.
  1. kubuntu@kubuntu:~$ sudo chroot /mnt
  2. root@kubuntu:/# sudo grub-install --efi-directory=/mnt/boot/efi --boot-directory=/mnt/boot --target=/mnt/x86_64-efi /dev/nvme0n1
  3. sudo: unable to resolve host kubuntu: Resource temporarily unavailable
  4. grub-install: error: /usr/lib/grub/mnt/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
  5. root@kubuntu:/# sudo grub-install --efi-directory=/boot/efi --boot-directory=/boot --target=x86_64-efi
  6. sudo: unable to resolve host kubuntu: Resource temporarily unavailable
  7. Installing for x86_64-efi platform.
  8. grub-install: error: cannot find a device for /boot/efi (is /dev mounted?).
  9. root@kubuntu:/# sudo grub-install --efi-directory=/boot/efi --boot-directory=/boot --target=x86_64-efi
  10. sudo: unable to resolve host kubuntu: Resource temporarily unavailable
  11. Installing for x86_64-efi platform.
  12. grub-install: error: cannot find a device for /boot/efi (is /dev mounted?).
  13. root@kubuntu:/# ls
  14. bin   cdrom  etc   initrd.img      lib    lost+found  mnt  proc  run   snap  sys  usr  vmlinuz
  15. boot  dev    home  initrd.img.old  lib64  media       opt  root  sbin  srv   tmp  var  vmlinuz.old
  16. root@kubuntu:/# ls /boot
  17. config-4.18.0-15-generic  initrd.img-4.18.0-15-generic  memtest86+_multiboot.bin      vmlinuz-5.0.0-23-generic
  18. config-5.0.0-23-generic   initrd.img-5.0.0-23-generic   System.map-4.18.0-15-generic
  19. efi                       memtest86+.bin                System.map-5.0.0-23-generic
  20. grub                      memtest86+.elf                vmlinuz-4.18.0-15-generic
  21. root@kubuntu:/# ls /boot/efi
  22. root@kubuntu:/#
  23.  
captcha