Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Are there dpcuments for Grub2 and OpenSuse 13.1

  1. #1

    Default Are there dpcuments for Grub2 and OpenSuse 13.1

    I have searched and maybe I am missing something but all Wiki/Sticky/FAQ I have found predates the 13.1 release and I find references to updategrub which doesn't exist on my 13.1 installation? There are plenty of grub2 files but no updategrub. Does anyone know the equivalent of it for Grub2 and in the alternative how to update grub to recover a crashed installation where the desktop no longer boots but instead drops to a console prompt.

  2. #2

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Some grub documentation can be found here http://activedoc.opensuse.org/book/o...art-iii-system ... or if you need more extensive, just go to the grub website and read the doc there.

    if you have a console prompt, you unlikely have anything wrong with grub.

  3. #3

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Quote Originally Posted by exponent View Post
    I have searched and maybe I am missing something but all Wiki/Sticky/FAQ I have found predates the 13.1 release and I find references to updategrub which doesn't exist on my 13.1 installation? There are plenty of grub2 files but no updategrub.
    Never heard of an updategrub on openSUSE.

    For re-installing grub2, have a look here:
    http://forums.opensuse.org/content.p...rom-DVD-Rescue

    But on openSUSE 13.1 you have to use "mount -t proc proc /proc" instead of "mount /proc", and "mount -t sysfs sysfs /sys" instead of "mount /sys" because those are not in /etc/fstab anymore.

    Does anyone know the equivalent of it for Grub2 and in the alternative how to update grub to recover a crashed installation where the desktop no longer boots but instead drops to a console prompt.
    If you reach a console prompt, grub2 is ok.
    Try to start X manually with "sudo rcxdm start".

    If that doesn't work, have a look at /var/log/Xorg.0.log why it fails.

    And have you tried to select recovery mode in grub's boot menu ("Advanced Options")?

  4. #4
    Join Date
    Sep 2012
    Posts
    7,105

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Quote Originally Posted by wolfi323 View Post
    For re-installing grub2, have a look here:
    http://forums.opensuse.org/content.p...rom-DVD-Rescue
    This assumes grub2 is installed in MBR which is wrong in general case (actually, it is not even default in openSUSE). Instead of grub2-install and grub2-mkconfig directly it is better to use "update-bootloader --reinit" which executes the same code as YaST bootloader module and tries to reinstall grub2 in configured location and re-create configuration.

  5. #5

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    The references to updategrub are here and again it is old

    http://forums.opensuse.org/showthrea...ot-update-grub!)

    sudo rcxdm start

    I executed as root and got the message with no graphical display

    redirecting to systemctl] start xdm

    I had a look at the X log file and have no way of getting it off the system but the last entry is

    [37.255] (EE) Server terminated successfully (0). Closing log file.



    Recovery mode always dumps me to a root console prompt hence my desire to update grub. The partitions are automounted and I can see the files but no desktop. I have tried all the options available in Grub and I always end up at a prompt. The machine is booting locally off the hard drive.

  6. #6

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Quote Originally Posted by exponent View Post
    The references to updategrub are here and again it is old

    http://forums.opensuse.org/showthrea...ot-update-grub!)
    That is for grub-legacy AFAICS.

    sudo rcxdm start

    I executed as root and got the message

    redirecting to systemctl] start xdm
    So nothing happens?
    What does "sudo systemctl xdm.service" say?

    Try "startx" (as root, it won't work as user on a default installation), does X start then?

    And again, /var/log/Xorg.0.log might give a clue.
    Or the logfile of your configured display manager (/var/log/kdm.log f.e.).

  7. #7

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Quote Originally Posted by exponent View Post
    I had a look at the X log file and have no way of getting it off the system but the last entry is

    [37.255] (EE) Server terminated successfully (0). Closing log file.
    Sorry, but that alone doesn't help.
    Somewhere before that should be another error.

    Maybe display the log and take a photograph?

    Recovery mode always dumps me to a root console prompt hence my desire to update grub. The partitions are automounted and I can see the files but no desktop. I have tried all the options available in Grub and I always end up at a prompt. The machine is booting locally off the hard drive.
    Well, X fails to start.
    No need to re-install Grub.
    If Grub would not work, you wouldn't even get to a text mode login.

  8. #8

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    There are a lot of lines in log file and no glaring errors. What caused this was a crash of Xen. I had tried to install windows 2012 in a virtual machine and Xen crashed during the process so I shutdown and rebooted. ON reboot I had no desktop. The hardware is fine. I verified by removing hard drive and putting in a harddrive with windows which runs fine with the graphics card. Opensuse was running fine prior to the crash.

    If I take a picture how many lines do you want. Just the last or all of them. I can of course pipe through more and get it page by page using a low res camera setting.

  9. #9

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    Quote Originally Posted by exponent View Post
    If I take a picture how many lines do you want. Just the last or all of them. I can of course pipe through more and get it page by page using a low res camera setting.
    Well, hard to tell really.
    I guess the best would be to just cat the file and take a picture of the last screen.

    But please have a look at the file modification date/time first. (ls -l /var/log/Xorg.0.log)
    If X fails to start at all the log shouldn't be really that long. Maybe it is still there from the last successful boot? (i.e. X is not even trying to start)
    What about kdm.log or startx?

  10. #10

    Default Re: Are there dpcuments for Grub2 and OpenSuse 13.1

    If I delete the logs will they be recreated. I propose this to make troubleshooting easier. The ultimate goal here is to get either the OS running so I can send out my resume of somehow get my files off the machine until I can fix this failure. Right now I am working on both. Here I will focus on getting the OS running. Is it possible to reinstall the KDE environment without wiping out all my files and installed software? I would consider this.

Page 1 of 2 12 LastLast

Posting Permissions

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