Yunohost Grub install is inflexible

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: Latest v12
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

Why does YunoHost installer always put Grub on the sda drive.

Hello. After 40years in IT I know it pays to have a backup. I have YunoHost running on an old Dell Wyse terminal and it’s working well. I am now reliant on a range of services it is providing. (Cheers!) I decided to use a duplicate SSD for the Wyse terminal to create another disk with YunoHost installed and then upload a backup from my main device. This way I have a quick spare drive for my main server or at worse I can boot another PC from the SSD on a USB connector and hey presto, minimal down time.

My issue is with the YunoHost install. It works perfectly installing YunoHost to my SSD via USB (sdb) until it gets to Grub, this it insists on putting on sda which happens to be a Windows drive and shouldn’t be part of the equation. Is it possible to install grub on the selected sdb drive or do I have to disconnect my PC internal drive to achieve the clean install?

Thanks.

Share relevant logs or error messages

Apols for the bold text, I didn’t mean to shout, not sure why my pasted text came out in bold…

Our ISO is designed to be straightforward and apply to the most common case which is people installing on a machine that is dedicated to be a server with a single OS … If you want, you may try the “expert mode” of the ISO, or just install Debian from their official ISO, and then install YunoHost on top of Debian which is equivalent to what our ISO does

OK. Understood. I will try to do the install on a PC with the main hard drive disconnected. That should fool it into thinking the only drive is the USB drive. I tried the expert route but I still couldn’t get it to install on the sdb drive.

I disconnected the hard drive in a desktop PC, plugged in the YunoHost install USB drive and my spare SSD connected via USB and BINGO, it worked perfectly. Cheers.