this post was submitted on 08 Dec 2023
9 points (84.6% liked)

Linux

48143 readers
512 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
9
submitted 11 months ago* (last edited 11 months ago) by juli@programming.dev to c/linux@lemmy.ml
 

I need to repair a drive with chkdsk and don't have access to windows

edit: hopefully, I only have to do it once. I will search for someone with a real windows machine. It's not worth the trouble =(

you are viewing a single comment's thread
view the rest of the comments
[–] mvirts@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

Yes. But since we're in Linux land, you may be able to replay the journal and un-dirty your disk by mounting with the ntfs3 driver listed here https://docs.kernel.org/filesystems/ntfs3.html, or you could try using 'ntfsfix -d [your device]' from the ntfs-3g package to clear the journal and the dirty bit, although whatever the last operation was on the filesystem may be left in an incomplete state since the journal is not replayed.

I haven't done it in a while, but with virtualbox I have used direct disk access by creating a special vmdk with vboxmanage to give a VM access to real partitions.