omenra@omenraXU:~$ sudo update-grub Создание конфигурационного файла grub... Найден образ linux: /boot/vmlinuz-4.4.0-34-generic Найден образ initrd: /boot/initrd.img-4.4.0-34-generic Найден образ linux: /boot/vmlinuz-4.4.0-31-generic Найден образ initrd: /boot/initrd.img-4.4.0-31-generic Найден образ linux: /boot/vmlinuz-4.4.0-28-generic Найден образ initrd: /boot/initrd.img-4.4.0-28-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует завершено omenra@omenraXU:~$ 

disk structure:

 omenra@omenraXU:~$ sudo fdisk -l ... {пропущены RAM-диски} ... Диск /dev/sda: 372,6 GiB, 400088457216 байтов, 781422768 секторов Единицы измерения: секторов из 1 * 512 = 512 байтов Размер сектора (логический/физический): 512 байт / 512 байт I/O size (minimum/optimal): 512 bytes / 512 bytes Тип метки диска: dos Идентификатор диска: 0x088af50d Устр-во Загрузочный Start Конец Секторы Size Id Тип /dev/sda1 2048 209733631 209731584 100G 5 Расширенный /dev/sda2 209733632 781416447 571682816 272,6G 7 HPFS/NTFS/exFAT /dev/sda5 4096 209733631 209729536 100G 7 HPFS/NTFS/exFAT Записи таблицы разделов не соответствуют порядку разделов на диске. Диск /dev/sdb: 1,8 TiB, 2000398934016 байтов, 3907029168 секторов Единицы измерения: секторов из 1 * 512 = 512 байтов Размер сектора (логический/физический): 512 байт / 512 байт I/O size (minimum/optimal): 512 bytes / 512 bytes Тип метки диска: dos Идентификатор диска: 0x803416c9 Устр-во Загрузочный Start Конец Секторы Size Id Тип /dev/sdb1 4094 2852132863 2852128770 1,3T 5 Расширенный /dev/sdb2 2852132864 3907028991 1054896128 503G 7 HPFS/NTFS/exFAT /dev/sdb5 4200448 633346932 629146485 300G 83 Linux /dev/sdb6 633350144 2852132863 2218782720 1T 83 Linux /dev/sdb7 6144 4200447 4194304 2G 82 Linux своп / Solaris Записи таблицы разделов не соответствуют порядку разделов на диске. omenra@omenraXU:~$ 

On sda there was a Windows, but after the start of problems with GRUB it demolished. Install GRUB as described in help.ubuntu / wiki

following advice from the comment, deleted the /var/lib/os-prober/mount it. When updating with update-grub, the process Further Found memtest86+ image: /boot/memtest86+.bin not running.

an hour later decided to interrupt the execution and received the following:

 omenra@omenraXU:~$ sudo update-grub Создание конфигурационного файла grub... Найден образ linux: /boot/vmlinuz-4.4.0-34-generic Найден образ initrd: /boot/initrd.img-4.4.0-34-generic Найден образ linux: /boot/vmlinuz-4.4.0-31-generic Найден образ initrd: /boot/initrd.img-4.4.0-31-generic Найден образ linux: /boot/vmlinuz-4.4.0-28-generic Найден образ initrd: /boot/initrd.img-4.4.0-28-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin 

an hour passed, interrupted with Ctrl + C

 ^Cgrep: /tmp/os-prober.9qhmxg/raided-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/swaps-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/mounted-map: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует grep: /tmp/os-prober.9qhmxg/raided-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/swaps-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/mounted-map: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует grep: /tmp/os-prober.9qhmxg/raided-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/swaps-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/mounted-map: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует grep: /tmp/os-prober.9qhmxg/raided-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/swaps-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/mounted-map: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/os-prober/mount»: Файл существует grep: /tmp/os-prober.9qhmxg/raided-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/swaps-map: Нет такого файла или каталога grep: /tmp/os-prober.9qhmxg/mounted-map: Нет такого файла или каталога omenra@omenraXU:~$ 

Closed due to the fact that off-topic participants aleksandr barakin , 0xdb , LFC , Enikeyschik , andreymal February 6 at 10:03 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, 0xdb, LFC, Enikeyschik, andreymal
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • The config itself is updated? It seems to me that the os-prober scripts os-prober existence check /var/lib/os-prober/mount and this does not affect the work. For some error, this directory remained to exist, empty, and you can simply delete it. - Minor
  • @ Small, try to delete. - Sergey Ivanovich
  • detached /var/lib/os-prober/‌​mount with the umount command, started update-grub and hung on the line: Found memtest86+ image: /boot/memtest86+.bin - Sergey Ivanovich
  • the messages issued by the programs should be given in the original language - aleksandr barakin 4:08 pm
  • Also faced with this problem. So far, I could only understand what hangs on the definition of the Windows loader. If I interrupt by Ctrl + C, then the final config is obtained without loading Windows. Maybe this will lead someone to think about what's going wrong. - Victor Verbitsky

1 answer 1

The issue was resolved in 2016 by completely reinstalling the distribution after repairing the motherboard. Iron was old. After inspection, swollen capacitors were identified and replaced.