GRUBを修復できるDebianソフトウェアはありますか?

GRUBを修復できるDebianソフトウェアはありますか?

場合によっては、コンピュータを起動すると、ロゴ画面の後に_(アンダースコア)が点滅し、コンピュータが起動しないことがあります。その後、正しく機能するためには、電源からプラグを抜いて再起動する必要がありました。それでは私のコンピュータに何が問題なのか教えてください。私の仕様は

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

ベストアンサー1

これはDebianとは何の関係もありません。あなたが経験している問題は、オペレーティングシステムが起動する前に発生します。奇妙なことに、これは時々起こります。

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ケーブル)、他のケーブルを試してみてください。

おすすめ記事