Автор: funk2256, 1 Год назад, написана на языке Plain Text.
Встраивание на сайт
  1. ❯ sudo grub-mkconfig -o /boot/grub/grub.cfg
  2. Генерируется файл настройки grub …
  3. Найдена тема: /boot/grub/themes/poly-dark/theme.txt
  4. Найден образ linux: /boot/vmlinuz-6.1.1-gentoo
  5. Найден образ linux: /boot/vmlinuz-6.1.0-gentoo
  6. Найден образ linux: /boot/vmlinuz-6.0.12-gentoo
  7. Найден образ linux: /boot/vmlinuz-6.0.11-gentoo
  8. Найден образ linux: /boot/vmlinuz-6.0.10-gentoo
  9. Найден образ linux: /boot/vmlinuz-6.0.9-gentoo
  10. Найден образ linux: /boot/vmlinuz-6.0.9-gentoo.old
  11. Найден образ linux: /boot/vmlinuz-6.0.8-gentoo
  12. Найден образ linux: /boot/vmlinuz-6.0.8-gentoo.old
  13. Найден образ linux: /boot/vmlinuz-6.0.7-gentoo
  14. Предупреждение: os-prober will be executed to detect other bootable partitions.
  15. Its output will be used to detect bootable binaries on them and create new boot entries.
  16. Найден Windows 10 на /dev/sda1
  17. Найден Windows Vista на /dev/sdc1
  18. /etc/grub.d/40_custom: строка 1: menuentry: команда не найдена
  19. insmod: ERROR: could not load module ntfs: No such file or directory
  20. insmod: ERROR: could not load module ntldr: No such file or directory
  21. insmod: ERROR: could not load module part_msdos: No such file or directory
  22. insmod: ERROR: could not load module search_fs_uuid: No such file or directory
  23. /etc/grub.d/40_custom: строка 6: search: команда не найдена
  24. /etc/grub.d/40_custom: строка 7: ntldr: команда не найдена
  25. /etc/grub.d/40_custom: строка 8: синтаксическая ошибка рядом с неожиданным маркером «}»
  26. /etc/grub.d/40_custom: строка 8: `}'
  27.  
  28. ❯ sudo cat /etc/grub.d/40_custom
  29. menuentry "Windows 10" {
  30.      insmod ntfs
  31.      insmod ntldr
  32.      insmod part_msdos
  33.      insmod search_fs_uuid
  34.      search --no-floppy --fs-uuid --set=root 5C6EB45610AB77C0
  35.      ntldr /bootmgr
  36. }
  37.