cross-posted from: https://sopuli.xyz/post/40885318

I’m going to switch from Windows 11 to Linux soon but first I wish to backup every every data and config files I can in my current Windows installation, even those that wouldn’t natively work in Linux. I know the \Users folder is important to back up, but I don’t know what other directories I am missing.

  • solrize@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    2 months ago

    Buy a new hard drive/SSD for your Linux installation. Put your Windows drive away in a drawer so all of its contents are saved, and you can swap it back in if you have to. A USB adapter can be helpful for retrieving files.

    • EchoCranium@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I did this, and installed the old drive into a USB adapter so I could easily pull any documents I may want to access. The Linux install will mount a NTFS drive, so worked great for that.

      For the OP, while you CAN have the PC boot up to the Windows drive plugged into USB, I would not recommend doing it more than a couple times. Windows seems to hate this; I’ve had two installations of Win10 Pro eat itself and become unbootable, could not be repaired. The files were still accessible through Linux though so was able to make copies.

  • ItsMyVault101@piefed.social
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    2 months ago
    1. C:/Users > all user data from all users on the PC
      or just from a single user
      %userprofile%/AppData
      %userprofile%/documents
      %userprofile%/(everything else like pictures, videos, etc.)
    2. C:/ProgramData > some programs saving files here, so all users can use the data
    3. C:/Program Files > majority of programs are installed here
    4. C:/Program Files (86x) > some programs are installed here
  • dan@upvote.au
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    Resize your Windows partition to be smaller, then install Linux in the newly-freed space. You can boot into GParted to resize the partition.

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    Exactly! Your user data is stored in c:\users. This includes, well, your user data for all of the users, including all user-spefific configuration files and application data and actual files and directories created by the user.

    Unfortunately lots of configuration is stored in the registry and is useless for transitioning them over to Linux. Same with most Windows software that doesn’t use the registry. You’ll unfortunately also find configuration files all.over the place. Might it be in the application’s installation directory c:\ProgramData, or somewhere else.

  • doodoo_wizard@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    You can use some program like macrium or whatever to make a complete compressed image of your windows drive on some other device and then pick through it when you’re ready.

    That requires that you have some device with as much storage as is used on your windows drive(s).

    Dd if=your_windows_drive | tar lvqf some_output_file.tar.bz