Grub Loader with Open Suse
I use Linux Mint and I install on a second hard disk Open Suse because I want to test it, but when I update the grub Open Suse do not start.
This guide should be valid also for Ubuntu, Debian and all system that use grub2.
Problem
After install OpenSuse and update-grub I have problem to start OpenSuse, in particular:
- On startup error like this: “/boot/vmlinuz-5.14.0–1-default not found”
This post have the solution but it do not explain step by step how to do and in particular do not say nothing about how to find hdx partition name that is different in my situation.
Step by step guide after Open Suse installation
After OpenSuse installation on your laptop with Linux Mint (or Ubuntu), if you reboot Linux Mint start.
Now mount the volume by click it into the file system or in any other way and exec the command to update the grub loader:
$ sudo update-grub
On the reboot you will see a new entry but if you try to boot it have problem to load the kernel, so click “c” to enter in the grub shell and exec ls command
grub> ls
grub> halt

The results show all partitions, in my case I have some (hd0, x) and one (hd1) if you install Open Suse in a new partition you should finde it on some x (hd0, x), instead of as in my case you install it on a new hard disk you find it on (hd1).
If you want you can check the instruction from grub shell before become a grub option:
grub> set root=(hd1)
grub> chainloader +1
grub> boot
With this information we start again linux mint and we edit the file “/etc/grub.d/40_custom”
sudo nano /etc/grub.d/40_custom
And add the following code at the end of the file:
menuentry "OpenSuse" {
set root=(hd1)
chainloader +1
}
Now mount again the volume of OpenSuse OS and repeat the grub update:
sudo update-grub
At the restart you see the new entry OpenSuse and it will start your new OS.
Conclusions
I find that Linux Mint is perfect for me, but I find the community of Open Suse too active also in Italy where I am, and in particular there is a comunity of Linux music DAW user that use ad support Geekos DAW and I want to contribute to it in the future.