GRUB를 복구할 수 있는 데비안 소프트웨어가 있나요?

GRUB를 복구할 수 있는 데비안 소프트웨어가 있나요?

가끔 컴퓨터를 시작할 때 로고 화면 이후에 _(밑줄)이 깜박이고 컴퓨터가 부팅되지 않는 경우가 있습니다. 그런 다음 제대로 작동하려면 전원에서 플러그를 뽑고 다시 시작해야 했습니다. 그럼 내 컴퓨터에 무슨 문제가 있는지 말해주세요. 내 사양은

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

답변1

이것은 데비안과는 아무런 관련이 없습니다. 여러분이 겪고 있는 문제는 운영 체제가 부팅되기 오래 전에 발생합니다. 이상하게도 이런 일은 가끔 발생합니다.

한 가지 가능성은 하드 드라이브에 오류가 발생했다는 것입니다. 출력을 확인하세요

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.

따라서 드라이브에서 데이터를 읽는 데 문제가 있는 것 같습니다. 이 문제가 최근에 시작된 경우 드라이브가 손상되었을 수 있습니다. 나는 당신을 추천합니다신속하게 백업하고 새 드라이브 구입.

드라이브를 교체하기 전에 케이블 연결이 올바른지 확인하고(HDD 케이블) 만일의 경우에 대비해 다른 케이블을 사용해 보십시오.

관련 정보