9
submitted 9 months ago* (last edited 9 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
[-] SpaceCadet@feddit.nl 4 points 9 months ago* (last edited 9 months ago)

100% possible with a Windows 10 guest in kvm/libvirt.

You can connect the disk to your Linux system, and then pass through the disk's entire block device to the VM. Windows will see the device as an actual disk, and you can perform your repairs that way. I have something like this in my domain definition to pass through my game drive to my Windows 10 VM: https://pastebin.com/GzuvMTWP

I can even use the manufacturer's SSD maintenance tool from my VM.

Edit: lemmy doesn't seem to like XML in code blocks, so used pastebin instead.

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

Linux

47384 readers
1068 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