I installed Fedora Silverblue on my PC last Friday. Today there was a power outage - I don’t know if it has anything to do with my problem but the fact is that after turning on computer again I can’t mount my second disk anymore.
When I use the file manager I get this output:
When I use Gnome Disks I get this:
And when I use the command line I get this:
Is there any way to fix it?
The disk does not mount, but it is seen.
What file system is on that partition.? If ext4 then one can use fsck with a command like
sudo e2fsck /dev/sdb1 to make an attempt to repair it.
The system usually will not mount a file system that is marked as ‘dirty’ meaning there is something wrong with the way it was disconnected and that must be repaired before it can be mounted again.
One may need to use different options or if it is not an ext4 file system then other commands may be required.
The file system on that partition is NTFS.
You should be able to use fsck to check it still. You can always use the
-N option to see what it would do if it tried to repair.
That would be done with fsck.ntfs so my suggestion above would be changed to read
sudo fsck.ntfs /dev/sdb1 and could include the
-V -N options for the first run to see in verbose mode what would be done before actually doing the fix.
sudo fsck.ntfs -V -N /dev/sdb1 shows nothing:
sudo fsck -V -N /dev/sdb1 displays this:
Does it mean that I can safely try
sudo fsck /dev/sdb1 now?
Finally I was able to fix it with
sudo ntfsfix /dev/sdb1:
Mounting volume… $MFTMirr does not match $MFT (record 3).
Attempting to correct errors…
Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… FAILED
Correcting differences in $MFTMirr record 3…OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition… OK
Going to empty the journal ($LogFile)… OK
Checking the alternate boot sector… OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.