I freely admit I still do not understand the grub and install. And I may not have used the correct terminology nor have remembered things correctly in the following.
I installed 42.2 on a separate partition. I chose my abandoned 42.1 partition to overwrite. It was on partition sda6. In the setup list, it showed the new drive would be sda8. Which moved my 13.1 from sda7 to sda6. Not knowing that it mattered, and not knowing what else to do about changing it, I let it install. I had thought each sda set was for each install. Guess not…
I also said to only install the the boot code into the boot partition (sda8). I left the MBR and my sda1 old grub boot alone, so I thought. In the past, in trying to understand this very confusing to me grub stuff, I installed 13.1 boot code in the extended partition (sda4), also.
After installation, I went to boot into my 13.1 boot code extended partition. It gave an error message, something about no executable code found. It should have showed a menu of 13.1 and everything else I had set up. I find that odd, unless 42.2 overwrote the extended partition code or wiped it?
So I chose my 13.1 direct partition (however you say that?), and it gave timeout error messages. I think it was avahi or something. It booted, but the screen had serious problems with black patterns at times and didn’t update properly. Changing the old grub menu to hd0,5 (sda6), from sda7, now everything seems to work. I had chosen in 13.1 to boot by label so I wouldn’t have such problems. Guess that didn’t work out.
(And as an aside note, 42.2 deleted the volume label in the swap partition. I could have labeled it at install but forgot to think of it.)
Anyway, I now have 13.1 booting ok and 42.2 booting ok. I just don’t understand things, though.
- Shouldn’t my sda4 extended partition have it’s old 13.1 boot code left alone?
- Is the sda order fixed to the drive itself? How do you keep the same sda partition order?
I had thought installing over an existing sda6 42.1 partition, it wouldn’t have to renumber it. Any way to force the same number? - When the install asks about “install boot code into MBR”, what exactly does this do? What is boot code, can I tell if boot code is there, and if so, what boot code? Is this same as a grub menu or something else or both?
The reason I haven’t chosen to install any successive version into the MBR is I’m afraid it might do unknown things and not allow me to boot my previous system. I might have learned a few things and be able to quickly adjust it now, but the fear is still there.
I don’t understand all the differences of MBR, boot code, menu. I “think” MBR just passes control over to a partition. I’ve tried to set the flag to boot a partition directly, but it doesn’t seem to work. Is there a way to determine if my system allows direct booting of an extended partition like sda8? I “think” boot code and the grub menu must be different as some partitions seem to have a menu but won’t boot. Is there a way to determine if there is boot code in a partition?