Есть ли программное обеспечение для Debian, чтобы исправить мой GRUB?

Есть ли программное обеспечение для Debian, чтобы исправить мой GRUB?

Иногда, когда я загружаю свой ПК, я обнаруживаю, что после экрана с логотипом _мигает (подчеркивание), и машина не загружается. После этого мне приходится отключать ее от сети и перезагружать, и тогда она работает нормально. Так что, пожалуйста, скажите мне, что случилось с моим ПК? Мои характеристики

Debian 7, 512 MB RAM 3 GHZ PENTIUM D PROCESSOR 256 MB GRAPHICS

решение1

Это не имеет никакого отношения к Debian, проблема, с которой вы столкнулись, возникает задолго до запуска операционной системы. Странно, что это происходит только иногда.

Одна из возможностей заключается в том, что у вас неисправный жесткий диск. Проверьте вывод

sudo smartctl -a /dev/sda

Вы должны увидеть такую ​​строку:

SMART overall-health self-assessment test result: PASSED

Если ваш GRUB не установлен на /dev/sda, замените /dev/sdaна правильное устройство. Вам может потребоваться установить smartctl:

sudo apt-get install smartmontools

ОБНОВЛЯТЬ

Вывод, который вы опубликовали, содержит следующие строки:

 ATA Error Count: 1652 (device log contains only the most recent five errors)
[...]
 Error 1652 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 2d 51 60 00 00 00:16:03.660 READ DMA
27 00 00 00 00 00 00 00 00:16:03.660 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:16:03.651 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:16:03.644 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:16:03.643 READ NATIVE MAX ADDRESS EXT

Error 1651 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 2d 51 60 00 00 00:16:01.486 READ DMA
27 00 00 00 00 00 00 00 00:16:01.486 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:16:01.477 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:16:01.470 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:16:01.470 READ NATIVE MAX ADDRESS EXT

Error 1650 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 2d 51 60 00 00 00:15:59.544 READ DMA
27 00 00 00 00 00 00 00 00:15:59.544 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:15:59.535 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:15:59.528 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:15:59.528 READ NATIVE MAX ADDRESS EXT

Error 1649 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 2d 51 60 00 00 00:15:57.486 READ DMA
27 00 00 00 00 00 00 00 00:15:57.486 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:15:57.478 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:15:57.478 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:15:57.478 READ NATIVE MAX ADDRESS EXT

Error 1648 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

Итак, похоже, у вас проблемы с чтением с диска. Если это началось недавно, ваш диск, вероятно, был поврежден. Я рекомендую вамбыстро сделайте резервную копию и купите новый диск.

Перед заменой дисков убедитесь, что кабели подключены правильно (кабели жесткого диска) и на всякий случай попробуйте использовать другой кабель.

Связанный контент