How to repair OpenSuSE?
Hello, I have an openSuSE 15.2 x64 system which somehow managed to lose it's boot directory and perhaps a few other system files, I dunno. So it no longer boots up. I managed to restore it, using a live USB stick, a bit to the point where I could get it to boot to a command prompt but not to the point where I could use the network. Something about firewalld and dbus not starting was keeping me from getting any further. So I decided to try an repair the installation from a regular installation USB stick. I thought OpenSuSE used to supply a repair option but was unable to find it on either the live or the installation USB sticks. So I tried to use the upgrade option instead, but that did not repair or replace any existing files on my system, it just installed files that were needing to be upgraded from what was already installed. (just a few files were touched) And that actually made the system worse, I cannot even boot up to the command prompt for a single shell. Instead now the system goes into an endless cycle of error messages and will not boot up at all. So how does one repair OpenSuSE these days? Can I do it from a live CD? If so how? Thanks in advance, for all offers of help and advice! Marc... -- *"The Truth is out there" - Spooky* *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed and the electronic signature is attached. If you know how, you can use my public key to prove this email indeed came from me and has not been modified in transit. My public key, which can be used for sending encrypted email to me also, can be found at - https://keys.openpgp.org/search?q=marc@marcchamberlin.com or just ask me for it and I will send it to you as an attachment. If you don't understand all this geek speak, no worries, just ignore this explanation and ignore the signature key attached to this email (it will look like gibberish if you open it) and/or ask me to explain it further if you like./)
On 2022-03-12 17:16, Marc Chamberlin wrote:
Hello, I have an openSuSE 15.2 x64 system which somehow managed to lose it's boot directory and perhaps a few other system files, I dunno. So it no longer boots up. I managed to restore it, using a live USB stick, a bit to the point where I could get it to boot to a command prompt but not to the point where I could use the network. Something about firewalld and dbus not starting was keeping me from getting any further. So I decided to try an repair the installation from a regular installation USB stick. I thought OpenSuSE used to supply a repair option but was unable to find it on either the live or the installation USB sticks. So I tried to use the upgrade option instead, but that did not repair or replace any existing files on my system, it just installed files that were needing to be upgraded from what was already installed. (just a few files were touched) And that actually made the system worse, I cannot even boot up to the command prompt for a single shell. Instead now the system goes into an endless cycle of error messages and will not boot up at all.
So how does one repair OpenSuSE these days? Can I do it from a live CD? If so how? Thanks in advance, for all offers of help and advice! Marc...
At this point, I would suggest doing a complete re-install. The 15.2 OSS and non-OSS repositories are still available, so if you want that version, you can at least get it to a bootable system. Whether or not everything you had before is still available for 15.2 is anyone's guess (eg. Packman, etc). However, I would recommend that you install 15.3 instead, since 15.2 is no longer in support, and a lot of packages will be ancient, potentially full of security holes. It might be a good idea to format the boot drive as well as /usr, if that is on a separate partition, but do not format /home to avoid losing any personal data (I assume that you do have /home on its own partition -- if not, you should).
On 2022-03-13 00:16, Marc Chamberlin wrote:
Hello, I have an openSuSE 15.2 x64 system which somehow managed to lose it's boot directory and perhaps a few other system files, I dunno. So it no longer boots up. I managed to restore it, using a live USB stick, a bit to the point where I could get it to boot to a command prompt but not to the point where I could use the network. Something about firewalld and dbus not starting was keeping me from getting any further. So I decided to try an repair the installation from a regular installation USB stick. I thought OpenSuSE used to supply a repair option
No, it does not. It did in the distant past, but the thing was failing more and more each year and eventually got removed.
but was unable to find it on either the live or the installation USB sticks. So I tried to use the upgrade option instead, but that did not repair or replace any existing files on my system, it just installed files that were needing to be upgraded from what was already installed. (just a few files were touched) And that actually made the system worse, I cannot even boot up to the command prompt for a single shell. Instead now the system goes into an endless cycle of error messages and will not boot up at all.
What upgrade option? There is a method used sometimes as a last resort for doing repairs. You have to boot the installation DVD of the same distro version: http://download.opensuse.org/distribution/leap/15.2/iso/openSUSE-Leap-15.2-D... when it boots, instead of "install", choose "upgrade". However, there may be a level of brokenness beyond which it doesn't work. Another method would be to swap the hard disk of the computer with a new one, install fresh on it a system as similar as possible, then copy over missing parts from new disk to new disk.
So how does one repair OpenSuSE these days? Can I do it from a live CD? If so how? Thanks in advance, for all offers of help and advice! Marc...
You repair manually. You find out what is broken, you find out what needs to be done, you think out how to do it, and you do it >:-) -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
Darryl Gregorash
-
Marc Chamberlin