I’ve just migrated to Leap 16.0 using migration-tool. Unfortunately, during this process I checked something related to Agama (the description suggested me that it might be useful) and then after reboot I see loading icon and nothing is happening.
To fix this, I downloaded offline image, verified the checksum and burned it on USB stick using balenaEtcher on MX Linux (my backup machine). After booting this image, if I choose install Leap 16.0, the black screen with blinking cursor is appearing and again, nothing is happening. If I choose rescue option, I see CLI, a lot of logging data, then root password (not mine) and agama login (what for?). I don’t understand how to play with this.
Previously, I always upgraded the system using a new image on the USB stick. This was easy. I know that migration-tool is even easiest but by adding additional options it turned out more complicated.
Please, if you can, suggest me what type of output can I provide to resolve this issue.
Probably yes. I flashed the image again using dd and setting of=/dev/sdb instead of of=dev/sdb2 as I did previously (so this could cause some errors).
After booting the behavior is the same, the black screen with blinking cursor. If I click Alt + F2 combination or F3, I see welcome message of Agama installer waiting for agama’s login. The same I described above. But If I release the buttons, everything disappear instantly. Nevertheless, I would like to skip this Agama, I’m able to reinstall the system but I don’t know how. Having this image on USB stick, I’m not even able to go the setting where I choose which partition can I format.
I set nomodeset and I was able to load Agama interface. Unfortunately, only option I had was installation of a new version that might erase my home/ directory.
Because after migration I still see on menu that I can load Leap 16.0, I decided to set nomodeset for upgraded system. Now I see on the console window:
[!!!!!!] Failed to load SELinux policy.
So previously I only saw blinking cursor. Any hint what is going on?
I added and it didn’t help. The message was still there.
I run Rescue System from USB Stick and I see Agama login CLI panel. I also have information that Network is not available. I can log in as agama user but I don’t know what else to do.
Ok, I’ve been struggling for a while with the system. From the boot menu I chose recovery mode and I was able to log in as a root. I connected to the network (there was not Wi-Fi connection). For the reason that I had a mess in repositories, I disabled unofficial ones leaving only those related to Leap 16.0. During the update I saw some conflicts with my Nvidia drivers. Ultimately I finished update and uninstall everything related to Nvidia drivers.
After reboot the system was still loading. So I edited boot commands by replacing quite splash with nomodeset and replacing selinux=1 with selinux=0 (before the update selinux wasn’t defined) . Then, I was able to log in to my account. I see my desktop but with terrible low resolution.
What actions should I take to make the system look like it has just been freshly installed?
That is because of nomodeset.
Add the Nvidia Repo for Leap 16.0 and install the Nvidia drivers.
Start once more without nomodeset and maybe without selinux=0
I have done an Update from Leap 15.6 to Leap 16.0 with the opensuse-migration-tool from Leap 15.6 in the last 1,5 hours. Packman and Nvidia was enable with ${releasever}.
8800 packages updated. Nvidia working (setup of 3 Monitors was a little bit confused)
Thank you for your hints. I’m able to use system without nomodeset but selinux=0 must be set. Otherwise, I can’t log in. However, I still have some mess like missing SELinux Policy. For example, during loading the system I see some failed units regarding GNOME, Virtual Console Setup etc.
I rebooted the system from the USB Stick. I tried again to use Rescue System (or find something like Repair Your System). Choosing Rescue System, I see agama login and root password (in CLI). I can log in as a root but I don’t know what next.
Guys, I need your help. I’m able to give you any information you need. I don’t understand why Rescue System is not able to detect and fix my bugs. I don’t understand why choosing fresh installation I don’t see option to leave my /home directory untouched. I remember that previous version of openSUSE had such option.
This was my mistake. Nevertheless, the listing depicts errors related to packages that have been installed.
To use the system, I still need to set selinux to 0. In other words, installing policies didn’t help. How to resolve this? The easiest way is to reset the root dir. Usually, I was able to do this but Agama installer kills me (I don’t see option where Agama is aware that there is already Leap 16.0 installed and suggests me to leave /home directory and format only /. Contrary, it tells me that everything will be removed).
Where I can find the help? It seems that openSUSE community is the best place. Suggesting me that I can install some package doesn’t work here. There is a lot of mess in dependencies as you can see.
Resolve what? You never showed the actual errors, just repeated “it did not work” over and over again.
For a start you could follow the Portal:SELinux/Setup - openSUSE Wiki and tell what problems and at which step you get with the actual logs/error messages/etc.
I mentioned what I want to resolve many times. Again: you have broken Leap 16.0, how to use the USB Stick, to install/fix/repair/reinstall fresh Leap 16.0 without erasing /home directory? I did it a few times in the past with the previous Leap versions and other distro.
If I run Rescue System from the USB Stick I see CLI with login into Agama. If I log in there with temporary (displayed) root password, I’m the root. And what else? Nothing. Now I’m typing this message from Leap 16.0 so I can also be the root here. Going to Rescue System I expect that there will be some action to do (this is common approach in distros I worked in the past).