Two Linux Installations

Hello,
I recently installed Leap 15.0, but - it happened the worst thing it could happened except my comupter burned up:

  • New 15.0 created partitions on it’s own: so, i got double partitins: two swap, two systems (native) with operating systems on them (each for one of linuxes). The thing I especially worry about is 40 GB linux native for 15.0. Would it be enough for installing anything except Leap ( foor example: Skype, multimedia codecs, lamp server - all of these)?
  • Is there any way to delete these old partitions and “add” (“total”) them to the same in Leap 15.0 - native to native, home to home, swap to swap?
    I don’t care about losing data - I already store them out of this HDD.
    Thank you for answering my questions.

You should provide the output of

# fdisk -l

so that we can have some idea what you have to work with. Surely your HD must larger than 100GB? Most people should be OK with 40GB / if /home is a separate filesystem.

One of those systems is apparently Leap 15.0, but you forgot to tell what the other is.

If you’re asking whether you can delete the partitions used by your other Linux system, the answer is yes.
As long as you are using the LEAP boot partition or directory(by default, it’s on your your root partition), you should be able to remove anything that LEAP does not use.

A 40GB partition has no room for snapshots, additional apps or personal files, but it’s probably just big enough for the apps you list. But, if you’re going to install multimedia codecs, that usually means that you also will want to install multimedia files,and you won’t have much room for large video files.

If you want to remove partitions and enlarge your LEAP partitions to fill the space left by your removed partitions, I’d recommend using Gparted Live, it will give you a way to do what you want by displaying your partitions in a graphical UI, allowing you to click on partitions and executing operations on what you selected, and using sliders to set the new sizes of your partitions.

https://gparted.org/livecd.php

HTh,
TSU


# fdisk -l

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1              63   4209029   4208967    2G 82 Linux swap / Solaris
/dev/sda2  *      4209030  46154744  41945715   20G 83 Linux
/dev/sda3        46155776 130041855  83886080   40G 83 Linux
/dev/sda4       130041856 312581807 182539952   87G  f W95 Ext'd (LBA)
/dev/sda5       130043904 305672191 175628288 83.8G 83 Linux
/dev/sda6       305674240 312581807   6907568  3.3G 82 Linux swap / Solaris

Optimal way to proceed depends on how much RAM you have, whether you desire snapshotting, and whether you expect to use suspend functionality. If you have only 3GB RAM, or have no expectation to suspend, then optimal way to proceed is probably to reinstall having sda1, sda2 and sda3 deleted, and a new sda1 created in its place using the entire space freed up by the three deletions for use by / for 15.0. 15.0 can do fine on 40GB or less if the EXT4 format is selected instead of the BTRFS default. BTRFS provides snapshotting that consumes considerable space. All my 15.0 / partitions are under 20GB (several with only 5.6GB), but I only use EXT4.

Here’s my advice:

Start a new install.

When given a proposed partitioning, click on “Guided Setup”.

On the next screen there are some boxes about what to do with existing partitions (Windows partition, linux partitions,other partitions). Some of those might be greyed out if you don’t have such partitions. Those boxes give you a choice of “keep”, “remove if needed”, “always remove”. Set them to always remove.

That will leave you with a clean disk with nothing left over. There will also be options about what file system to use. You can either go with the default or change to using “ext4” for everything.

Then proceed with install. You should finish up with an install that uses the full disk.

Okay, you probably didn’t want to do a new install. I’m just listing this as an option to consider.

As far As I am aware of, we still do not know what is on the other set of partitions. According to what the OP says, one set is used by Leap 15.0 (but which one) and the other three???

Doesn’t that influence the plan of what to do?

And there is contradictory information above about how large a / partition should be when using btrfs with snapshotting and with a separate /home. The installation defaults to 40 GB and I have seen nobody having problems with that, except when they do not manage their snapshots, but not managing snapshots will eventually always fill whatever the size is.

I am sorry, I was very busy with back system to “working-mode”. One is Leap 15.0, and the otherone is Leap 42.3-

Things are better now: I have got just my Leap15.0 and 2 partitions. But one thing is not right:

  • I didn’t see option to choose my partitions size, so I had to confirm system-given options: 20 GB for sda2 (system) and 125 GB for sda3 (/home) . Did I missed option to choose partition size before installation, or it really is not possible to chose it before installing?

Thank you for answering my questions.

You normally choose your partitioning during the installation. The installer will come with a proposal, but you can change anything there.

When you use for your / partition btrfs with snapshots, 20GB is not enough. The installer should have proposed 40 GB for such usage.

Normally the installer proposes three partitions, for swap, for / and for /home. For swap a few GB, for /a either 20 GB or 40 GB depending on btrfs (with snapshots) or not btrs and all free space for /home. That is of course when there is nothing already on the disk. Or, when there is already some partition(s), it will use the free space after them and try the same proposal…

I think you have to go into the expert partitioner section of the install, in order to do that.

Also if you are using space that is between other systems, that can be a constraint on partition size.

Thank you for advice. That’s it! I found what i was looking for! :slight_smile: