Can't mount Android device in recovery mode using MTP
While in recovery, connect your phone to PC and you can transfer files to and from phone using ADB Commands, provided it is installed in your machine.

adb push and adb pull are the commands to send and receive files.

Instructions to install ADB on Ubuntu.

ADB commands to transfer files.