Carlos E. R. composed on 2016-11-04 23:31 (UTC+0100):
Greg Freemyer wrote:
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.
Booted to Windows XP command prompt/recovery console: fixmbr Booted to PC or MS DOS: fdisk /mbr Booted to OS/2 or eCS: fdisk /newmbr It's less simple in Windows >XP involving multiple bootrec commands in rescue mode. It could possibly be easier to recreate the ostensibly removed openSUSE / partition, mount it, then restore the 512 byte MBR file saved to /boot at installation time. One easy path to repair is if the PC has an OM drive and you boot media made from ultimatebootcd.com. There's also this, maybe available from booting openSUSE installation media in rescue mode: # /usr/sbin/fixmbr --help /usr/sbin/fixmbr: invalid option -- '-' usage: /usr/sbin/fixmbr [-s] [-i <mbr-file>] <device> write 440 bytes to <device> from /usr/lib/boot/master-boot-code or use code supplied in <mbr-file>. -s will generate a new random signature for the MBR. Whatever the method of writing new MBR code, one and only one primary partition needs to be marked active/bootable, probably /dev/sda1. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org