Would you mind providing some information for me? I kind of need to know your partition scheme here. From the command line, run fdisk -l /dev/sda
. Also give me an lsblk
. This would help me see whether these are actually partitions or directories. Then we can go from there.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
void@VoidLinux ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 476.9G 0 disk ├─nvme0n1p1 259:1 0 250M 0 part /boot/efi ├─nvme0n1p2 259:2 0 25G 0 part / ├─nvme0n1p3 259:3 0 100G 0 part /home/moi └─nvme0n1p4 259:4 0 351.7G 0 part /run/media/void/Spare
And I could only run fdisk -l
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: PC611 NVMe SK hynix 512GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0CBA5074-381F-434C-B631-017241BA39AE
Device Start End Sectors Size Type /dev/nvme0n1p1 2048 514047 512000 250M EFI System /dev/nvme0n1p2 514048 52942847 52428800 25G Linux root (x86-64) /dev/nvme0n1p3 52942848 262658047 209715200 100G Linux user's home /dev/nvme0n1p4 262658048 1000214527 737556480 351.7G Linux filesystem
Please reformat your comment using markdown syntax. I am unable to make sense of your comment. An example is below
Code goes here
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:
- Create a directory with your username in your home directory
- 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 - Move
/home/void
next to (not into) that new directory. You should now havevoid
andmoi
as the only two entries in/home/moi
- In
/etc/fstab
, change the mount point for your home partition from/home/moi
to/home
. - 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.
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...