I was minding my own business on my computer (watching some video and twiking some pdf) when the electricity shut down in the whole house. The system is running again and the faulty device is shut off. I turned my computer back on and now, I have an error message when I’m trying to access my HDD
I had issues before due to the fact that it is an NFTS partition (Previous thread). Should I explore this path again or is it possible the electric system crash caused another issue ?
This may not have anything to do with your particular issue, but when our power has gone out, one of my PCs (an older Dell Optiplex) would fail to boot up again too.
I found the solution was to power up in BIOS mode (a hardware thing, like holding F12, or some such depending on make/model) and then confirm that all of my selections are accurate - because the power failure who fritz the storage and lose some of them.
I find that checking the start up default drive, UEFI choice, etc., must be confirmed to function properly again.
Hope this helps … or else someone with more insight can guide you.
I’m not certain this help because the computer is booting properly (i’m using it right now and it’s a tower, not a laptop) and I can access the data on the SSD (where the OS is running).
Your computer didn’t boot at all, if I understand correctly ?
That is file system corruption. As it’s NTFS, you can either boot into Windows and fix it or if that’s not an option, try to fix the NTFS partition running chkdsk off Hiren’s BootCD
So I booted on Win and checked the fast startup (still incheck) and ran an chkdsk :
C:\Windows\system32>chkdsk /f
The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another process.
I did it twice, shuting down the computer in between … As the chkdsk did the trick last time, I was hoping it would solve everything but no, not today … Should I install ntfs-3g ? But it’s been installed previously so it doesn’t seem to make any sense to newbie me …
(I did a chkdsk with no disk specified and didn’t get anything special that I could see … )
Don’t worry, this doesn’t sound like a fried drive, and it’s very unlikely that installing ntfs-3g will help here.
What you’re seeing is actually normal Windows behavior:
chkdsk /fcannot run on the system drive while Windows is running, because the filesystem is in use. That’s why you get:
Cannot lock current drive
What you need to do instead is schedule the check for the next boot.
In Windows, open an Administrator command prompt and run:
chkdsk C: /f
When asked whether you want to run it on the next restart, answer Y, then reboot and let Windows finish the check before it boots fully.
Important notes:
A normal “shutdown” is fine, but avoid power loss during this process.
Fast Startup being disabled is good — that’s not the issue here.
ntfs-3g on Linux cannot fix NTFS metadata corruption that Windows itself has locked.
Once Windows has completed chkdsk successfully, Linux should be able to mount the NTFS partition again without errors.
If Windows also can’t repair it at boot, then tools like Hiren’s BootCD or a Windows recovery environment are the next step — but you’re not there yet.
Thanks you for all those explainations. Just a quick question before switching to Windows :
I use grub for the dual boot and if left untouched, Linux will startup. Should I first go into the BIOS to change this setting ? (I guess that’s where it is defined but I’m not certain)
Then run chkdsk C: /f and allow it to schedule the check
Reboot once more and let Windows finish the disk check
GRUB only decides which OS starts, it does not affect the filesystem repair at all.
As long as you boot Windows via GRUB, everything works exactly the same as if Windows were the default.
Only go into the BIOS/UEFI if:
Windows does not appear in GRUB at all, or
GRUB itself is broken
In your case, just pick Windows from GRUB and you’re good
You’re talking about Hiren’s BootCD or a Windows recovery environment … I guess I should prepare a USB drive for this ? Does it mean going through a clean install for Windows ? (I had to do it once in a while before but my system was Windows only and I had multiple disks to store data and software).
No worries — this does NOT mean a clean Windows reinstall
You’re still in repair mode, not “nuke & pave”.
Good news first:
Seeing “Windows Recovery Environment” means Windows still recognizes the installation. If it were truly broken, you wouldn’t even get that far.
Since chkdsk didn’t fix it from inside Windows, the next step is offline repair, not reinstall.
(which would break grub)
What to do next (safe path)
Yes, prepare a USB stick
You have two good options:
Option A: Windows Recovery USB (recommended)
Create a Windows install USB (Media Creation Tool)
Boot from it
Choose Repair your computer
Troubleshoot → Advanced options → Command Prompt
From there run:
chkdsk C: /f /r
This runs offline, which is much more effective than in-system checks.
Option B: Hiren’s BootCD (alternative)
Download Hiren’s BootCD PE
Boot it
Open a command prompt
Run:
chkdsk C: /f /r
Same goal, different tool.
Important: this is NOT a reinstall
No data is deleted
No partitions are wiped
No Windows setup is started
(NO GRUB DELETE!)
A clean install only happens if you explicitly choose “Install now”.
Why this step matters
When NTFS metadata is damaged or still flagged “dirty”:
Linux will refuse to mount it read-write (correct behavior)
Windows inside itself can’t always lock the disk
Offline tools can repair structures Windows can’t touch while running
After the repair
Once chkdsk finishes successfully:
Boot Windows normally once
Shut it down cleanly
Boot back into Linux
The NTFS partition should then mount normally again.
Only if this fails
If offline chkdsk /r also fails, then we talk about:
backing up data
filesystem repair tools
or reinstall — but you’re not there yet
TL;DR
Yes, make a USB stick.
No, this does NOT mean reinstalling Windows.
You’re doing an offline NTFS repair — the correct next step.
Again a technical question : is the version of Windows running important or not ? I have a Win10 Enterprise edition. Does it matter or the WRE is the same no matter what ?
Because NTFS is proprietary and Linux tools are reverse-engineered, ntfsfix can indeed make things worse if the filesystem is already damaged — especially when Windows has marked it inconsistent.
Best practice:
Use ntfsfix only as a last resort to make a volume mountable
For real repairs, always use Windows offline tools (chkdsk /f /r from WinRE or recovery USB)
So in this case, sticking with Windows recovery is the correct and safest path.
Yes that could be. I have seen ntfsfix used sometimes and it worked. Yes things could also get worse. But on the other hand that could also happen anyway using Windows tools!
That’s a fair point, and you’re right on both sides.
ntfsfixcan work, and many people (myself included) have successfully used it — but it’s important to understand what it’s for.
ntfsfix is useful when:
you need temporary access to an NTFS volume
your goal is to copy data off and make a backup
Windows is not available right now (mine is gone forever)
I’ve had a similar case with a large NTFS USB drive throwing constant errors. ntfsfix allowed me to access the data and copy everything to an ext4 disk.
After that, I wiped the drive, re-initialized it, ran full SMART tests — hardware was fine.
The real problem was the NTFS filesystem, not the disk.
That said:
ntfsfix is not a full repair tool
it does not replace chkdsk /f /r
NTFS is proprietary, and Linux tools are reverse-engineered, so deep repairs are risky
So the practical rule of thumb is:
Use ntfsfix for data recovery
Use Windows offline tools for actual NTFS repairs
And if you have the choice going forward: ext4 is simply a much more robust and stress-free filesystem.
NTFS works, but it carries a lot of legacy behavior — when things go wrong, they tend to go very wrong.