Mount iPhone in Debian/Ubuntu linux
To connect an iPhone to Debian or Ubuntu Linux, you need to perform the following:
sudo apt-get install ideviceinstaller python-imobiledevice libimobiledevice-utils libimobiledevice4 libplist2 python-plist ifuse
Unlock the screen and connect your iPhone (perform the 'Trust This Computer' part)
Check the output from dmesg:
dmesg | grep usb
Output:
[101340.276496] usb 3-4: Manufacturer: Apple Inc.
[101340.276497] usb 3-4: Serial number: 403fd9c6503943d9cb773109429d3b725091fd90
[101340.345510] usbcore: registered new interface driver ipheth
Pair the device:
devicepair pair
Then create a connection point (e.g., ~/iPhone) and connect the iPhone using ifuse:
mkdir ~/iPhone ifuse ~/iPhone
Now you can perform the necessary actions. After finishing, disconnect the iPhone as follows:
usermount -u ~/iPhone