Linux MintはWindowsを見ることができますが、update-grubは更新されません。 - 壊れている可能性があります。

Linux MintはWindowsを見ることができますが、update-grubは更新されません。 - 壊れている可能性があります。

デュアルブートコンピュータから突然Windows 10で起動できなくなり、grubローダがロードされなくなりました。 Linux Mint 19.3 Triciaを再インストールしました。さて、sda1のgrubにWindowsを追加しようとしています。

os-proberを実行すると、次のメッセージが表示されます。これはWindowsが表示されるという意味だと思います。

$ sudo os-prober
/dev/sda1:Windows 10:Windows:chain

しかし、grubを更新しようとすると、sdaを見ることができないというメッセージが表示されます。 update-grubは永久に実行されます。

fdiskはパーティションを指します物理セクタ境界では起動しません。

Device     Boot     Start        End    Sectors   Size Id Type
/dev/sda1  *           63  315546477  315546415 150.5G  7 HPFS/NTFS/exFAT
/dev/sda2       315547648  317315071    1767424   863M 27 Hidden NTFS WinRE
/dev/sda3       318558206 1465147391 1146589186 546.8G  5 Extended
/dev/sda5       318558208  709181439  390623232 186.3G 83 Linux
/dev/sda6       709183488  719054847    9871360   4.7G 82 Linux swap / Solaris
/dev/sda7       719056896  859484159  140427264    67G 83 Linux
/dev/sda8       859486208 1465147391  605661184 288.8G  7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.

ntfsfixを実行してみました。

$ sudo ntfsfix /dev/sda1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... FAILED
Error: Failed to fix the alternate boot sector

どんな助けでも大変感謝します。

update-grubの機能は次のとおりです。

$sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Generating grub configuration file ...
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
Found theme: /boot/grub/themes/linuxmint/theme.txt
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.

これはfdiskです

ベストアンサー1

おすすめ記事