Results 1 to 8 of 8

Thread: boot error - kde - can't restore boot loader

  1. #1

    Unhappy boot error - kde - can't restore boot loader

    Boot, can't login to user account. Just a black screen and return.


    I removed the repos nvidia, pakman, and libdvd. Using the opensuse leap 15 dvd, an update install had no effect, boot loader error. opensuse dvd does an online update of itself.

    Boot menu:
    All grub menu opensuse versions won't boot. boot to read-only snapshot successful. I was able to login to my kde root user account. I did an update.

    Yast - boot loader --> click ok.

    'error: enter this command'

    save_y2logs

    opensuse leap 15 dvd -> update install -> same error on boot loader

    I have the file. What do I need post here?


    FYI, I'm about to reinstall opensuse leap 15, erase everything. I'm still doing online research.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,368
    Blog Entries
    3

    Default Re: boot error - kde - can't restore boot loader

    Quote Originally Posted by lord_valarian View Post
    save_y2logs

    opensuse leap 15 dvd -> update install -> same error on boot loader

    I have the file. What do I need post here?
    The file from "save_y2logs" is for attaching to a bug report. Don't try to post it here.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3

    Default Re: boot error - kde - can't restore boot loader

    Quote Originally Posted by lord_valarian View Post
    Boot, can't login to user account. Just a black screen and return.
    By black screen, you mean no login: prompt ? If so, I would try either this:

    You may have no proper initrd, so something like this may be necessary:
    Code:
     /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force  /boot/initrd-4.12.14-lp151.23-default 4.12.14-lp151.23-default (!!  adapt to your kernel version !!)
    then
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    to re-generate grub config, .

    but I'm not sure this will work from a read-only snapshot.

    If you cannot do this from the snapshot, you may have to use chroot from a live cd as explained here: http://logan.tw/posts/2015/05/17/gru...t-file-system/
    important: replace "update-grub" (Debian specific command) with grub2-mkconfig -o /boot/grub2/grub.cfg

  4. #4

    Default Re: boot error - kde - can't restore boot loader

    Quote Originally Posted by JRivrain View Post
    but I'm not sure this will work from a read-only snapshot.
    Edit: this won't work from a snapshot, obviously.

  5. #5
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    322

    Default Re: boot error - kde - can't restore boot loader

    I've messed up grub on occasions and what I do is use the install usb to do an upgrade and reinstall grub. Our problems may be different but this has always worked for me and is, at least, worth a try before a full reinstall.
    You probably know that you need full iso or net install to upgrade, not a live cd.
    Pete

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,659
    Blog Entries
    14

    Default Re: boot error - kde - can't restore boot loader

    Code:
    kde root user account
    ????

    I'm sorry, but .... sigh. I'm not going to repeat my previous responses to your issues re. this ....

    Re. snapshots: Open a console
    Code:
    sudo snapper list
    Pick the indexno of the snapshot, replace #### by that indexno, just before the issue started, and do
    Code:
    sudo snapper rollback ####
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7

    Default Re: boot error - kde - can't restore boot loader

    Quote Originally Posted by peteh100 View Post
    I've messed up grub on occasions and what I do is use the install usb to do an upgrade and reinstall grub. Our problems may be different but this has always worked for me and is, at least, worth a try before a full reinstall.
    You probably know that you need full iso or net install to upgrade, not a live cd.
    I tried an upgrade install that didn't work. I'v done this many times to fix the boot loader.

  8. #8

    Default Re: boot error - kde - can't restore boot loader

    Quote Originally Posted by Knurpht View Post
    Code:
    kde root user account
    ????

    I'm sorry, but .... sigh. I'm not going to repeat my previous responses to your issues re. this ....

    Re. snapshots: Open a console
    Code:
    sudo snapper list
    Pick the indexno of the snapshot, replace #### by that indexno, just before the issue started, and do
    Code:
    sudo snapper rollback ####
    I did that. The last entry was x81. I rolled back to x75. After about 3 reboots, I was able to update the system to a current update.


    Thanks for the assist....

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •