I am trying to root the phone, by following the instructions here. I did unlock OEM and am able to see my device. But can not flash to recovery. So I tried booting twrp first but that does not work for me either. I did see this link and the comment about using the stock boot image. I have not tried that yet since my issue is slightly different. Thanks in advance for any advice. I am doing all this on Fedora platform.
sudo ./fastboot devices
[sudo] password for ****:
####### Motorola Fastboot Interface
sudo ./fastboot boot recovery.img
[sudo] password for *****:
Sending 'boot.img' (42408 KB) OKAY [ 1.581s]
Booting (bootloader) Command is not support
FAILED (remote: '')
fastboot: error: Command failed
sudo ./fastboot flash /recovery recovery.img
Sending '/recovery' (42408 KB) OKAY [ 1.676s]
Writing '/recovery' (bootloader) Invalid partition name /recovery
FAILED (remote: '')
fastboot: error: Command failed
recovery(without slash), not/recovery. – Andrew T. May 30 '22 at 03:40