I have made a kernel upgrade.
New upgrade did not loaded.
Realized: unfortunately there were some hardware errors
Motherboard, memory, processor changed.
Then no hardware errors now.
Boot stopped again: freezing execution.
And there were no previous kernel versions. No way back, no way ahead.
Please help.
Your best way forward is probably to install Leap 15.2.
The alternative: boot from the 15.1 install medium, booting to rescue mode. Hmm, booting the 15.2 installer to rescue mode would probably also work.
Login as root.
Mount your root partition at â/mntâ
Then some bind mounts:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
Then go to âchrootâ mode and mount everything else:
chroot /mnt
mount -a
exit ## exit from "chroot"
From there, you can use âchroot /mntâ whenever you want to get into your broken system. You should be able to install a kernel, using âzypper installâ at the command line (within the âchrootâ session).
However, I still recommend just installing Leap 15.2. It is probably easier. And Leap 15.1 is near end-of-life anyway.
Thank you. It was a very-very-old OpenSuSE system, yearly updated. I will download a 15.2 distribution and try that what you propose.
Reinstall 15.2 seems to be not a good idea, I think.
If I use âUpgradeâ function, the distribution upgrades every software, except from the kernel⌠so the defected kernel remained.
If I use âInstallâ function I should repeat every partitioning details (there are some) again and if I would make just only one mistake, the whole hardware and software system will fall apart into several pieces⌠I did not try this.
When I started installation DVD upgrade, I reached emergency mode in the system (Yast and so on).
Could I rebuild the existing kernel with Software Management functioning or by with the Zypper force?
Your description of what you did and your description of the current state of the system confuses me. Did you already boot 15.1 with the new hardware, then attempt to upgrade to 15.2?
If not, try the chroot method suggested by nrickert, skipping the last line (exit) right away if you find networking and YaST and/or Zypper working as expected, then
mkinitrd
should be all you need. If mkintrd fails to make a bootable system, repeat after a reboot again using installation media rescue boot and chrooting, using this instead of mkinitrd:
zypper -v in -f kernel-default
You can try a new installation again without any necessity to do any repartitioning. At the partitioning step, select expert, then choose to reuse existing partitioning, without formatting the /home partition if it is separate. If you had a separate partition for /home, no personal data in /home would be lost, only the non-default programs would be lost, which you should be able to add back with YaST or Zypper.
Yeah,i also think so.