I’ve recently switched to Linux (Tumbleweed) and the other day i was setting up Calibre. I already have a library on my HDD so i proceeded to simply import the existing one. No problems at all, i’ve even added a couple ebooks. Turned off the pc and went to sleep. The next day i wanted to read a book, opened up Calibre and an error appeared: filesystem on my HDD is read only. What?? Since when? No idea what happened. Any suggestions?

  • some_random_nick@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    8 days ago

    If you still have Windows i.e. you dual boot, then Windows might have taken control over the HDD. A similar thing happened to me. If that is your case, you need to go back into Winodws, open the command prompt and type in shutdown /s /f /t 0. This is caused by having fastboot enabled which makes Windows never fully shutdown when powered off.

    • frengo@lemm.eeOP
      link
      fedilink
      Italiano
      arrow-up
      2
      ·
      7 days ago

      After a couple of hours trying random commands in the console i’ve found ntfsfix and it worked. Apprently there were Windows files in the cache of the hdd

  • IrritableOcelot@beehaw.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 days ago

    By default, when your HDD cannot be mounted as writeable, it mounts as read-only instead. If you used Windows before, the Windows hibernate and fast boot functions can basically “reserve” the partition, causing it to only be writeable as read only. If you have windows still installed, is it possible that it booted into Windows to do an update or you’ve booted into it since? If so, I’d recommend disabling fast boot in Windows.

    If there’s no Windows still installed on your system, I would reccomend changing the mount options on the hdd to: nosuid,nodev,nofail,x-gvfs-show,rw,exec. You can change these directly by editing /etc/fstab, but I would recommend against editing the fstab table manually – if you edit the wrong entry, it can prevent your system from booting. I’ve not had good luck with the KDE partition manager, but if you install gparted and right click on the partition it should give you options to change the mount options, and you can add the options above there.

    FYI, mount options are read left to right by the system, so if you really want rw (read/write) and exec to be true and not overriden by other mount options, put them at the end of the mount option line.