So I upgraded this box. It is a real one, no VM. It runs just TVHeadend and OScam. I followed this procedure, mutatis mutandis: https://yourlinuxguy.com/?p=1201
The box is a noname with an Asus motherboard. The motherboard has an Intel HW RAID, configured as a 2Tb drive:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─md126 9:126 0 1.8T 0 raid5
├─md126p1 259:0 0 156M 0 part /boot/efi
├─md126p2 259:1 0 2G 0 part [SWAP]
├─md126p3 259:2 0 40G 0 part /
└─md126p4 259:3 0 1.8T 0 part /home
sdb 8:16 0 931.5G 0 disk
└─md126 9:126 0 1.8T 0 raid5
├─md126p1 259:0 0 156M 0 part /boot/efi
├─md126p2 259:1 0 2G 0 part [SWAP]
├─md126p3 259:2 0 40G 0 part /
└─md126p4 259:3 0 1.8T 0 part /home
sdc 8:32 0 931.5G 0 disk
└─md126 9:126 0 1.8T 0 raid5
├─md126p1 259:0 0 156M 0 part /boot/efi
├─md126p2 259:1 0 2G 0 part [SWAP]
├─md126p3 259:2 0 40G 0 part /
└─md126p4 259:3 0 1.8T 0 part /home
sr0 11:0 1 4.3G 0 rom /run/media/root/openSUSE-Leap-42.3-DVD-x86_64033
The system was initially set up as version 13.x ack in 2016 and then upgraded to 42.3. Reason for the upgrade now was to support a new tuner stick.
The upgrade ran without a hitch, but after a rebootm, all I got was a black screen. I mucked around and managed to get the Grub menu, but none of the alternatives worked, flashed briefly and returned to the menu.
Booted with the 42.3 DVD and selected to run the 15.2 kernel from there. That seems to work. How do I now fix the sysstem so that I can oot the nomal way?
You did NOT follow the official openSUSE guide. The one you followed might be OK, but do you really want us to study this first to get an idea of what you probably did?
Upgrading by doing either the Upgrade function from the ISO, or by changing repos URLs and doing it on-line is officialy only supported for one version step. Thus 42.3 > 15.0, 15.0 > 15.1, 15.1 > 15.2. You jumped over two versions. This might function without much problems, but OTOH, when something goes wrong it will be difficult to pinpoint to the cause.
A technical thing about posting code like your lsblk here on the forums:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
And, now you know how to post it, it might be usefull to post the repo list as it is after the changes:
zypper lr -d
As “black screen” often means problems with video card/driver, you might also tell which video card you use.
It is also not quite clear to me what the exact sequence during boot is. Please describe that more step by step so we know exactly when can still be seen and when the “black screen” arrives.
OK. Fair enough. I was going to upgrade using the ISO, but when I tried it complained that it could not proceed because I booted from a DVD, but the system to upgrade was UEFI.
Yes. I know that a black screen usually points to the vide, but this box has no odd video, only the onboard from the motherboard, ASUS Z97P.
So basically when I try and boot from an OpenSuse 15.2 DVD and try to boot the system on disk, then it does not find it. If I do so from the 42.3 DVD it finds the system just fine and boots?
One can facilitate more precision and detail in describing by striking ESC right after making the Grub selection, or striking the E key at the Grub menu, and appending to, or removing from, the (usually wrapped) line that begins with linu various parameters. plymouth.enable=0 does roughly the same thing as ESC, while appending nomodeset](SDB:nomodeset: Work Around Graphic Upgrade & Installation Obstacles - openSUSE Wiki) can be added to put your graphics device into a crude and slow fallback mode to facilitate troubleshooting, reconfiguring and collecting logs. From any rescue boot, collect input with output from efibootmgr to paste here within code tags as hcvv and the provided URL describe. Input with output from inxi -GSapz will give us your graphics device and other useful information.
That brought back Grub, but each entry does nothing. Screen flashes and if I just leave it I get “Failed to boot both default and fallback”.
If I boot from the OpenSuse 15.2 DVD, then select More, then Boot linux. I get “No bootable system found”, but I can start a rescue system and mount the partition manually.
If I boot from the OpenSuse 42,3 DVD, then select More, then Boot linux. I get “Analysing disks”, then a list with one entry:
md126p3 (40Gb btrfs) - OpenSuse Leap 15.2
Select that and I get “Select kernel” with two alternatives for the 15.2 kernel:
.60
.63
Selecting .60 just hangs later
Selecting .63 gives me an option to select alternate names for the boot partition and I select md126p3
Then “Enter kernel options”# where I hit Enter and the system runs
uname -a
Linux tvburk 5.3.18-lp152.63-default #1 SMP Mon Feb 1 17:31:55 UTC 2021 (98caa86) x86_64 x86_64 x86_64 GNU/Linux
I will have to leave it as this for tonight as my family will kill me is the TV does not work But I can continue tomorrow.
The bold indicates GDM and Intel Haswell GT1 graphics class, of which I have one, which is the primary subject of this open bug. So, there is some possibility you are affected. NAICT, mine has not been, but I’m not using GDM, which you are. Switching to LightDM might be a workaround pending a proper fix of that bug.
Booted with the 42.3 DVD and selected to run the 15.2 kernel from there. That seems to work. How do I now fix the sysstem so that I can oot the nomal way?
You have ESP; this indicates you were using UEFI. What boot mode - UEFI or legacy BIOS - did you use on your system? In what mode was openSUSE installed? You need to boot live image in the same mode.
ls -lR /boot
/boot:
total 0
lrwxrwxrwx 1 root root 26 Mar 1 15:09 grub2 → /mounts/mp_0001/boot/grub2
When I asked you to provide this output I referred to situation when / and /boot/efi were mounted, presumably using correct partitions. It makes no sense to show it from within rescue system.
OK, mount /dev/md126p1 and show its content then.