Announcement

Collapse
No announcement yet.

Home folder on system partition after installation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] Home folder on system partition after installation

    After installation I ended up with my Home folder on the system partition.
    No matter how much I tried to follow the installation process carefully.

    I'm actually quite sure I was not asked about that during the installation.

    Can someone help me fix this problem ?
    As far as I know there's no way to do it from the GUI

    #2
    Please open a konsole session, enter
    Code:
    lsblk -f
    and post the results in a CODE box in your reply.
    The next brick house on the left
    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



    Comment


      #3
      As far as the installer, no it doesn't ask you about a separate home and never has - not Ubiquity anyway. You have to select "Manual Partitioning" at installation and specify a partition and enter "/home" as the mount point.

      You can almost fix it from the GUI. There's a couple ways to do this. Since this is a new install there's not much in your home anyway so now's the time.

      • Edit /etc/fstab with Kate and add the entry to mount the desired partition at /home
      • Log out. Press CRTL+ALT+F1 to open the terminal mode and log in
      • Rename /home to something else and make a new /home folder
      • Mount the desired partition at /home
      • Log out of the terminal and switch back to graphics mode with CRTIL+ALT+F7
      • Log back in graphical mode and a new user folder will be created in /home
      • Copy anything you need from your old home folder and delete it.


      Your current fstab will look something like:
      Code:
      [FONT=monospace][COLOR=#000000]# /etc/fstab: static file system information.[/COLOR]
      #
      # Use 'blkid' to print the universally unique identifier for a
      # device; this may be used with UUID= as a more robust way to name devices
      # that works even if disks are added and removed. See fstab(5).
      #
      # <file system> <mount point>   <type>  <options>       <dump>  <pass>
      # / was on /dev/sda3 during installation
      UUID=c02f9ba6-9fc7-44cb-8b6b-86432059b6be / ext4   defaults    0   1
      # swap was on /dev/sda2 during installation
      UUID=d03a56c0-9f31-4bff-bb75-e2e0e197e282 none            swap    sw              0 0
      
      [/FONT]
      You will add a line something like:
      Code:
      [FONT=monospace]/dev/sda4 /home ext4 defaults [/FONT][FONT=monospace]0 2
      [/FONT]
      and save. Obviously you will need to know and use the correct partition, I used /dev/sda4 as an example. You can use the UUID or Label if you prefer but there's no real advantage to using UUID unless you're adding drives to the PC later or your BIOS is prone to renumbering your drives at boot time. You can alsways go back and replace the device name with the UUID later if need be.

      Once logged into terminal mode, the commands are;
      Code:
      sudo mv /home /oldhome
      sudo mkdir /home
      sudo mount /home
      exit
      Then CTRL+ALT+F7 back to graphical mode and log in.

      Please Read Me

      Comment

      Working...
      X