Date
Nov. 21st, 2024
 
2024年 10月 21日

Post: File System support in Ubuntu

File System support in Ubuntu

Published 16:12 Dec 30, 2023.

Created by @ezra. Categorized in #UNIX/Linux, and tagged as #FOSS, #UNIX/Linux, #Ubuntu Linux.

Source format: Markdown

Table of Content

Please repleace /dev/sdXY to your device like /dev/sda1, /dev/sdb3.

How to read and write HFS+ journaled external HDD in Ubuntu without access to macOS/OS X?

First, make sure that you have hfsprogs installed. Example installation command:

sudo apt-get install hfsprogs

Next, mount or remount the HFS+ drive; commands need to be as follows:

sudo mount -t hfsplus -o force,rw /dev/sdXY /media/mntpoint

or:

sudo mount -t hfsplus -o remount,force,rw /mount/point

Finally, if the drive was improperly unmounted or has otherwise become partially corrupted, run fsck.hfsplus ... as such:

sudo fsck.hfsplus -f /dev/sdXY

exFAT

Make sure you have exfatprogs installed.

sudo apt-get install exfatprogs

NTFS with read and write permissions

sudo apt-get install fuse

When the installation completes, install ntfs-3g by running:

sudo apt-get install ntfs-3g

Now mount:

sudo mkdir /mnt/myntfs
sudo mount -t ntfs-3g /dev/sdXY /mnt/myntfs/
Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
开发、设计与写作皆为所长。
热爱苹果、钟情色彩。
随时恭候 垂询