I work away from home for weeks at a time, and I hurriedly set up my server on my last day at home last month

I got a free PC, and a 10tb HDD. Lenovo uses a stupid special cable to run sata drives off the motherboard, I didn’t know there were two sizes, bought the wrong size and said fuck it so I installed windows on the same drive and same partition I now have 4 tb worth of media

Now I want to move to Linux as my server OS, I got another PC that actually has the ability to run multiple HDDs

Can I access the files on this drive from another OS? Is there a way to keep these files without transferring it all to another HDD?

  • lemmyvore
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 months ago

    You can resize partitions in Windows so one way to do it would be to shrink the NTFS partition with the media files from the Windows disk manager, then use the free space in Linux for an ext4 partition, copy the media files, then use GParted in Linux to remove the NTFS position then move and resize the Linux partition.

    Of course this is quite convoluted so the safest would be to copy the files to another disk while you wipe the other one and format in Linux, then copy back.

    • addie@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      Spot on advice. I’d observe that media files tend to be quite large, and if all that the disk has been used for has been copying these files onto it, then they’re likely to be both relatively defragmented and at the start of the disk, so the reduction in partition size isn’t going to be as slow as it usually is. (Which is very slow.)

      Since media files are relatively infrequently read, I’d probably want to use a filesystem that checks against bit rot instead of ext4 - make sure that they’ve not become corrupt when you want to use them. But that’s Linux holy war territory, so I’ll leave it alone.