I pulled my Opensuse 15.4 drive with / on it and replaced it with a drive that was getting Grub error (15 or 17). I installed Debian 11 deleting existing partitions and installing Debian with /, swap and /home partitions, grub in MBR. I then got an incorrect password error, chrooted in, changed my password and rebooted. I then started getting grub 17 errors. Reinstalled. Grub 17 errors.
I pulled the drive and reinstalled my OpenSuse drive and started get grub 17 errors. I used my 15.4 install cd to boot into the existing install and reinstalling grub to the mbr/sda1 using Yast. I believe it was initially on sda1. After the grub reinstall, I am still getting grub 17 errors.
I have gotten grub 17 errors a couple of times with the install CD.
Any ideas on what is going on and how to fix it?
Thanks
Sad story without any real information. So as an educated guess - this error comes from legacy GRUB, so you most likely have multiple drives in your system, boot in legacy BIOS mode and your boot drive (in BIOS boot order) is not the drive where you installed bootloader.
Current openSUSE versions do not even include legacy GRUB nor support installing/configuring it. It must have been there for a long time.
I do have multiple drives (2).
I do boot in legacy mode.
My OpenSuse drive was booting properly prior to the Debian install. Then both started throwing Error 17s.
I swapped the boot order in bios and the OpenSuse drive booted properly.
Now I have to figure out how to swap drives and not have errors… and/or learn how to boot in EFI/Secure boot(?) mode.
Can I switched to EFI on an existing install?
Run bootinfoscript, upload RESULTS.txt
to https://susepaste.org/.
I will do that.
As an aside, I put in the Debian drive, error 17. I checked in bios and sure enough, the boot drive was listed second. I swapped and then debian install worked. I am using it now.
Back to OpenSuse,
Drive a is supposed to be the boot drive. I am not sure how Legacy grub and grub2 got installed and on different drives.
Am I correct… grub (whatever) should be on only the boot drive, not the data drive (the one that I have /home on)? If so, how might I remove them and install on the boot drive?
Thanks