Formating HDD for install 15.1

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:~ #

or

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???

Please provide content of /etc/fstab here within code tags.

Is your wish to have /home on a separate filesystem?

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.

Yes, that is what I want. So here is what you wanted me to post:

linux-x80j:/etc # cat  /etc/fstab
UUID=b7619f7c-e5f6-45bb-9142-810e3a9ff8e9  /           btrfs  defaults             0  0
UUID=b7619f7c-e5f6-45bb-9142-810e3a9ff8e9  /var        btrfs  subvol=/@/var        0  0
UUID=b7619f7c-e5f6-45bb-9142-810e3a9ff8e9  /usr/local  btrfs  subvol=/@/usr/local  0  0
UUID=b7619f7c-e5f6-45bb-9142-810e3a9ff8e9  /tmp        btrfs  subvol=/@/tmp        0  0
UUID=b7619f7c-e5f6-45bb-9142-810e3a9ff8e9  /srv        btrfs  subvol=/@/srv        0  0
UUID=79e80021-1259-4bb1-88c0-24287aeb925a  swap        swap   defaults             0  0


I should also have asked for output from lsblk.

How much disk space would you like to assign to /home?

When you get to the partitioning section, you will see a screen something like this:

https://nwrickert2.files.wordpress.com/2019/05/screenshot_leap151_2019-05-17_190147.png

Click on “Guided Setup”. Then there’s an option to say that you want a separate “/home”.

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 :frowning: 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  


I made mistake again. You already gave lsblk. What I actually wanted was blkid.

Here is:

 

su -c 'blkid'
Password: 
/dev/sda1: PARTUUID="17848726-b63a-4346-87e6-66fa2d6b8c15"
/dev/sda2: UUID="b7619f7c-e5f6-45bb-9142-810e3a9ff8e9" UUID_SUB="d178b465-e8c9-4c78-a7c5-a15092108fb2" TYPE="btrfs" PARTUUID="af3b4090-4f58-4e27-95b4-4e076404987b"
/dev/sda3: UUID="bbde2e9d-b4aa-4349-9bb9-0a490769a499" TYPE="xfs" PARTUUID="7cc90545-a9bb-42ad-b69e-73b98698c4e0"
/dev/sda4: UUID="79e80021-1259-4bb1-88c0-24287aeb925a" TYPE="swap" PARTUUID="60572cd5-d168-4346-8603-c965f869e3de"
/dev/sdb1: LABEL="My Passport" UUID="8614F0D214F0C669" TYPE="ntfs" PTTYPE="atari" PARTLABEL="My Passport" PARTUUID="5ad7567d-a6c6-4d12-b8c2-086f314e9ce0"


My Passport is external HDD :slight_smile:

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:

UUID=bbde2e9d-b4aa-4349-9bb9-0a490769a499 /home xfs defaults 1 2

then on subsequent boots you should have 50GB sda3 mounted on /home and containing all your personal files and settings.

run/media/zlatic

is external HDD that I dont use as partition (I simply forgot to disconnect it before gave you list you wanted).

So, can you with more details tell me what to do. I just wqant not to make any damage. Thank you, and I’m sorry for disturbing. :frowning:

I made mistake, and delete sda3, which is missing from /etc/fstab, but currently mounted to /run/media/zlatic/bbde2e9d-b4aa-4349-9bb9-0a490769a499

What can I do now?

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 /.

https://forums.opensuse.org/showthread.php/536391-Formating-HDD-for-install-15-1?p=2905584#post2905584

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.