Hello - I have hit an unexpected snag that I strongly suspect is due to the OpenSuSE 42.3 installer messing up and I need some expert guidance on Grub, Initrd etc to resolve. (Grub and the bootloader remain beyond my ability to grok, how I wished it followed a KISS principal!)
Anywise, I had installed OpenSuSE 42.3 on my server with the root partition / mounted on /dev/sdd2 and a few other mount points defined such as for /home and /srv. on different partitions All was happy in server land until I decided I wanted to do a total reconfiguration of all my services. For this I decided to install a second version of OpenSuSE 42.3 into a different partition at /dev/sdd5. In effect I wanted to have two slightly different versions of OpenSuSE42.3 that I could boot to and use one for a test and development environment in which to play with new configurations of my services. So I proceeded to install a second copy of OpenSuSE 42.3 and I imported the fstab settings in the disk partitioner from my first copy of OpenSUSE42.3. I then made a couple of changes so that the root directory / was set to /dev/sdd5 and /srv was also set to a new partition. Upon rebooting up the new version of OpenSuSE42.3 all seemed well and the new installation worked as expected.
Trouble arose however when I tried to boot up my original version of OpenSuSE 42.3 from the /dev/sdd2 partition. I selected it in the GRUB boot menu but when I got the system up and running it was as if it had read the wrong /etc/fstab file and I ended up with the mount configuration as defined for the /dev/sdd5 version of OpenSuSE 42.3! I have no idea why this shouldn’t have simply worked as expected but my research on it seems to lead me into the quagmire of Grub and initrd and my confusion level has exceeded my capacity to comprehend what to do about this mess. My guess is that I have to do something with mkinitrd but I don’t understand how to tell it to use the correct version of fstab for booting up each system.
So can some kind guru tell me how to get the proper version of fstab to associate with the corresponding version of the / root directory for each version of OpenSuSE 42.3 that I want to be able to dual boot? Sorry if I am not asking these questions in a proper way or miscommunicating. Would it help if I copied and pasted the two versions of fstab here or is this enough info to go on?
Thanks in advance, Marc…