LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Error mounting HFS+ volume: unable to find HFS+ superblock (https://www.linuxquestions.org/questions/linux-general-1/error-mounting-hfs-volume-unable-to-find-hfs-superblock-449902/)

applewax 05-30-2006 08:40 AM

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!

Emerson 05-31-2006 04:29 AM

Not all flash drives have partitions, try mounting as sda. Just my two cents.

applewax 05-31-2006 08:00 AM

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.

Emerson 05-31-2006 08:45 AM

> 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 ...


All times are GMT -5. The time now is 04:10 AM.