Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: How to restart openSUSE after attempted installation/reboot?

  1. #1

    Default How to restart openSUSE after attempted installation/reboot?

    I bought a HP 2000 laptop with core i5 processor and 500GB HDD with pre-installed Windows8.1 and LinuxMint16-KDE. I wanted to install openSUSE-13.1-KDE-Live-x86_64.iso, overwriting the LinuxMint16.KDE.

    The Live openSUSE looked very attractive, all systems appeared to work, so I clicked the install button, selected the partition in the gpt list and proceeded with the installation. All ok. The install disk then asked to reboot. The partial reboot then gave a grub2 menu without a GUI and stopped. The laptop has UEFI system.

    What commands do I need to give to grub2 to continue the reboot? All help will be greatly appreciated.
    OldAl,
    http://akabaila.pcug.org.au/StructuralAnalysis.pdf

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: How to restart openSUSE after attempted installation/reboot?

    It sounds like the grub menu is there.
    You may have to force it to power off and just see.....

    I assume you used the custom partitioner during install to set the target for install including the mount point for your /boot/efi ?
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by OldAl View Post
    The partial reboot then gave a grub2 menu without a GUI and stopped.
    Stopped where? Please give more information or provide photo of screen.

    What commands do I need to give to grub2 to continue the reboot?
    If you get grub2 menu, you should not need any command - it will boot default menu entry automatically (default entry is usually the very first one). So I guess you mean something different when you say "menu". In which case see above ...

  4. #4

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by caf4926 View Post
    It sounds like the grub menu is there.
    You may have to force it to power off and just see.....

    I assume you used the custom partitioner during install to set the target for install including the mount point for your /boot/efi ?
    The installation is in /dev/sda7, where previously "lived" linuxmint-16-KDE (which is now gone for ever...). I forced a power off by pressing the power on/off button. Now pressing the power on/off causes the pc to go to the same grub menu and nowhere else. Should I issue a grub command to power off if so what is the power off grub command? Is it not possible to issue a grub commands to continue rebooting to gpt7?

    Your answer is helpful, so how can I "give it a star"?
    OldAl,
    http://akabaila.pcug.org.au/StructuralAnalysis.pdf

  5. #5

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by arvidjaar View Post
    Stopped where? Please give more information or provide photo of screen.


    If you get grub2 menu, you should not need any command - it will boot default menu entry automatically (default entry is usually the very first one). So I guess you mean something different when you say "menu". In which case see above ...
    Screen photo is difficult to snap, other than a photo by mobile phone, which would not be very clear. Basically, the screen left after attempted re-boot is:

    grub2 title

    grub>

    I referred to that as "grub menu", so I should be able to issue grub commands. So I should be able to ask grub to reboot, is that so?
    OldAl,
    http://akabaila.pcug.org.au/StructuralAnalysis.pdf

  6. #6
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by OldAl View Post
    Basically, the screen left after attempted re-boot is:

    grub2 title

    grub>
    Is it just "grub> " or "grub rescue> "? Did it say "Entering rescue mode ..."?

    If it is normal grub2 it means it could not find its configuration. Now you say you tried Live KDE and you have UEFI system - I believe, Live systems cannot be installed on EFI systems, you need full installation DVD for it (I may be wrong here). So it is quite possible that what you see is old grub from previous OS you had (Linux Mint?).

    Anyway, what you could try - first do "ls"; it should show you all hard disks and partitions it knows about. Your openSUSE should be in (hdX,gpt7) (X stays for hard disk number, 0 if you have single disk). Try list content of this partition - "ls (hdX,gpt7)/boot". Does it list files?
    So I should be able to ask grub to reboot, is that so?
    You should be able to reboot by using "reboot" command, not sure how it helps though ...

  7. #7

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by arvidjaar View Post
    Is it just "grub> " or "grub rescue> "? Did it say "Entering rescue mode ..."?

    If it is normal grub2 it means it could not find its configuration. Now you say you tried Live KDE and you have UEFI system - I believe, Live systems cannot be installed on EFI systems, you need full installation DVD for it (I may be wrong here). So it is quite possible that what you see is old grub from previous OS you had (Linux Mint?).

    Anyway, what you could try - first do "ls"; it should show you all hard disks and partitions it knows about. Your openSUSE should be in (hdX,gpt7) (X stays for hard disk number, 0 if you have single disk). Try list content of this partition - "ls (hdX,gpt7)/boot". Does it list files?

    You should be able to reboot by using "reboot" command, not sure how it helps though ...
    I did some more work:
    1. booted the openSUSE installation disk (actually the .iso dd copied onto a usb 8GB memory stick).
    2. Played a little with the Live disk - very clean looking kde desktop!
    3. Rebooted to openSUSE as required.
    4. Saw the grub2 boot message and two lines of text, then
    grub >
    Command line.
    5. Entered into the installed openSUSE by executing the following grub commands:
    grub > set root='hd0,gpt7'
    grub > linux /boot/vmlinuz root=/dev/sda7
    grub > initrd /boot/initrd
    grub > boot
    This booted into the freshly installed openSUSE OK.
    6. The current state is that I can boot into the openSUSE, but not to ubuntu on gpt9 and not in to Windows8.1. The latter is important only in case I need to divest myself of this laptop. The ubuntu on gpt9 is actually operative, but inaccessible. BTW, gpt10 is set aside as a data storage partition. The state of Windows8.1 is not known.

    If I had installed a ubuntu (or ubuntu based) OS, I would simply execute
    sudo update-grub
    to obtain access to all installed and recognized OS's on this computer, but in openSUSE I get a message that update-grub is not found. I imagine that there is an equivalent command.
    On the other hand, I might have to install "ubuntu/kubuntu/mint" or some other ubuntu based system in gpt7 and use update-grub as usual. A pity - I like the look of openSUSE and have used it in the days when legacy grub was the "standard", yet may have to stay on with the ubuntu based distributions.

    Thank you for your help. The short response time is really greatly appreciated.

    Cheers,
    OldAl,
    http://akabaila.pcug.org.au/StructuralAnalysis.pdf

  8. #8
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: How to restart openSUSE after attempted installation/reboot?

    The way is openSUSE is:

    Code:
    su -
    grub2-mkconfig -o /boot/grub2/grub.cfg
    If they don't show in the output, try mounting the respective partitions and then run it again.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  9. #9

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Quote Originally Posted by caf4926 View Post
    The way is openSUSE is:
    Code:
    su - grub2-mkconfig -o /boot/grub2/grub.cfg
    If they don't show in the output, try mounting the respective partitions and then run it again.
    This is greatly appreciated! However, I am still missing something. After the code

    Code:
    su - 
    # grub2-mkdconfig -o /boot/grub2/grub.cfg
    the screen showed that it has found the Windows and both linux distros. After powering down and then powering up I was again presented with Grub2 data entry screen (I did refer to this screen as Grub2 menu, which was confusing). What have I missed? What can I check? I think that the appearance of the "Grub2 command entry screen" indicates that grub2 can not find grub.cfg. I did not mount anything, assuming that /dev/sda7 at least is already mounted. Where should I mount /dev/sda7, for instance? (hd0,gpt7)? Thanks for the instructions - I feel I am creeping up to the solution with your help.
    OldAl,
    http://akabaila.pcug.org.au/StructuralAnalysis.pdf

  10. #10
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: How to restart openSUSE after attempted installation/reboot?

    Open up Yast > Partitioner
    Take a screen of your HDD that is involved: like this
    http://paste.opensuse.org/29015308

    Let us see it
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

Page 1 of 3 123 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
  •