I have an external usb drive that have 2 ntfs partitions.
I can't mount the first partition, /dev/sdb1.
Windows can't open the external drive and don't show it in "This PC".
I tried ntfsfix, it shows that finished successfully but still can't use the partition.
I need the data, tried many hours and now I'm bored.
please help me.
** UPDATE **
I had this problem with second partition of the external drive but with ntfsfix problem solved.
because I don't use windows I decide to change the partitions format, so with gparted tried to make some free space and create a new ext4 partition. at the 100% of resizing I got an Error and this problem happened.
You would be better copying and pasting here the output of your garuda-inxi with ~~~ before and ~~~ after to format the text for forum members to be able to help
I tried sudo mount -t ntfs-3g /dev/sda2 /mnt/windows, tried sudo ntfsfix /dev/sdb1 and it's the result :
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.
the chkdsk /f command, by default checks the 'C' drive of system.
windows can recognize the hard drive but can't show it in This PC(My Computer). so there is no letter(D, E, F,...) to use for checking the disk.
On Windows login as an admin, hit Windows key + R, type diskmgmt.msc, right click on the problematic partition and assign a drive letter. Then chkdsk /f <drive letter>:
I am not certain, but my guess is you are getting this message because of whatever happened here:
The thread is a little confusing to read through at this point because I’m not sure when this update was added.
It looks like you are still getting advice from people trying to help you mount or fix this device as if it still has an NTFS file system, but the update to post #1 makes it sound like what you actually want to do is reformat it and get a different filesystem on there.
Can you explain what you are trying to do next?
Also please provide the output of lsblk -f when you have a chance.
I had Artix Linux before, I decide to move to a new distro so I copied my important/necessary data to my external drive.
the problem first happened to second partition and with ntfsfix solved.
I don't connect my external drive to a windows systems so decide to change the partition format to EXT4.
it's my idea:
install gparted, create a new partition with the free space of sdb1, then move some data to the new partition and resize partitions again and again until I just have an EXT4 partition.
I made two steps in gparted, 1:resize the sdb1, 2:create new EXT4 partition.
I got error at 100% of first step.
I have important data in my hard drive and first need to access them for moving theme and then reformat the drive.
I hope you understand because I'm not good in English
My mistake--I misunderstood, I thought you had tried to reformat that partition as ext4. I think I understand what you wrote now: you are trying to make a third partition on the disk as ext4 to migrate data over.
So even Windows thinks it has no filesystem. The only option I can think of is to use recovery software. You may try testdisk, photorec or gparted's filesystem recovery option.
Someone else may be more helpful than me.
I think I fully understand the situation now. Sorry I wasn’t getting it before.
You attempted to resize this partition in gparted (to make it smaller) and it did not succeed.
Resizing NTFS in gparted is a little risky because NTFS has a tendency to be very fragile on Linux systems. It sounds like the resize attempt didn’t quite work.
This looks good though, and makes me think the partition is perhaps not super broken.
Did you review this comment? The reason I ask is because this mountpoint:
leads me to believe you are not using a proper mount command–you are allowing the file manager to auto-mount the drive.
There is nothing wrong with that, but since that does not appear to be working I would try to create a proper mount point and mount the drive with the correct command.
sudo mkdir /mnt/windows
Don’t worry if the directory already exists. Next, mount:
$ sudo mount -t ntfs-3g /dev/sdb1 /mnt/windows
Failed to read NTFS $Bitmap: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.