The power went out suddenly when i was in VSCode. After that, this appears when i try opening one of the partitions on my hard drive. The file that i was using was saved in that partition
I would suggest to unplug the Driver, make a Reboot and then plug it in again.
still the same
When you have connected your external drive and open the app disks, can you select the external drive and click on
to mount it?
How is the external drive formatted (ntfs, ext4...)?
I am not sure why.
I dont know if this might help, This is what VSCode says when i tried saving the file that i was using stored in that partition.
Failed to save 'script.js': Command failed: cd "/home/jann"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; "/usr/share/code/bin/code" --file-write "/home/jann/.config/Code/code-elevated-2sHLXOZQ"" Using --file-write with invalid arguments
How is VSCode installed? Flatpak or .deb/APT?
the .deb
Are there any Data on the Drive?
hmm.. yeah i guess
Are these one's that are important or would it be okay if there are deleted. If it would be okay, You could format the Drive to ext4 - but then all Data on the Drive would be deleted!
I can see on Your Picture that the Drive seems to have several Partitions and Formats:
Its a very common known fact, if you are writing to a drive, and a power outage happens during that write operation, it will corrupt the drive. As has been said before, I think your only recourse, is to format the drive GPT-EXT4.
Of course, you could try to mount the drive on other computers, to see if it will mount, and backup the data you have on the drive. But I fear the drive is corrupted beyond accessing, short of formatting.
Oh i see, i didn't know. Sure i guess its totally okay for me to reformat it. I dont have IMPORTANT datas stored in there
how do i reformat it?
When You are in Disks, You choose the Drive on the left Side and then You click on every Partition on it and then on the - at the rights side under the Partition Table. After all is deleted, click on the Gears Icon and choose ''format Partition'':
If the external drive if formatted to NTFS try this terminal command. It worked for me.
sudo ntfsfix -d /dev/sdb2
Big News! I haven't reformat it yet, I can open it on my Windows 10 Boot, I can access the files just like how I used to. Any way i can acces it on Zorin boot?
UPDATE: I boot up on Zorin and the files are okay, i don't know why is that, I opened it on Windows boot and now everything is fine.





