Reputation: 652
I installed git
after setting up Ubuntu 18.04.
I run git fetch
with my old project, I got Error: cannot open .git/FETCH_HEAD: Read-only file system
. Before that, everything was ok
Thanks for any helps
Upvotes: 0
Views: 1660
Reputation: 652
Error comes from my partition. I install dual-boot Window 10 and Ubuntu, turning on fast startup on Window 10 make partition can't unmount, and when I switch to Ubuntu, OS make partition mount read-only.
I try to run command
ntfsfix /dev/sda5
umount /dev/sda5
mount /dev/sda5
and it worked. Moreover, I turned of fast startup on Window 10
Upvotes: 1