On 2016-11-04 23:17, Greg Freemyer wrote:
I've got a PC that used to dual boot with openSUSE and Windows.
The current user of the PC decided they only wanted Windows so they blew away the openSUSE partition. Not surprisingly, it no longer boots in Windows via the menu. And openSUSE is no longer and option.
It now boots up to grub-rescue.
Then this series of commands works:
set root=(hd0,5) set prefix=(hd0,5)/boot/grub2 insmod normal normal
What command can I run inside grub-rescue to save that root and prefix?
Presumably that partition contained grub. I would instead find out the partition layout. For instance, "fdisk -l". I would consider installing a generic mbr code and mark the windows partition as bootable. You can do that from a Linux rescue disk. MsDos has/had a program that does it. "fdisk /fixmbr" perhaps. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)