Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Transfer unencrypted home to new encrypted install?

Transfer unencrypted home to new encrypted install?

Scheduled Pinned Locked Moved Linux
linux
5 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    So, I've decided that I want to reinstall Arch on my laptop, but this time separate /home from root, and encrypt it using LUKS.

    I made a backup of my current, unencrypted home directory (I didn't separate them initially) using:

    sudo rsync -aXS --exclude='/*/.gvfs' /home/. /mnt/home/.

    Once I wipe Arch and reinstall it, encrypting /home, would I be able to transfer my unencrypted files to the encrypted /home partition, and have them become encrypted?

    quazatron@lemmy.worldQ mentaledge@sopuli.xyzM J ? 4 Replies Last reply
    1
    0
    • System shared this topic on
    • A [email protected]

      So, I've decided that I want to reinstall Arch on my laptop, but this time separate /home from root, and encrypt it using LUKS.

      I made a backup of my current, unencrypted home directory (I didn't separate them initially) using:

      sudo rsync -aXS --exclude='/*/.gvfs' /home/. /mnt/home/.

      Once I wipe Arch and reinstall it, encrypting /home, would I be able to transfer my unencrypted files to the encrypted /home partition, and have them become encrypted?

      quazatron@lemmy.worldQ This user is from outside of this forum
      quazatron@lemmy.worldQ This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      That's pretty much it.

      1 Reply Last reply
      0
      • A [email protected]

        So, I've decided that I want to reinstall Arch on my laptop, but this time separate /home from root, and encrypt it using LUKS.

        I made a backup of my current, unencrypted home directory (I didn't separate them initially) using:

        sudo rsync -aXS --exclude='/*/.gvfs' /home/. /mnt/home/.

        Once I wipe Arch and reinstall it, encrypting /home, would I be able to transfer my unencrypted files to the encrypted /home partition, and have them become encrypted?

        mentaledge@sopuli.xyzM This user is from outside of this forum
        mentaledge@sopuli.xyzM This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Yep.

        Once an encrypted storage volume is mounted and in use, you just transfer stuff into and out of it like normal.

        There's nothing unusual about the files themselves.

        1 Reply Last reply
        0
        • A [email protected]

          So, I've decided that I want to reinstall Arch on my laptop, but this time separate /home from root, and encrypt it using LUKS.

          I made a backup of my current, unencrypted home directory (I didn't separate them initially) using:

          sudo rsync -aXS --exclude='/*/.gvfs' /home/. /mnt/home/.

          Once I wipe Arch and reinstall it, encrypting /home, would I be able to transfer my unencrypted files to the encrypted /home partition, and have them become encrypted?

          J This user is from outside of this forum
          J This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          I typically try to not be logged in as the user whose home directory is being copied when I do this just to avoid any collisions. Otherwise this looks right.

          1 Reply Last reply
          0
          • A [email protected]

            So, I've decided that I want to reinstall Arch on my laptop, but this time separate /home from root, and encrypt it using LUKS.

            I made a backup of my current, unencrypted home directory (I didn't separate them initially) using:

            sudo rsync -aXS --exclude='/*/.gvfs' /home/. /mnt/home/.

            Once I wipe Arch and reinstall it, encrypting /home, would I be able to transfer my unencrypted files to the encrypted /home partition, and have them become encrypted?

            ? Offline
            ? Offline
            Guest
            wrote on last edited by
            #5

            You dont need to wipe anything, just shrink the filesystem from a live system.

            Then create a new partition, which you encrypt and mount...

            1 Reply Last reply
            0
            • System shared this topic on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups