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.

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 ?

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 … :slight_smile:

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”?

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


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?

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 …

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.


The way is openSUSE is:

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

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.

Open up Yast > Partitioner
Take a screen of your HDD that is involved: like this

Let us see it

Just call it grub shell or CLI, it would be OK then :slight_smile:

What have I missed? What can I check?

I am almost sure you are using the “wrong” grub, left over from previous Linux installation.

Start with posting output of “efibootmgr -v”, “grep LOADER_TYPE /etc/sysconfig/bootloader” and “cat /etc/default/grub_installdevice”.

I have taken a snapshot ot the yast>Partitioner image and named it yast4al. I moved the image to my desk computer on which I am reading and writing to this thread. I see that I am disallowed to upload IMG files… AFAICS, I will not be able to show you the screen. Is there an email address that I could send to and email with an attachment of yast4al?

For the record, my email is akabaila…
Sincere thank you and cheers,

In 13.1, it seems to me (I can’t test to be certain at this point in time), doesn’t the OP have to force a write of the reconstructed GRUB2 using grub2-install? Seems I have had to do that.

Since the OP has a UEFI machine, I’m not certain where the write-to target should be, so I hope an UEFI user here can give a proper version of the command.

In my case, using MBR setups, after issuing the grub2-mkconfig command as mentioned earlier, I do:

grub2-install /dev/sda

to install to the MBR,


grub2-install /dev/sda1

(or sdb1, or sda2, or sda3, depending) to install GRUB to the ACTIVE/BOOT partition.

You can post the images to

Images should be hosted at
see also:

In your opening post you imply a windows 8.1 machine was shipped with a version of Linux Mint. Or am I misunderstanding you?

We need to see if you have in place the correct partitions for efi booting

I have done all that was requested. According to notes, I am not allowed to attach images. As advised, by a private message, I uploaded the image to Image is named yast4me.

I also found a round-about “solution”. On /dev/sda9 I instaalled linuxmint-16-mate-64bit. After the installation, a restart presented me with a menu that included openSUSE13 on /dev/sda7 and windows8.1 entries. Clicking on openSUSE13.1 menu item booted openSUSE without the need to enter grub2 commands! Great result and thank you all!

So far I still can not boot into windows8.1. Hopefully, that too will come to life eventually.


Please do not post private e-mail addresses here. Even when it is obfuscated for robots that might try spam on you.
The reason these forums exist is because they are an open discussion platform for users. Private discussions do not add anything to the forums that may benifit the users.

So Mint is booting your system? That’s fine
But you say it doesn’t boot Windows? That is odd IMO

Yes - after installation of Mint, I can boot to Mint **and **to openSUSE, it just boots, no other actions required at all. It is odd that it will not boot Windows. At my age - 89 (!) - I am happy to wait for Window problem to be sorted out- it is not urgent.

Thank you for pointing out the need not to post email addresses - will not happen again, I hope. Good secure system of posting images is praiseworthy, too - will know what to do next time.


I’m just wondering if you have disable efi and or secure boot?
Typically you would leave those options alone when installing openSUSE
From what I see the correct partitions exist on your system to install in efi mode, at least with openSUSE. Not sure how Mint is working with efi? I might be wrong but I think you need to use efi with windows 8 if you use GPT. But I’m no expert.