I have an Asus Vivobook S15UN, which natively has an M2 ssd. I just installed an additional hdd (that I plan to use for backups), and after that the bios is, as I want, still setup to boot from the ssd. In fact at the very start, it offers me the usual choice whether to boot Windows or Ubuntu, each from it's own /dev/sda* partition. As I choose the usual Ubuntu, it shows the central logo and the 5 dots, for long, but it cannot finish regularly.
I think that until it thinks of disks as of ATA addresses, it finds the M2 at the expected place, but once it tries to mount the /dev/sda6
partition, it reaches the new empty disk instead, as the system partition is now named /dev/sdb6
instead...
Could it be that the new disk took the ATA0 index, making it /dev/sda?
From maintenace mode I verified that I can mount that partition, but how can I fix the boot configuration, or grub, or the mounts to make it boot regularly again?, without reinstalling the system?