Mounting drives in Linux

Mounting Mac / NTFS file system

Make sure you have installed

yum install htsplus-tools
yum install usbutils

Where are your USB drives?

ls /dev/sd*

Mount:

mount -t hfsplus -o force -o rw /dev/sdb2 /media/USB/
mount -t vfat /dev/sda1 /mnt/usb

Unmount

umount /media/USB
umount /mnt/usb

Check status

findmnt

Check drives

fdisk -l

Other command

modprobe dm-mod
lvmdiskscan

Alternatives

yum install pmount or apt-get install pmount

pmount /dev/sdb1

pumount /dev/sdb1

Troubleshooting

Can't find /dev/sdb2 etc?

use lsblk to find the

Apfs?

https://github.com/sgan81/apfs-fuse

FOrmatting

mkfs.ext4 /dev/sda2