I am on SUSE 15 SP1.
I upgraded first to SUSE 15 SP3 - works.
I then upgrade to SUSE 15 SP5 - will not boot up. System goes into grub when it reboots after installing the SP5. I also manually rebooted the server.
I have upgraded offline using the 2 *.iso files provided by SUSE.
Please note my root disk is an LVM (Volume Manager).
This is what I have done:
- Boot into rescue mode using the DVD
- Enter lsblk and it shows the root and other LVM disks
tty1:rescue:/ # lsblk
NAME MAJ:MIM BM SIZE HO TYPE MOUNTPOINTS
loop0 7:0 0 111.8M 1 loop
loopl 7:1 0 15.3M 1 loop
loop2 7:2 0 42.8M 1 loop /mounts/mp_0000
loop3 7:3 0 50.3M 1 loop /mounts/mp_0001
loop4 7:4 0 4.1M 1 loop /mounts/mp_0002
loop5 7:5 0 111.8M 1 loop /parts/mp_0000
sda 8:0 0 60G 0 disk F-sdal 8:1 0 1G 0 part
sda2 8:2 0 59G 0 part
OS_VG-SWAP 253:1 0 8G 0 lvm
OS_VG-HOME_VOL 253:2 0 5G 0 lvm
OS_VG-TMP_VOL 253:3 0 5G 0 lvm
OS_VG-TRAK_VOL 253:4 0 5G 0 lvm
OS_VG-VAR_VOL 253:5 0 20G 0 lvm
OS_VG-ROOT_VOL 253:6 0 16G 0 lvm
sdb 8:16 0 2.5T 0 disk
sdbl 8:17 0 2.5T 0 part
DATA_VG-DATA_VOL_01 253:0 0 2.5T 0 lvm
So it appears that my lvm disks (mirrored) for the root partitions are still there.
How should I proceed?
Is this a problem that grub(grub2) is not configured correctly for lvm? If so what should the grub.cgf file look like for lvm?
I found this:
Using this tool and boot into rescue mode of DVD for SUSE 15 SP 5:
Logical volume —
LU Path /dev/OS_VG/ROOT_VOL
LU Name ROOT_VOL
UG Name OS_VG
LU UUID GuhAgP-IHSb-1KzV-NakQ-6 jNY-chPQ-ZGmqOW
LV Write Access read/write
LV Creation host, time TRAK-TRAINO1, 2020-08-03 04:21:04 +0000
LU Status available
LU Size 16.00 GiB
Current LE 4096
Read ahead sectors auto
- currently set to 1024
Block device 253:6
tty1:rescue:~ #mount /dev/OS_VG/ROOT_VOL /mnt
tty1: rescue:~ # cd /mnt
tty1: rescue: /mnt # ls
bin deu home lib64 opt root sbin srv tmp usr
boot etc lib mnt proc run selinux sys trak var
tty1: rescue: /mnt # cd boot
tty1: rescue:/mnt/boot # ls
The last ls shows no files in /boot on the root lvm.
I think this is the problem.
Should this directory hold the linux kernel?
Firstly by “SUSE 15” I’m guessing you mean “SLES 15” (and not openSUSE Leap 15)? Note SLES is the product, SUSE is the company.
How did you upgrade from SLES15 SP1 to SP3 and then to SP5 - online or offline upgrades?
Do you have Long Term Service Pack Support (LTSS)? I ask this because skipping service packs is only supported with LTSS - see Release Notes | SUSE Linux Enterprise Server 15 SP5 .
If you have backups/snapshots I’d suggest restoring/reverting to SLES15 SP3 then upgrading to SP4 to see if that works.