Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
09-30-2012, 11:03 AM   #1
New Member




Join Date: Sep 2012
Posts: 21
Linux K-30 Filesystem Mount Issue

I'm trying to mount my brand spankin' new K-30 on Linux via the USB cable. Centos 6.3.

lsusb -v | grep -i pentax

finds the USB just fine,

fdisk -l output ...

Disk /dev/sdf: 64.6 GB, 64591233536 bytes
255 heads, 63 sectors/track, 7852 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdf1 3 7853 63060992 7 HPFS/NTFS

But ...

[root@malthus Downloads]# mount -t ntfs-3g /dev/sdf1 /media
NTFS signature is missing.
Failed to mount '/dev/sdf1': Invalid argument
The device '/dev/sdf1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

The camera connects just fine to the Windows laptop, but that isn't where I do most of my work. The google isn't being helpful today. Any ideas?

09-30-2012, 11:07 AM   #2
Site Supporter
boriscleto's Avatar

Join Date: Dec 2009
Location: Liverpool, NY
Photos: Gallery
Posts: 12,469
I'm pretty sure the file system is FAT not NTFS.

http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system

If it's a SDHC cars it should be FAT32. SDXC cards are pre formatted with the proprietary exFAT from M$. You will probably have to reformat the card as FAT32. You should also be able to transfer files directly from the camera because Linux see it as a USB Mass Storage device.

http://en.wikipedia.org/wiki/Secure_Digital#SDXC

Last edited by boriscleto; 09-30-2012 at 11:25 AM.
09-30-2012, 11:44 AM   #3
Pentaxian
newmikey's Avatar

Join Date: May 2007
Posts: 1,539
Mounts just fine in my KDE and just pops up in Dolphin.
09-30-2012, 11:45 AM   #4
Inactive Account




Join Date: Dec 2008
Location: North Carolina
Photos: Albums
Posts: 1,720
Since you have ntfs-3g, you must have FUSE, so you can get a FUSE module for exFAT. It is in beta at the moment, so I would probably mount everything as read only for safety, then once everything is copied over format the card in the camera.

09-30-2012, 01:29 PM   #5
Site Supporter




Join Date: Jan 2011
Location: Charleston, SC
Photos: Albums
Posts: 348
Like everyone else mentioned, SDXC uses exfat. There is readonly support somewhere for it. I have not played around with it so I'm not sure where.
09-30-2012, 01:41 PM   #6
Pentaxian
newmikey's Avatar

Join Date: May 2007
Posts: 1,539
Apologies, I didn't notice the exfat bit her. Would exfat - Free exFAT file system implementation - Google Project Hosting help?
09-30-2012, 01:49 PM   #7
New Member




Join Date: Sep 2012
Posts: 21
Original Poster
SOLVED. ExFAT Issue

The card is an SDXC formatted using the camera's built-in utility. Downloading, compiling, and installing the exFAT code from exfat - Free exFAT file system implementation - Google Project Hosting solved the problem. It seems awfully slow, but it does allow me to copy the files off the camera.

Thanks for everyone's help!
09-30-2012, 01:52 PM   #8
New Member




Join Date: Sep 2012
Posts: 21
Original Poster
The card is an SDXC formatted using the camera's built-in utility. Downloading, compiling, and installing the exFAT code from exfat - Free exFAT file system implementation - Google Project Hosting solved the problem. It seems awfully slow, but it does allow me to copy the files off the camera.

And for those who might need it in the future (e.g. myself), the mount cmd is:

mount -t exfat -O ro /dev/sdf1 /media

Thanks for everyone's help!

09-30-2012, 06:30 PM   #9
Pentaxian




Join Date: Apr 2007
Location: Oklahoma USA
Posts: 1,480
QuoteOriginally posted by cmeier Quote
The card is an SDXC formatted using the camera's built-in utility. Downloading, compiling, and installing the exFAT code from exfat - Free exFAT file system implementation - Google Project Hosting solved the problem. It seems awfully slow, but it does allow me to copy the files off the camera.

And for those who might need it in the future (e.g. myself), the mount cmd is:

mount -t exfat -O ro /dev/sdf1 /media

Thanks for everyone's help!
Thanks for posting back with a solution. Possibly a more desktop-oriented linux distribution would have already incorporated the exfat code.

Paul
09-30-2012, 06:44 PM   #10
Inactive Account




Join Date: Dec 2008
Location: North Carolina
Photos: Albums
Posts: 1,720
QuoteOriginally posted by tibbitts Quote
Thanks for posting back with a solution. Possibly a more desktop-oriented linux distribution would have already incorporated the exfat code.
I think it is better that they hold off on that for a while, it is experimental and still in development. ExFAT is still relatively new and being a proprietary MS file system, it must be reverse engineered, just like NTFS was. It was many years before we had full write support for NTFS, so in comparison the ExFAT project is moving really quickly, maybe next year it will be stable enough to use in a production environment.
09-30-2012, 06:49 PM - 1 Like   #11
Site Supporter
boriscleto's Avatar

Join Date: Dec 2009
Location: Liverpool, NY
Photos: Gallery
Posts: 12,469
09-30-2012, 07:03 PM   #12
Inactive Account




Join Date: Dec 2008
Location: North Carolina
Photos: Albums
Posts: 1,720
If exFAT wasn't proprietary it wouldn't need any special workarounds like FUSE. It would work just like ext2-4, JFS, XFS, FAT, ReiserFS and many others do. If I have a thumbdrive formatted with any of the mentioned systems, I can plug it in and it pops up in my file manager. Even works with NTFS, though it will be read only without a FUSE module.

If they could include it in the kernel, they would, but because of silly patents they can't. For the low, low price of $300,000 you could license exFAT, with many restrictions of course.

Last edited by elliott; 09-30-2012 at 07:17 PM.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, device, disk, k-30, linux, ntfs, pentax help, photography, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
k-mount issue photoman1 Pentax DSLR Discussion 7 09-22-2012 12:42 PM
You want Adobe Suit on Linux? rm2 Digital Processing, Software, and Printing 31 01-08-2011 07:09 AM
M42 to K mount issue winglik Pentax Film SLR Discussion 11 12-16-2008 06:24 AM
Old lens, mount issue MrA Pentax SLR Lens Discussion 13 05-12-2008 11:50 PM
Why NTFS is a dangerous filesystem for external drives ... bjsmith Digital Processing, Software, and Printing 5 06-22-2007 10:30 PM



All times are GMT -7. The time now is 12:05 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top