Hi everyone,
I hope this is the right place to ask for generic (not OpenSUSE-specific) Linux support - the description made it seem like the best home for my issue.
I recently installed OpenSUSE on my second SSD and I’m loving it. Recently, Linux became my main OS and I feel very little reason to go back to Windows.
That said, I do have a Windows install in my machine, as well as a few HDDs that used to be the boot HDDs from my old machines that I liberated and use mostly for storage.
My setup looks something like this:
/dev/sda: Windows SSD (broken after a Windows update a couple of months ago - when I select it in the BIOS boot menu, I get an error about the operating system no longer being installed. All the files are still there though and I can browse them normally)
/dev/sdb: OpenSUSE SSD that I want to boot to first so I can select an OS through GRUB
/dev/sdc: Storage HDD (SATA)
/dev/sdd: Storage HDD (SATA)
/dev/sde: Storage HDD (SATA)
/dev/sdf: Storage HDD (External USB)
My goal here is to get my machine to automatically boot to the GRUB installed on /dev/sdb.
My motherboard is an MSI Z97 PC Mate. If I set UEFI booting, then my computer appears to boot to an old version of GRUB which then tells me I don’t have any operating systems. I get the same if I set UEFI/Legacy boot and just leave it to boot automatically. The only way I can get to Tumbleweed is by opening the boot menu (F11) and selecting the SSD corresponding to dev/sdb, which then takes me to the familiar OpenSUSE GRUB menu. From there, I can select Tumbleweed which works just fine, or I can pick the “Windows install” option, which takes me to a non-GRUB black screen that tells me that I don’t have an operating system installed.
To help diagnose what’s going on, I ran arvidjaar’s bootinfoscript (https://github.com/arvidjaar/bootinfoscript), and I’ve put the results on pastebin at https://pastebin.com/2sddYMiT.
As you can see, it looks like I have 6 MBRs (!?), and a possible reason why Windows isn’t booting is because of some GPT corruption on /dev/sda. This is clearly a complete mess, and I’d like to find a way to clear all this up and “start again”, but WITHOUT losing any data on the storage HDDs (or losing access to them). I’ve read about some dd commands online to manually delete the first few sectors that correspond to the MBR, but I’m nervous about messing that up and bricking my storage drives.
Summary of my aims:
- Boot to the Linux install (/dev/sdb) automatically after power on
- Restore access to the Windows install on /dev/sda
- Remove the old, defunct, and useless GRUB install on /dev/sdd
- Remove the old, defunct, and useless MBRs on /dev/sdc, /dev/sde, and /dev/sdf as these HDDs no longer have an operating system on them
Any advice you folks can give about the best way of going about all this would be greatly appreciated. Boot problems are usually the kind of thing I ignore, but it’s getting tedious having to manually select the right drive to boot to every time I turn my computer on.
Thanks a lot!
Blasky