-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c14a9f2
commit aee3442
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+334 KB
content/posts/2023-12-06-til-how-to-ntfs-drive-on-nixos/images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
content/posts/2023-12-06-til-how-to-ntfs-drive-on-nixos/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "TIL: How to NTFS Drive on NixOS" | ||
date: 2023-12-06 | ||
canonicalURL: https://haseebmajid.dev/posts/2023-12-06-til-how-to-ntfs-drive-on-nixos | ||
tags: | ||
- ntfs | ||
- nixos | ||
series: | ||
- TIL | ||
--- | ||
|
||
**TIL: How to NTFS Drive on NixOS** | ||
|
||
Recently, I was trying to open an NTFS drive on my NixOS machine; however, the drive was corrupted. So I did the | ||
following to fix the drive. | ||
|
||
```bash | ||
nix-shell -p ntfs3g | ||
ntfsfix /dev/sda1 | ||
``` | ||
|
||
Where `/dev/sda1` is the broken drive. This was enough for me to be able to mount the drive and access the files on it. | ||
I didn't need to fix it on a Window machine. |