I had an incident today while my hard drive was plugged in all of a sudden my laptop froze I even try to switch to tty4 but it didn’t work so I had to forcefully trun off my laptop , now it can’t read my hard drive
it says
" An error occurred while accessing ‘My Drive’, The system responded : The request operation has failed : Error mounting /dev/sdb1 at /run/media/sim/My Drive:wrong fs type , bad option bad superblock on /dev/sdb1, missing codepage or helper program, or other error"
If the disk in question is formatted using NTFS - boot Windows and use Windows tools to scan for errors and fix the filesystem.
I never plugged it in windows, when I bought it I just start copying files into it, and I think I never formatted it like ever
None of that matters.
What matters is if it is using the proprietary NTFS format made by microsoft.
If it is then you must use windoze tools to repair it.
Then it is either NTFS or exFAT - since it is not known - attach the disk to a Windows system and use the tools provided by Windows.
can’t it be done using disks or KDE partition manager ? cus I don’t have windows
No, sorry, if its NTFS then you must use windoze tools … or possibly a PE edition like Hirens.
You can use linux tools to observe the disk, such as to find what format it is using.
Or to reformat the disk to another (better) format, but this would wipe all data on the disk.
For repair of NTFS … see the first part of this message.
Really. Like really really. If you do find some linux tool purporting to provide repair, such as ntfsfix
or similar, do not believe it. They can at best remove the ‘dirty bit’ that flags the disk as needing repair but not provide any actual repair. If this does result in gaining access to the disk you will be compounding damage by continuing to use it in broken state, possibly leading to irrevocable data loss.
Ok Thank you . I’ll do that
If you need really help with that, we need more details to see if we can actually helping you to solve your issue:
Post your system information as code:
inxi --admin --verbosity=5 --filter --no-host --width
If you have a NTFS Partition, you can read it without worries under Linux, but don’t do write jobs on this NTFS Partition under Linux, NTFS is only a emulated Filesystem here under Linux.
For Data sharing between Linux/Windows its recommended to use Exfat for example.
This might be helpful;
Includes information about the Microsoft chkdsk
tool, and the ways in which it can be used without having windows installed.
Look for the heading What if I don’t have Windows?
(Or, read the entire document to learn more).
Cheers.
Once the file-system is fixed, I strongly recommend copying all the needed data off it and reformatting it to ext4
as it will help to avoid future headaches like this!