Error Partitioning Void Linux - eviltoast

Hey, For some reason(s) after I start my Void system I have 2 /Home partitions. One is /Home/Void and the second one is /Home/Moi. Now I suspect the Void one is because I kept Void as a user and the second one is because I changed the name Void User to Moi. Now for the weird part… /Home/Void uses the / allocated space while the /Home/moi uses what I put in while partitioning my drive.

Any help on this would b e much appreciated…am not that savvy with Linux so have no idea what’s happening

    • Laser@feddit.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’d say this is a very unusual setup. Normally, you give /home its own partition and then create user directories in there.

      OTOH, nothing about this should break anything. What you can do if you’re savvy enough:

      1. Create a directory with your username in your home directory
      2. Move everything in your home directory into that new one (preferably do this as root so that you’re not using any files in there I guess). Careful as moving dotfiles can be tricky. find should be the correct tool here, but I can’t tell you the proper command right now
      3. Move /home/void next to (not into) that new directory. You should now have void and moi as the only two entries in /home/moi
      4. In /etc/fstab, change the mount point for your home partition from /home/moi to /home.
      5. Reboot (or remount manually)

      Please, before doing this, let someone else look over this and preferably expand. I just wrote this down on my phone while on a train ride without access to a Linux machine to verify anything. Also some of these steps are not exactly beginner level.

      • CkrnkFrnchMn@lemmy.caOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        That was dumb of me…No wonder the system made that extra dir. Am gonna redo that box and play with it. My next task is to install Openvpn so I can get PIA going because they don’t have a runit version.

        Thanks for your time…