Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

opensuse 13.1 boots into initrd shell only - how to repair?

$
0
0
Hi,

I have a server that did not boot after updating to opensuse 13.1

After some research I found this bug about my problem: https://bugzilla.novell.com/show_bug.cgi?id=871704#c60

In short: I added new repos for lvm and systemd to fix the problems, as described in the bugzilla, which mostly worked.

But I got another problem with them: no more clean shutdowns.
So after providing some stacktraces I removed the repos again and did a zypper dup to get back the original system status.

That was a mistake.
Now I can only boot into a very basic shell.
Advice was to rebuild the initrd.

I figured, another (minimal) install of opensuse 13.1 with / as a new lvm volume (/dev/sysvg/rescue) and the same /boot partition (/dev/sda1) which has enough space (500 MB, >50% free) should do just that.

But it did not work.

Grub menu changed and now shows both 13.1 systems, the new /dev/sysvg/rescue and the old /dev/sysvg/root121. But both boot with a lot of errors like these (just like it was after the zypper dup to get rid of the test repos)

/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
PARTIAL MODE. Incomplete logical volumes will be processed.
Command failed with status code 5.

Repeated over and over. Then finally

Could not find /dev/sysvg/root121.
Want me to fall back to /dev/sysvg/root121? (Y/n)

I cannot answer this. Just switch to console 1 and start a /usr/sbin/sulogin shell.

There, I can see that /dev/mapper/control actually exists!?

Now I am out of (nice) options. Please help.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>