이중 부팅 컴퓨터에서 갑자기 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입니다