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 =(

  • DefederateLemmyMl
    link
    fedilink
    4
    edit-2
    11 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.