Hello, I wanted to repartioning my HDD because I wanted to install Leap 15.1, so I can not make my home partition on separate partition: all sustem is on one partition (OS+home), so partition dedicated for home is empty.
What can i do to home-folder skip to home partition? Is mistake in formating?
Thank you for answering my questions.
linux-x80j:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
├─sda1 8:1 0 8M 0 part
├─sda2 8:2 0 95.8G 0 part /
├─sda3 8:3 0 50G 0 part /run/media/zlatic/bbde2e9d-b4aa-4349-9bb9-0a490769a499
└─sda4 8:4 0 3.3G 0 part [SWAP]
sr0 11:0 1 443.9M 0 rom
linux-x80j:~ #
Simply don’t define a separate home partition a /home directory will be made on root.
Note that this does make upgrading and OS changes harder. There is good reason to have a separate home partition mounted as /home. It is simpler to manage going forward. There is nothing special about a home partition it is simple a partition that is mounted at the /home mount point when it is desired to have your data stored away from your OS.
But maybe I miss understand. Do you want /home to be on the removable media that is shown???
Maybe I didn’t be clear: I want home folder on separate (home) partition, but system plasce it on root (/). How Can I make home folder be on separate partiition?
Simply mount the target partition at /home. This may be tricky if you are using removable media which may not be installed at boot. If the external partition is not available then the local /home on root it used.
Showing /etc/fstab is a start to see what you currently have set to mount at boot.
I have one HDD, separated in two partitions. I did repartioning because I needed larger partition where systems file would be placed. But in Leap 15.1 it is impossible to do in Partitioner (or I can not do it)
And now, here what you want Thank you for answering my questions
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
├─sda1 8:1 0 8M 0 part
├─sda2 8:2 0 95.8G 0 part /srv
├─sda3 8:3 0 50G 0 part /run/media/zlatic/bbde2e9d-b4aa-4349-9bb9-0a490769a499
└─sda4 8:4 0 3.3G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
You have a 50GB XFS partition sda3, which is missing from /etc/fstab, but currently mounted to /run/media/zlatic/bbde2e9d-b4aa-4349-9bb9-0a490769a499. If as root you move the current content of home to /run/media/zlatic/bbde2e9d-b4aa-4349-9bb9-0a490769a499/, and add this entry to fstab:
If sda3 is mounted to /run/media anywhere, it’s ready for you to move files from /home to. When done moving, add the previously directed fstab entry, then reboot, and you should find all your /home files in /home, and considerably more freespace on sda2 /.
When “Guided Setup” don’t give me what I want I press “Expert Partitioner” and made manually what I want.
Of course, backup your data before formatting your drive.