Raspberry Pi et Arch Linux – Monter une partition HFS/HFS
Today we are going to mount the HFS of our disk partition. Not necessarily as easy as Debian but which in the end will work as well (I hope !)
But before little reminder on Arch Linux. Very many packages are available by default in the different repositories, in what is called AUR (Arch User Repository) and which allows to install tools but passing through the compilation box. No need to panic, on va y aller étape par étape 😉
Finally, When the system does not stop correctly (crash, Socket disconnected, etc.), next mount the partition will not be read/write but read-only. Need to go through the command fsck.hfsplus before being able to qualify again for writing.
- Identify the UUID of your partition
- Edit the/etc/fstab file to automate installation of the partition
UUID = dfffa293-7d00-3997-a8ff-6702f3cedcfd/media/usbdrive/timemachine hfsplus force,rw 0 0
- Run the command mount -a then Mount. You should see your partition appear in the list. Here it is more simple than Debian because need to install an additional package.
If you are certain never to have problems with your partition (hum hum 😉 ) You can stop there. Otherwise it will be necessary to install the program fsck.hfsplus. Remember this is a first for me !
- The program fsck.hfsplus be found in the package hfstools. The recover here
- Send the file to the Raspberry. Tomorrow, There will be an article on the FTP. Otherwise it remains the USB, wget, …
- Here's what you should have
- Extract the files from the archive and go to the directory hfsprogs
tar zxvf hfsprogs.tar.gz cd hfsprogs
- Modify the PKGBUILD file by replacing the default architecture with the following line
- Run the command makepkg to start the creation of the package. Alternatively, you can launch makepkg s to address the problems of dependencies. You will get a message saying should run the command as root. Up to you to decide. The installation can be done with the user root after
makepkg s - asroot
- Install the generated package
Pacman u hfsprogs - 332.25 - 5 - armv6h.pkg.tar.xz
And this is. It is now enough to dismount the volume, use the command fsck.hfsplus then remount the partition
You can play !