How to Connect iPhone to Arch Linux

Not able to connect your iPhone with your Arch Linux. This troubleshooter may help you with that.
Warp Terminal

Troubles with iPhone and Arch Linux? iPhone and Linux never really go along very well. But it is more troublesome when it is Arch Linux instead of Ubuntu.

When I bought an iPhone 6S and connected it to Antergos Linux (an old distro based on Arch) 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.

Let me share the steps that fixed it for me.

๐Ÿ“‹
In this tutorial, I am going to show you how you can use iPhone with Arch Linux. I performed the steps several years ago with older version of iPhone and Arch Linux. But recent comments by the readers suggest that the steps are still valid.

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

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

Did it work 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 Arch Linux 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.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.