I'm using ubuntu 16.04LTS on intel Core i3-6006U, 2.0GHz Asus pc.When I boot the pc I realized that there are some hard drive problems and it's not able to boot on ubuntu. I tried the answer mentioned in this question: fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY and I run this command:
fsck -fy /dev/sda2
After that I rebooted the pc and it's able to boot on ubuntu successfully.However when I run :
apt-get update
I got many warnings and errors mentioned that the file system is read-only
.
I tried different propositions mentioned in this question: How to fix “sudo: unable to open … Read-only file system”? such as:
sudo fsck -Af -M
mount -o remount /
it returns :mount: cannot remount /dev/sda2 read-write, is write-protected
and the other solutions mentioned in the question but no vain.How can I fix this? Should I reinstall ubuntu or does this due to a hardware problem?
sudo apt install smartmontools
then asudo smartctl --all /dev/sda
What's the output? Please [edit] your answer and put the output there. – Fabby Apr 22 '18 at 22:39smartmontools
. This page may also be interesting... https://help.ubuntu.com/community/DataRecovery – dpb Apr 23 '18 at 00:54smartmontools
to check SMART status. Just start theDisks
application, select the disk, selectSMART Data & Tests
. – heynnema Apr 23 '18 at 01:06