How to dual boot Ubuntu Core 22 from /dev/sda and /dev/sdb

I installed Ubuntu Core 22 into both /dev/sda and /dev/sdb. The default boot loader is grub and it always boots from /dev/sda. How can it boot from /dev/sdb? Do we need to change the file /boot/grub/grub.cfg?

Thanks!