How to Connect iPhone to Arch Linux

Troubles with iPhone and Arch Linux? iPhone and Linux never really go along very well. In this tutorial, I am going to show you how can you use iPhone in Antergos Linux. Since Antergos is based on Arch Linux, the same steps should be applicable to other Arch based Linux distros such as Manjaro Linux.

So, when I bought an iPhone 6S and when I connected it to Antergos Linux to copy some pictures, it was not detected at all. I could see that iPhone was being charged and I had allowed iPhone to ‘trust the computer’ but there was nothing at all detected. I tried to run dmseg but there was no trace of iPhone or Apple there. What is funny that libimobiledevice was installed as well, which always fixes iPhone mount issue in Ubuntu.

I am going to show you how I am using iPhone 6S, running on iOS 9 in Antergos. It goes more in command line way, but I presume since you are in Arch Linux zone, you are not scared of terminal (and you should not be as well).

Mount iPhone in Arch Linux

iPhone mount in Arch based Antergos Linux

Step 1: Unplug your iPhone, if it is already plugged in.

Step 2: Now, open a terminal and use the following command to install some necessary packages. Don’t worry if they are already installed.

sudo pacman -Sy ifuse usbmuxd libplist libimobiledevice

Step 3: Once these programs and libraries are installed, reboot your system.

sudo reboot

Step 4: Make a directory where you want the iPhone to be mounted. I would suggest making a directory named iPhone in your home directory.

mkdir ~/iPhone

Step 5: Unlock your phone and plug it in. If asked to trust the computer, allow it.

iPhone allow Arch Linux

Step 6: Verify that iPhone is recognized by the system this time.

dmesg | grep -i iphone

This should show you some result with iPhone and Apple in it. Something like this:

[ 31.003392] ipheth 2-1:4.2: Apple iPhone USB Ethernet device attached
[ 40.950883] ipheth 2-1:4.2: Apple iPhone USB Ethernet now disconnected
[ 47.471897] ipheth 2-1:4.2: Apple iPhone USB Ethernet device attached
[ 82.967116] ipheth 2-1:4.2: Apple iPhone USB Ethernet now disconnected
[ 106.735932] ipheth 2-1:4.2: Apple iPhone USB Ethernet device attached

This means that iPhone has been successfully recognized by Antergos/Arch Linux.

Step 7: When everything is set, it’s time to mount the iPhone. Use the command below:

ifuse ~/iPhone

Since we created the mount directory in home, it won’t need root access and you should also be able to see it easily in your home directory. If the command is successful, you won’t see any output.

Go back to Files and see if the iPhone is recognized or not. For me, it looks like this in Antergos:

iPhone mounted in Arch based Antergos Linux

You can access the files in this directory. Copy files from it or to it.

iPhone iOS 9 mount in Arch Linux

Step 8: When you want to unmount it, you should use this command:

sudo umount ~/iPhone

Worked for you?

I know that it is not very convenient and ideally, iPhone should be recognized as any other USB storage device but things don’t always behave as they are expected to. Good thing is that a little DIY hack can always fix the issue and it gives a sense of achievement (at least to me). That being said, I must say Antergos should work to fix this issue so that iPhone can be mounted by default.

Did this trick work for you? If you have questions or suggestions, feel free to drop a comment.

Similar Posts

  • I have ran the commands a few times in arch but to no success
    i don’t know if kde, my window manager, is messing with it

    sudo ifuse ~/iPhone
    ERROR: No device found!

  • Great tutorial worked for me , a quick update if you are trying to do this 2021 , the ifuse package is depreciated from pacman repo , but you can find it in aur , or use aur-helper like yay .
    Thanks