Hi. So the upgrade from 42.2 → 42.3 seemed to go without incident. I didn’t see any errors during the upgrade. However, upon rebooting, I’m left at a grub> prompt. Okay. So we’ll just boot manually and repair it after it’s booted. Here’s the thing: none of the normal grub commands are available from the grub> command line. “ls”? Command not found. “insmod”? also gone. Pressing <TAB> at the command prompt reveals that only “.” and “” are available.
I’ve mounted the drive on another Linux system and on the surface nothing seems out of place.
Any ideas how to recover?
System details: IBM x3100 M4. I can’t tell if it’s UEFI or not (there doesn’t appear to be a BIOS option to enable/disable EFI) but since I don’t see any “efi” stuff in /boot, I assume this is a legacy boot. Unless part of the 42.3 upgrade nuked any efi stuff in the boot partition.
Since I’m a big fiddler I occasionally break my bootloader. Being not too clued up about Grub2, I usually boot up my Grub2 CD and ask it to boot the Leap installation. Then I use Yast ==> Bootloader to do it’s thing and all is then well again.
But it sounds like your upgrade process broke your Grub2 installation. That happened to me once also. I used my trusty Grub2 CD on that case too and when I got in to openSUSE I uninstalled Grub completely and reinstalled it in situ. That process fixed Grub2 and fixed the boot config too.
If you get the grub prompt you should be able to boot from there. You need to tell it where the /boot folder is, the initrd.img and vmlinuz and then tell it to boot. Once in, fix grub as already mentioned. It looks something like this
grub>set root = 'hdd0,msdos1'
grub>linux /vmlinuz (or /boot/vmlinuz if /boot isn't on separate partition)
grub>initrd /initrd (or /boot/initrd)
grub>boot
You can input more on those lines if you know it but that should suffice to just get booted.