LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2006, 08:40 AM   #1
applewax
LQ Newbie
 
Registered: Dec 2004
Location: Delaware, USA
Distribution: CentOS (RHEL) 4.0
Posts: 25

Rep: Reputation: 15
Question Error mounting HFS+ volume: unable to find HFS+ superblock


Hello,

I have an HFS+ formatted 1 gb flash drive that I'm trying to mount. I have loaded the hfsplus kernel module, no problem, but when I try to mount the flash drive, I get the following error message from the kernel:

Code:
May 30 09:08:35 raptor kernel: attempt to access beyond end of device
May 30 09:08:35 raptor kernel: sda1: rw=0, want=67, limit=63
May 30 09:08:35 raptor kernel: HFS+-fs: unable to find HFS+ superblock
The command I'm using is:

Code:
sudo mount -t hfsplus /dev/sda1 /mnt/flash
Any help would be greatly appreciated. Thanks!
 
Old 05-31-2006, 04:29 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Not all flash drives have partitions, try mounting as sda. Just my two cents.
 
Old 05-31-2006, 08:00 AM   #3
applewax
LQ Newbie
 
Registered: Dec 2004
Location: Delaware, USA
Distribution: CentOS (RHEL) 4.0
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks, but no luck. I've tried /dev/sda, sda1, sda2, sda3, and sda4. The kernel reports the following when I plug it in:

Code:
May 31 08:08:51 raptor kernel:   Vendor: Kingston  Model: DataTraveler 2.0  Rev: 1.00
May 31 08:08:51 raptor kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
May 31 08:08:51 raptor kernel: SCSI device sda: 1970176 512-byte hdwr sectors (1009 MB)
May 31 08:08:51 raptor kernel: sda: Write Protect is off
May 31 08:08:51 raptor kernel: sda: assuming drive cache: write through
May 31 08:08:51 raptor kernel:  sda: [mac] sda1 sda2 sda3
May 31 08:08:51 raptor kernel: Attached scsi removable disk sda at scsi9, channel 0, id 0, lun 0
May 31 08:08:52 raptor scsi.agent[831]: disk at /devices/pci0000:00/0000:00:1f.4/usb2/2-1/2-1:1.0/host9/target9:0:0/9:0:0:0
May 31 08:08:55 raptor fstab-sync[970]: added mount point /media/Flash for /dev/sda2
I still get the same error. I had previously formatted it with ext3 and it mounted fine, but my new MacBook can't read ext3, so I formatted it with HFS+ to make it compatible. (I really don't want to use vfat.) Any other thoughts on how to mount this HFS+ volume? (Using CentOS 4.0, kernel 2.6.9-5.0.3.EL) Thanks.
 
Old 05-31-2006, 08:45 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
> Any other thoughts on how to mount this HFS+ volume?

Not really
You could try to run fdisk on it, perhaps it reveals something. Partition info for instance. I admit I do not know what type of partition table Mac is using. Maybe writing partition table with Linux and formatting under Mac would make it readable? Just toughts ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i create HFS, HFS+ and RockRidge CD's? moore757 Linux - Software 2 06-19-2005 10:13 PM
Need help mounting an iPod that is formatted hfs+ ShaneK Linux - Hardware 3 03-31-2005 03:29 PM
Problem mounting hfs disk Youssef_C Linux - Hardware 2 02-21-2005 01:46 PM
Mounting HFS+ partitions in YDL 3.0.1, FW HD MACSRULE Linux - General 6 10-29-2004 06:29 AM
mounting hfs+ on a firewire disk MACSRULE Linux - General 0 07-28-2004 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration