• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[Gelöst] Update von 15.2 auf 15.3

egweber1

Hacker
Hallo, wie sollte ich ein Update am besten durchführen?
Habe 15.2 auf /dev/nvme1n1 neben Windows 10 auch auf /dev/nvme0n1.
Booten erfolgt mit Grub2 für EFI.
Was soll ich zur Installation herunterladen und wie durchführen?
Welche Repos werden benötigt?
Danke vorab.
:D
 

mkossmann

Member
Welche Repos werden benötigt?
Alle Repos, die du benutzt, sollten in einer Version für 15.3 vorliegen. Schau dir die URLs dieser Repos an . Da ist normalerweise ein 15.2 drin. Dann kannst du mit einem Webbrowser checken, ob die URL mit 15.3 statt 15.2 auch existiert. Wenn alle Repos in der 15.3 Version existieren, sollte ein "zypper dup --releasever 15.3" ausreichen um das Upgrade durchzuführen.

Wie immer ist ein Backup vor dem Upgrade empfehlenswert
 

Sauerland

Ultimate Guru
mkossmann schrieb:
Welche Repos werden benötigt?
Alle Repos, die du benutzt, sollten in einer Version für 15.3 vorliegen. Schau dir die URLs dieser Repos an . Da ist normalerweise ein 15.2 drin. Dann kannst du mit einem Webbrowser checken, ob die URL mit 15.3 statt 15.2 auch existiert. Wenn alle Repos in der 15.3 Version existieren, sollte ein "zypper dup --releasever 15.3" ausreichen um das Upgrade durchzuführen.

Wie immer ist ein Backup vor dem Upgrade empfehlenswert
Nicht so ganz, releasever funktioniert nur, wenn in der URL der Repos auch ${releasever} in der URL des Repos steht:
https://en.opensuse.org/SDB:System_upgrade#Upgrading_from_the_command_line
(Der 1. Teil ist auch zu lesen)

Ansonsten nach der Anleitung machen oder per Hand 15.2 in 15.3 in der URL ersetzen.

Danach ein
Code:
zypper dup --allow-vendor-change --releasever 15.3
--allow-vendor-change erspart Dir eineiges an Tiparbeit, zypper fragt nicht so oft nach.
--releasever 15.3 nur wenn man obiges gemacht hat, ansonsten nicht eingeben.
 
OP
egweber1

egweber1

Hacker
Hier die Repos die ich nehmen würde, außer das für Libre-Office gibt es nicht für 15.3
Code:
Packman Goettingen				https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/
Haupt-Repository (OSS)			http://download.opensuse.org/distribution/leap/15.3/repo/oss/
Non-OSS Repository				http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/
Hauptaktualisierungs-Repository/OSS)	http://download.opensuse.org/update/leap/15.3/oss
Aktualisierungs-Repository (NoOSS)	http://download.opensuse.org/update/leap/15.3/non-oss

Lediglich für Libre-Office finde ich nichts:
Code:
Libre-Office					http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Leap_15.3/
Objekt nicht mehr verfügbar!	Error 404
Reichen die aus?
Dann nur noch
Code:
# zypper --releasever=15.3 ref
# zypper --releasever=15.3 dup
ausführen und neu starten?
 
Das Repo http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Leap_15.3/. hätte ich in Yast deaktiviert, entfernt. Das Repo existiert nicht.

Packman Repo - die Priorität in Yast auf 20 setzen.

Dann zurück auf die Konsole und
Code:
zypper lr -d
absetzen.

Zeigen hier alle URL auf 15.3?

Durch drücken auf die Strg Taste und gleichzeitigen Mausklick auf die einzelnen URL werden die URL geöffnet?

Jetzt hätte ich
Code:
zypper dup --allow-vendor-change
eingegeben und falls dort welche Abhängigkeiten Meldungen erscheinen dann das Upgrade abgebrochen und nachgefragt.

Auch das Posten von
Code:
zypper lr -d
hilft extrem.

Grüße, Heinz-Peter
 
OP
egweber1

egweber1

Hacker
Habe jetzt update gemacht. Nach Neustart blieb es nach Eingabe vom normalen Benutzer hängen. Mit Konsoleneingabe dann als Root startx. Danach Repositories aktualisiert und shutdown -r now durchgeführt. Nun habe ich meinen Desktop mit Verknüpfungen und allem wieder.
Zusätzlich sind jetzt folgende Repos vorhanden:

  • Update repository of openSUSE Backports http://download.opensuse.org/update/leap/15.3/backports/
    Update repository with debuginfo for updates from SUSE Linux Enterprise 15 http://download.opensuse.org/debug/update/leap/15.3/sle/
    Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports http://download.opensuse.org/update/leap/15.3/backports_debug/
    Update repository with updates from SUSE Linux Enterprise 15 http://download.opensuse.org/update/leap/15.3/sle/
Jetzt erst mal durch testen. Danke!
 
OP
egweber1

egweber1

Hacker
Habe zwischendurch mal Windows gestartet. Dann war nur noch der Windows Bootlader da.
Mit grub2 CD dann gestartet. Mit erstem Eintrag und Steuerung D ist dann mein System wieder da und ich kann mich anmelden.
Aber mit Yast kann ich zwar Bootlader schreiben, ist aber kein Eintrag da. Muss jetzt immer mit grub2 CD starten. Wie kann ich den Bootloader wieder herstellen?
 
OP
egweber1

egweber1

Hacker
efibootmgr -v
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0000,0001,0003
Boot0000* Windows Boot Manager HD(2,GPT,4a65a02d-e14f-41d6-9807-a65dd348005e,0xfa000,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........s.K.I.N.G.S.T.O.N. .S.A.2.0.0.0.M.8.2.5.0.G....................A...........................&.h7q.......6..Gd-.;.A..MQ..L.5.0.0.2.6.B.7.6.8.3.7.7.1.8.C.A........BO..NO........u.T.O.S.H.I.B.A. .H.D.W.D.1.1.0....................A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . .6. .3.9.2.V.1.J.S.N........BO..NO........u.W.D.C. .W.D.5.0.0.0.A.A.D.S.-.0.0.S.9.B.0....................A.................................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.V.A.C.9.9.2.9.3.2.3........BO..NO........u.W.D.C. .W.D.1.0.E.Z.R.X.-.0.0.L.4.H.B.0....................A.................................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.2.J.S.K.F.U.E.H........BO..NO........y.L.e.x.a.r. .S.S.D....................A...................................................0..Gd-.;.A..MQ..L.J.1.9.8.1.1.J.0.0.0.9.0.9........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........u.D.R.W.-.2.4.D.5.M.T....................A.................................>..Gd-.;.A..MQ..L.M.K.J.G.T.8.5.E.2.9. .2. . . . . . . . ........BO
[lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 16M 0 part
└─sda2 8:2 0 931,5G 0 part /Windows/D:
sdb 8:16 0 931,5G 0 disk
└─sdb1 8:17 0 931,5G 0 part /Daten
sdc 8:32 0 465,8G 0 disk
└─sdc1 8:33 0 465,8G 0 part /sicherung
sr0 11:0 1 11,9M 0 rom
nvme0n1 259:0 0 232,9G 0 disk
├─nvme0n1p1 259:1 0 499M 0 part
├─nvme0n1p2 259:2 0 99M 0 part
├─nvme0n1p3 259:3 0 16M 0 part
└─nvme0n1p4 259:4 0 232,3G 0 part
nvme1n1 259:5 0 238,5G 0 disk
├─nvme1n1p1 259:6 0 256M 0 part /boot/efi
├─nvme1n1p2 259:7 0 30G 0 part /
├─nvme1n1p3 259:8 0 8G 0 part [SWAP]
└─nvme1n1p4 259:9 0 200,2G 0 part /home
gparted -l
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
No protocol specified
======================
libparted : 3.2
======================

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:03.038: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:03.038: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:03.038: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Aufruf von stat für Gerät -l schlug fehl - Datei oder Verzeichnis nicht gefunden.

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:07.806: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:07.806: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gpartedbin:6550): GLib-GIO-CRITICAL **: 08:45:07.806: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Verbindung verweigert
[# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.

# Uncomment to set your own custom distributor. If you leave it unset or empty, the default
# policy is to determine the value from /etc/os-release
GRUB_DISTRIBUTOR=
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=7
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent resume=/dev/disk/by-uuid/83086973-fb36-4248-b2ea-227cce9f5d1e quiet mitigations=auto"
GRUB_CMDLINE_LINUX=""

# Uncomment to automatically save last booted menu entry in GRUB2 environment

# variable `saved_entry'
# GRUB_SAVEDEFAULT="true"
#Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
# GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#Uncomment to disable graphical terminal (grub-pc only)

GRUB_TERMINAL="gfxterm"
# The resolution used on graphical terminal
#note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
# GRUB_DISABLE_LINUX_UUID=true
#Uncomment to disable generation of recovery mode menu entries

# GRUB_DISABLE_RECOVERY="true"
#Uncomment to get a beep at grub start

# GRUB_INIT_TUNE="480 440 1"
GRUB_BACKGROUND=
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
SUSE_BTRFS_SNAPSHOT_BOOTING="true"
GRUB_USE_LINUXEFI="true"
GRUB_DISABLE_OS_PROBER="false"
GRUB_ENABLE_CRYPTODISK="n"
GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
quote]cat /etc/default/grub
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.

# Uncomment to set your own custom distributor. If you leave it unset or empty, the default
# policy is to determine the value from /etc/os-release
GRUB_DISTRIBUTOR=
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=7
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent resume=/dev/disk/by-uuid/83086973-fb36-4248-b2ea-227cce9f5d1e quiet mitigations=auto"
GRUB_CMDLINE_LINUX=""

# Uncomment to automatically save last booted menu entry in GRUB2 environment

# variable `saved_entry'
# GRUB_SAVEDEFAULT="true"
#Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
# GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#Uncomment to disable graphical terminal (grub-pc only)

GRUB_TERMINAL="gfxterm"
# The resolution used on graphical terminal
#note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
# GRUB_DISABLE_LINUX_UUID=true
#Uncomment to disable generation of recovery mode menu entries

# GRUB_DISABLE_RECOVERY="true"
#Uncomment to get a beep at grub start

# GRUB_INIT_TUNE="480 440 1"
GRUB_BACKGROUND=
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
SUSE_BTRFS_SNAPSHOT_BOOTING="true"
GRUB_USE_LINUXEFI="true"
GRUB_DISABLE_OS_PROBER="false"
GRUB_ENABLE_CRYPTODISK="n"
GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
 

josef-wien

Ultimate Guru
Die Ausgabe von efibootmgr -v ist unvollständig (oder Dein UEFI entfernt die Daten der "Super Grub2 Disk", aber nicht deren Eintragungen bei BootCurrent und BootOrder).

Da ich über die von openSUSE auf der EFI-Systempartition hinterlegten Daten nicht Bescheid weiß, brauche ich Informationen dazu (als root):
Code:
ls -lR /boot/efi
Verwende nicht "quote", sondern "code" für Deine Ausgaben.
 
Hallo egweber1,

Du machst uns aber nicht leichter wenn Du die Ausgaben statt in code </> in quote zeigst.

Code:
Code:
 Konsole Ausgabe

Quote:

Du siehst den Unterschied?

Das ist nicht böse gemeint aber es nervt solche Konsoleausgaben zu lesen.

Grüße, Heinz-Peter
 

gehrke

Administrator
Teammitglied
Ähm ja, nun auch von offizieller Seite: Bitte <Code>-Tags verwenden:
https://linux-club.de/forum/viewtopic.php?f=92&t=105750

Vielen Dank.
 
egweber1; Dein Leap ist installiert auf der nvme1n1. Versuche nach dem Neustart mit der Taste F2 oder F10 oder ... (die entsprechende Taste wird Dir bekannt) in UEFI zu kommen und mit der nvme1n1 zu booten
Code:
nvme1n1 259:5 0 238,5G 0 disk
├─nvme1n1p1 259:6 0 256M 0 part /boot/efi
├─nvme1n1p2 259:7 0 30G 0 part /
├─nvme1n1p3 259:8 0 8G 0 part [SWAP]
└─nvme1n1p4 259:9 0 200,2G 0 part /home

Grüße, Heinz-Peter
 
OP
egweber1

egweber1

Hacker
Code:
weber@localhost:~> ls -lR /boot/efi
/boot/efi:
insgesamt 12
drwxr-xr-x 2 root root 4096  4. Apr 2020  $RECYCLE.BIN
drwxr-xr-x 6 root root 4096 15. Jun 09:01 EFI
drwxr-xr-x 3 root root 4096 21. Feb 2020  System Volume Information

/boot/efi/$RECYCLE.BIN:
insgesamt 1212
-rwxr-xr-x 1 root root      70 15. Jun 18:45 $IKU3A0S.cfg
-rwxr-xr-x 1 root root      70 15. Jun 18:45 $ITGW8P4.efi
-rwxr-xr-x 1 root root     155 15. Jun 18:21 $RKU3A0S.cfg
-rwxr-xr-x 1 root root 1222656 15. Jun 18:21 $RTGW8P4.efi
-rwxr-xr-x 1 root root     129  4. Apr 2020  desktop.ini

/boot/efi/EFI:
insgesamt 16
drwxr-xr-x 2 root root 4096 15. Jun 18:21 boot
drwxr-xr-x 4 root root 4096 22. Nov 2020  EFI
drwxr-xr-x 3 root root 4096 30. Dez 18:16 opensuse
drwxr-xr-x 3 root root 4096 15. Jun 09:01 sles

/boot/efi/EFI/boot:
insgesamt 1228
-rwxr-xr-x 1 root root 319488 16. Jun 07:44 bootx64.efi
-rwxr-xr-x 1 root root  86352 15. Jun 19:09 fallback.efi
-rwxr-xr-x 1 root root 846240 15. Jun 19:09 MokManager.efi

/boot/efi/EFI/EFI:
insgesamt 8
drwxr-xr-x 2 root root 4096 22. Nov 2020  boot
drwxr-xr-x 3 root root 4096 22. Nov 2020  opensuse

/boot/efi/EFI/EFI/boot:
insgesamt 3728
-rwxr-xr-x 1 root root 1336112 16. Nov 2020  bootx64.efi
-rwxr-xr-x 1 root root 1209656 16. Nov 2020  fallback.efi
-rwxr-xr-x 1 root root 1263312 16. Nov 2020  MokManager.efi

/boot/efi/EFI/EFI/opensuse:
insgesamt 4096
-rwxr-xr-x 1 root root      58 16. Nov 2020  boot.csv
drwxr-xr-x 2 root root    4096  2. Jul 2020  fw
-rwxr-xr-x 1 root root   63744 24. Aug 2020  fwupdx64.efi
-rwxr-xr-x 1 root root     155 16. Nov 2020  grub.cfg
-rwxr-xr-x 1 root root 1197936 16. Nov 2020  grub.efi
-rwxr-xr-x 1 root root  311296 16. Nov 2020  grubx64.efi
-rwxr-xr-x 1 root root 1263312 16. Nov 2020  MokManager.efi
-rwxr-xr-x 1 root root 1336112 16. Nov 2020  shim.efi

/boot/efi/EFI/EFI/opensuse/fw:
insgesamt 0

/boot/efi/EFI/opensuse:
insgesamt 3408
-rwxr-xr-x 1 root root      58 16. Jun 12:47 boot.csv
drwxr-xr-x 2 root root    4096  2. Jul 2020  fw
-rwxr-xr-x 1 root root   63744 24. Aug 2020  fwupdx64.efi
-rwxr-xr-x 1 root root   77592  9. Apr 16:58 fwupx64.efi
-rwxr-xr-x 1 root root     155 16. Jun 12:47 grub.cfg
-rwxr-xr-x 1 root root 1222656 16. Jun 12:47 grub.efi
-rwxr-xr-x 1 root root  319488 16. Jun 12:47 grubx64.efi
-rwxr-xr-x 1 root root  846240 16. Jun 12:47 MokManager.efi
-rwxr-xr-x 1 root root  939800 16. Jun 12:47 shim.efi

/boot/efi/EFI/opensuse/fw:
insgesamt 0

/boot/efi/EFI/sles:
insgesamt 80
drwxr-xr-x 2 root root  4096 15. Jun 09:01 fw
-rwxr-xr-x 1 root root 77736 15. Jun 09:01 fwupx64.efi

/boot/efi/EFI/sles/fw:
insgesamt 0

/boot/efi/System Volume Information:
insgesamt 12
drwxr-xr-x 3 root root 4096 27. Feb 2020  EDP
-rwxr-xr-x 1 root root   76 21. Feb 2020  IndexerVolumeGuid
-rwxr-xr-x 1 root root   12 21. Feb 2020  WPSettings.dat

/boot/efi/System Volume Information/EDP:
insgesamt 4
drwxr-xr-x 2 root root 4096 27. Feb 2020  Recovery

/boot/efi/System Volume Information/EDP/Recovery:
Habe versucht über UEFI mit F2 und dann F8 die SSD auszuwählen,
starte dann und es kommt: Missing operating system
Computer friert dann ein. Bei beiden SSD.
 
OP
egweber1

egweber1

Hacker
Ich starte jetzt den Computer so:
Supergrub 2 DVD ist eingelegt.
Starte UEFI mit F2.
Suche mit F8 dann UEFI:DRW-24d5MT, Partition1
Starte damit und gebe in Supergrub Everything ein.
Hier wähle ich:
Linux /boot/vmlinuz-5.3.18-59.5-default (hd3,gpt2)
Dann mit Steuerung und D auf fortfahren.
Hier erscheint dann der Startbildschirm, den ich vorher hatte.
Melde mich dann als normaler Benutzer an.
 
OP
egweber1

egweber1

Hacker
Hier noch einmal meine Bootlader-Optionen, die ich so gespeichert habe:
Code:
https://paste.opensuse.org/61683281
https://paste.opensuse.org/22109290
https://paste.opensuse.org/16096083
 
Oben