Recommendations for performing in place update from Leap 15.1 to 15.2 with Dual Boot setup

Hi, I’ve been enjoying 15.1 quite a bit and it’s still applying patches and seems secure still. I was curious if anyone has the best method for upgrading from 15.1 to 15.2 with Dual Boot setup?

I’m currently reviewing this document and it mentions it’s not necessarily easy or guaranteed. I currently have my Windows 8.1 installed with this dual boot setup.

https://www.marksei.com/how-to-upgrade-opensuse-leap-15-1-to-15-2/

Does anyone have any suggestions for the best / safest method? The only thing I was trying to determine from the method above is if I have enough space in **/var/cache/zypp (2 GB).

**I ran some various commands to see how I can check if I have over 2 GB but not 100% sure. I supplied some output below.

I greatly appreciate any help! Based on df -GB I appear to have plenty of space in /var (87 GB)

linux-1fn2:/var/cache/zypp # df -BG 
Filesystem     1G-blocks  Used Available Use% Mounted on 
devtmpfs              2G    1G        2G   1% /dev 
tmpfs                 2G    1G        2G  15% /dev/shm 
tmpfs                 2G    1G        2G   4% /run 
tmpfs                 2G    0G        2G   0% /sys/fs/cgroup 
/dev/sda8           109G   21G       87G  20% / 
/dev/sda8           109G   21G       87G  20% /boot/grub2/x86_64-efi 
/dev/sda8           109G   21G       87G  20% /tmp 
/dev/sda8           109G   21G       87G  20% /root 
/dev/sda8           109G   21G       87G  20% /home 
/dev/sda2             1G    1G        1G  23% /boot/efi 
/dev/sda8           109G   21G       87G  20% /var 
/dev/sda8           109G   21G       87G  20% /srv 
/dev/sda8           109G   21G       87G  20% /boot/grub2/i386-pc 
/dev/sda8           109G   21G       87G  20% /usr/local 
/dev/sda8           109G   21G       87G  20% /.snapshots 
/dev/sda8           109G   21G       87G  20% /opt 
/dev/loop1            1G    1G        0G 100% /snap/snapd/10492 
/dev/loop2            1G    1G        0G 100% /snap/spotify/42 
/dev/loop0            1G    1G        0G 100% /snap/core18/1932 
/dev/loop3            1G    1G        0G 100% /snap/snapd/10238 
/dev/loop4            1G    1G        0G 100% /snap/spotify/43 
tmpfs                 1G    1G        1G   1% /run/user/1000 
/dev/loop6            1G    1G        0G 100% /snap/core18/1944 

linux-1fn2:/var/cache/zypp # du -h --max-depth=1 /var 
104M    /var/log 
803M    /var/lib 
202M    /var/cache 
183M    /var/tmp 
191M    /var/adm 
0       /var/crash 
13M     /var/opt 
16K     /var/spool 
4.0K    /var/yp 
12K     /var/snap 
1.5G    /var 

linux-1fn2:/var/cache/zypp # fdisk -l 
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors 
Disk model: Samsung SSD 860 
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: EBF7F462-1D85-11EA-BEDD-9DAB636FD0BA 
 
Device         Start       End   Sectors   Size Type 
/dev/sda1       2048   1845255   1843208   900M Windows recovery environment 
/dev/sda2    1845256   2459663    614408   300M EFI System 
/dev/sda3    2459664   2721815    262152   128M Microsoft reserved 
/dev/sda4    2721816 354340327 351618512 167.7G Microsoft basic data 
/dev/sda5  504841704 749918151 245076448 116.9G Microsoft basic data 
/dev/sda6  354340864 354357247     16384     8M BIOS boot 
/dev/sda7  354357248 358551551   4194304     2G Linux swap 
/dev/sda8  749918208 976773134 226854927 108.2G Linux filesystem 
 
Partition table entries are not in disk order. 
 
 
Disk /dev/loop0: 55.4 MiB, 58052608 bytes, 113384 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
 
 
Disk /dev/loop1: 31.1 MiB, 32571392 bytes, 63616 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
 
 
Disk /dev/loop2: 169.3 MiB, 177528832 bytes, 346736 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
 
 
Disk /dev/loop3: 31.1 MiB, 32579584 bytes, 63632 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
 
 
Disk /dev/loop4: 173 MiB, 181366784 bytes, 354232 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
 
 
Disk /dev/loop6: 55.4 MiB, 58073088 bytes, 113424 sectors 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 


I am not understanding.

You have Leap 151. installed and a bit further you say you have on that system also Windows 8.1 and of course ins a dual boot setup. So far all normal.

And then you say you want “upgrading from 15.1 to 15.1 with Dual Boot setup”, which is what you already have!

Sorry, that was a typo. I mean 15.1 to 15.2 per the article I posted.

Thanks

I changed to subject of this thread and also in your first post. Now it makes sense.

Awesome. Thanks Henk! :good:

I did not look to that article. What is the use of looking to an article if you do not even understand waht the basic questions is? :wink:

And of course openSUSE has it’s own documentation which is what most people here will be used to: https://en.opensuse.org/SDB:System_upgrade

You seem to have 87GB free in /var. Should more then enough IMHO.

Skimming the marksei reference, it looks like a reasonable guide that follows what is in the SDB System Upgrade.

I recommend being more precise with your terminology, unlike many other distros we differentiate between an upgrade between major versions and updates which apply changes but stays within an OS version.

Regarding the df output you posted,
You should know that if you are installed with BTRFS, the standard filesystem commands may return inaccurate results.
You need to run the BTRFS version of your commands, eg the following to display the usage of /var/

btrfs filesystem df /var/

TSU

Thanks for the info on the System Upgrade Henk. I’ll look into that. I was just curious if someone has done an in place upgrade from 15.1 to 15.2 with a dual boot setup and if they encountered any issues. I really like SUSE Leap but it’s not as simple as upgrading Ubuntu distro’s so I just wanted to try and gather some info before proceeding.

tsu2, here’s that output. Again, I’m checking the Sytem Upgrade info Henk sent now.

linux-1fn2:/var/log # btrfs filesystem df /var/ 
Data, single: total=37.01GiB, used=19.58GiB 
System, single: total=32.00MiB, used=16.00KiB 
Metadata, single: total=2.00GiB, used=765.78MiB 
GlobalReserve, single: total=63.77MiB, used=0.00B 

linux-1fn2:/var/log # lsb_release -a 
LSB Version:    n/a 
Distributor ID: openSUSE 
Description:    openSUSE Leap 15.1 
Release:        15.1 
Codename:       n/a 


Many here (including me) did that on-line update from 15.1 to 15.2. Personally I do not use multi-boot with Microsoft systems But I think, because it only updates the packages and not any configurations it does not touch any multi-boot already functioning on your system. A new installation over the old one does however also mean a new installation of the multi-boot situation you need.

While I remember that some people reported problems here in the forums with such an upgrade . I remember most of them where about graphic cards (as usual). I can not remember multi-boot problems. But search for yourself.

And what I see from your execution of the statement tsu2 advised, there is room enough.

All my installations are multiboot. I did probably at least 12 upgrades from 15.1 to 15.2 using zypper dup. Others I did skips, such as from 42.2 or 15.0 directly to 15.2. I may have done one from all the way back to 13.1 or 13.2. I have 23 15.2 installations, of which maybe two were fresh. Not counting mirror issues, I remember no issues with the process or the results. Zypper is a superstar!

No.
Just avoid formatting EFI system partition during openSUSE install to preserve Windows files.

And I prefer upgrade using image on USB thumb drive.

Which means thar you can preserve the basic part of the multi boot installation when it is UEFI. Else I think Grub will be re-installed in an MBR situation. But, as I never multi-boot with MS Windows, I bow to the better information from those who do use it.

IMHO the best advice is to erase MD Windows from any plan (and the system). rotfl!

I fully agree! :wink:

However as with any other piece of software it’s easy to come up with some misconceptions about its capabilities and blame others for the resulting issues.

mrmazda

Thanks for this vote of confidence! I’m probably going to spend some time over the weekend trying the in place upgrade.

Henk

Appreciate the info and assistance.

Svyatko

Appreciate the info on the EFI. I’ll look into avoiding formatting EFI system partition during the install process.
I might also just do the update from an image on USB thumb drive since that sounds easier than doing it from the guide I posted.

I’m not a huge Windows fanboy by any means but I need it for my tuning software that connects to my car to change my car tunes for different octane settings and the like.

Much Appreciated!

During update with openSUSE’s image you may select “disable” additional repos instead of deleting them.
After update simply change “15.1” -> “15.2”.

You may substitute ‘$releasever’, see https://forums.opensuse.org/showthread.php/540572-Installing-Packman-Codecs?p=2938992#post2938992

Ok, thanks Svyatko & karlmistelberger](https://forums.opensuse.org/member.php/79833-karlmistelberger) !

I’m planning on doing the upgrade soon and feeling pretty good about it after posting this thread and going over the original article I posted and reviewing this one.

https://en.opensuse.org/SDB:System_upgrade

Thanks again and I’ll post back once I’ve applied 15.2 upgrade.

Hello, I was about to perform the upgrade from 15.1 to 15.2 since 15.1 is no longer supported. I’m following this guide.

https://www.marksei.com/how-to-upgrade-opensuse-leap-15-1-to-15-2/

So far I have ran > zypper update and manually updated my repos to point to the newer 15.2 URL.

Can anyone let me know if I can leave these enabled? I have disable all the other 3rd party repos

12 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes
13 | repo-oss | Main Repository | Yes | (r ) Yes | Yes

16 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes
17 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes

For example, this is how the repo was before I modified it manually with vi editor>
http-download.opensuse.org-2e0d688b

linux-1fn2:/etc/zypp/repos.d.old # cat http-download.opensuse.org-2e0d688b.repo
[http-download.opensuse.org-2e0d688b]
name=openSUSE:Leap:15.1:Update
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/update/leap/15.1/oss/
type=rpm-md
keeppackages=0

And this how it is pointing now:

linux-1fn2:/etc/zypp/repos.d # cat http-download.opensuse.org-2e0d688b.repo
[http-download.opensuse.org-2e0d688b]
name=openSUSE:Leap:15.2:Update
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/update/leap/15.2/oss/
type=rpm-md
keeppackages=0

My main question is should I try to repoint 12 , 13, 16, 17?

Here’s how that output looks:
EG Line 12 >
linux-1fn2:/etc/zypp/repos.d # cat repo-non-oss.repo
[repo-non-oss]
name=Non-OSS Repository
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/leap/$releasever/repo/non-oss/
path=/
type=rpm-md
keeppackages=0

Should I change the baseurl to this:??
http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/

I confirmed this URL exist but wasn’t sure how to proceed on these repos. I just want to make sure I have this setup right before running the final command:
zypper --releasever=15.2 dup

Here’s my current zypper repo output:

linux-1fn2:/etc/zypp/repos.d # zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                                | Name                               | Enabled | GPG Check | Refresh
---+--------------------------------------+------------------------------------+---------+-----------+--------
 1 | http-download.opensuse.org-2e0d688b  | openSUSE:Leap:15.2:Update          | Yes     | (r ) Yes  | Yes
 2 | https-download.opensuse.org-c0913809 | Education                          | Yes     | (r ) Yes  | Yes
 3 | https-download.opensuse.org-cc135091 | Education                          | Yes     | (r ) Yes  | Yes
 4 | https-download.opensuse.org-cca75afa | X11:RemoteDesktop                  | Yes     | (r ) Yes  | Yes
 5 | libdvdcss                            | libdvdcss                          | No      | ----      | ----
 6 | openSUSE-Leap-15.1-1                 | openSUSE-Leap-15.1-1               | No      | ----      | ----
 7 | packman                              | packman                            | No      | ----      | ----
 8 | repo-debug                           | Debug Repository                   | No      | ----      | ----
 9 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----
10 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----
11 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----
12 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes
13 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes
14 | repo-source                          | Source Repository                  | No      | ----      | ----
15 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----
16 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes
17 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes
18 | snappy                               | snappy                             | No      | ----      | ----
19 | vivaldi                              | vivaldi                            | No      | ----      | ----

Hi, I’m still looking into the question I posted above. I just found out the repos in question (12,13,16,17) are currently pointing to 15.1 release uri’s.

Should I look into getting those updated to point to 15.2 or will ‘$releasever’ some how automatically have it point to the 15.2 repos while upgrading?

I will run this final command once confirmed. Appreciate any help before I proceed!

Final command to upgrade in place from 15.1 to 15.2:

zypper --releasever=15.2 dup

Per this output (12,13,16,17) are pointing to 15.1 release:

linux-1fn2:~ # zypper repos --uri
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                                | Name                               | Enabled | GPG Check | Refresh | URI
---+--------------------------------------+------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------
 1 | http-download.opensuse.org-2e0d688b  | openSUSE:Leap:15.2:Update          | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.2/oss/
 2 | https-download.opensuse.org-c0913809 | Education                          | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/Education/openSUSE_Leap_15.2/
 3 | https-download.opensuse.org-cc135091 | Education                          | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/Education/openSUSE_Leap_15.2/
 4 | https-download.opensuse.org-cca75afa | X11:RemoteDesktop                  | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_L
 5 | libdvdcss                            | libdvdcss                          | No      | ----      | ----    | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/
 6 | openSUSE-Leap-15.1-1                 | openSUSE-Leap-15.1-1               | No      | ----      | ----    | hd:/?device=/dev/disk/by-id/usb-_USB_DISK_3.0_070A98DD31DF5141-0:0-part4
 7 | packman                              | packman                            | No      | ----      | ----    | http://packman.inode.at/suse/openSUSE_Leap_15.1/
 8 | repo-debug                           | Debug Repository                   | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/
 9 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/
10 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.1/oss/
11 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.1/non-oss/
12 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/
13 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.1/repo/oss/
14 | repo-source                          | Source Repository                  | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/
15 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/
16 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.1/oss
17 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.1/non-oss/
18 | snappy                               | snappy                             | No      | ----      | ----    | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_
19 | vivaldi                              | vivaldi                            | No      | ----      | ----    | http://repo.vivaldi.com/archive/rpm/x86_64


I managed to get upgraded to 15.2 by utilizing a few guides:
https://www.marksei.com/how-to-upgrade-opensuse-leap-15-1-to-15-2/https://en.opensuse.org/SDB:System_upgrade
https://www.cyberciti.biz/faq/how-to-upgrade-opensuse-15-1-to-15-2-using-the-cli/?unapproved=933931&moderation-hash=4b6947d6dfc3900a1bcd30a897b72242#comment-933931
The first one was sufficient and the second one helped and was recommended in this thread. So far everything seems to be ok. I noticed the graphics and icons look sharper in this release. I was just worried because I borked my dual boot when I loaded 15.1 on my Win 8.1 system and had to have nrickert and a few others help me recover. I’m going to double check and see if I need to do any cleanup or enable some repos now.

linux-1fn2:~ # lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Leap 15.2
Release:        15.2
Codename:       n/a
linux-1fn2:~ # zypper lr -u
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                                | Name                               | Enabled | GPG Check | Refresh | URI
---+--------------------------------------+------------------------------------+---------+-----------+---------+----------------------------------------------------------------------------------
 1 | http-download.opensuse.org-2e0d688b  | openSUSE:Leap:15.2:Update          | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.2/oss/
 2 | https-download.opensuse.org-c0913809 | Education                          | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/Education/openSUSE_Leap_15.2/
 3 | https-download.opensuse.org-cc135091 | Education                          | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/Education/openSUSE_Leap_15.2/
 4 | https-download.opensuse.org-cca75afa | X11:RemoteDesktop                  | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_Leap_15.2/
 5 | libdvdcss                            | libdvdcss                          | No      | ----      | ----    | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/
 6 | openSUSE-Leap-15.1-1                 | openSUSE-Leap-15.1-1               | No      | ----      | ----    | hd:/?device=/dev/disk/by-id/usb-_USB_DISK_3.0_070A98DD31DF5141-0:0-part4
 7 | packman                              | packman                            | No      | ----      | ----    | http://packman.inode.at/suse/openSUSE_Leap_15.1/
 8 | repo-debug                           | Debug Repository                   | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/
 9 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/
10 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.2/oss/
11 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.2/non-oss/
12 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/
13 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.2/repo/oss/
14 | repo-source                          | Source Repository                  | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/
15 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/
16 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.2/oss
17 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.2/non-oss/
18 | snappy                               | snappy                             | No      | ----      | ----    | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.1
19 | vivaldi                              | vivaldi                            | No      | ----      | ----    | http://repo.vivaldi.com/archive/rpm/x86_64