LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to auto mount exFAT drives in Fedora 21 KDE (https://www.linuxquestions.org/questions/linux-software-2/how-to-auto-mount-exfat-drives-in-fedora-21-kde-4175531177/)

ussr_1991 01-16-2015 01:26 AM

How to auto mount exFAT drives in Fedora 21 KDE
 
Hi all, I had a question as follows:

How do I auto mount exFAT partition in Fedora 21, that is defaulted with KDE. (Did not install GNOME)


What I did:

1) Using Konsole and typed the following command:

sudo kwrite /etc/fstab

2) Enter the following line:

UUID=702D-912D /run/media/Username/DATA exfat defaults 1 2

3) Reboot.


However, when I reboot, the system went into Emergency Mode and I have to use "vi" to remove this line stated above.


I would like to provide more details, but I do not know how to get the relevant journal / log files.


What worked:

1) When I use Fedora 20 (Default Standard with GNOME), auto mount of exfat is possible.

2) When I manually mount exfat partition after login, it mounts without problem. However, this exFAT partition is my common drive to put my DATA files to be read / write across Windows 8 / OSX 10.10 and Fedora 21. (Yes, it is MacBook)

3) The UUID is checked by "sudo blkid" and the target mount point is a valid folder.

4) The following packages have already been installed, but problem still persist:

exfat-utils
fuse-exfat
util-linux

Keruskerfuerst 01-16-2015 02:52 PM

Please
1.post /etc/fstab
2. fdisk -l

jefro 01-16-2015 07:55 PM

Wonder if this is still current. http://forums.fedoraforum.org/showthread.php?t=273620

ussr_1991 01-19-2015 07:44 AM

Sorry for the late reply, as I did not have access to my laptop during this period.

File from /etc/fstab:

Quote:

Originally Posted by /etc/fstab


#
# /etc/fstab
# Created by anaconda on Wed Dec 17 19:07:19 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=62c2a9a1-9b85-4b68-a63e-d68485ba229f / ext4 defaults 1 1
UUID=43fbb9c7-db8b-4000-8ca7-e9d27b71e214 /boot ext4 defaults 1 2
UUID=546e6086-b2a5-321a-971e-8681d90741eb /boot/efi hfsplus defaults 0 2
UUID=042922bf-31cd-450b-a8d2-ca051d7bd149 swap swap defaults 0 0
UUID=702D-912D /run/media/Samuel/DATA exfat defaults 1 2

The above is exactly my /etc/fstab has, and the red line refers to the problematic line that makes the booting fail in my MacBook.

fdisk -l:

Quote:

Originally Posted by fdisk -l
Disk /dev/sda: 931.9 GiB, 1000555581440 bytes, 1954210120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 81F20EC9-1FE3-42C1-96AF-064145CBEFEE

Device Start End Sectors Size Type
/dev/sda1 40 409639 409600 200M EFI System
/dev/sda2 409640 293378383 292968744 139.7G Apple HFS/HFS+
/dev/sda3 293378384 294647919 1269536 619.9M Apple boot
/dev/sda4 294649856 295059455 409600 200M Apple HFS/HFS+
/dev/sda5 295059456 296083455 1024000 500M Microsoft basic data
/dev/sda6 296083456 500883455 204800000 97.7G Microsoft basic data
/dev/sda7 500883456 517267455 16384000 7.8G Linux swap
/dev/sda8 517269504 1005550753 488281250 232.9G Microsoft basic data
/dev/sda9 1005551616 1005813759 262144 128M Microsoft reserved
/dev/sda10 1005813760 1954209791 948396032 452.2G Microsoft basic data



All times are GMT -5. The time now is 08:00 AM.