LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2003, 01:59 PM   #1
JoeyJoeJo
Member
 
Registered: Jul 2003
Location: Woodstock, Va
Distribution: Redhat 9
Posts: 44

Rep: Reputation: 15
HFS HDD+USB drive enclosure


i have a HFS (Mac) formatted hard disk that I need to read in a USB drive enclosure. I tried to do "mount -t hfs /dev/sda1 /mnt/usb" and sometimes it mounts, but when I go to /mnt/usb, all thats there is this:

[root@RH9 brian]# ls /mnt/usb/
Desktop DB Desktop DF Finder System Where_have_all_my_files_gone?

The only file that says anything is Where_... It says this
Quote:
Why can't you see your files?

This hard disk is formatted with the Mac OS Extended format. Your files and information are still on the hard disk, but you cannot access them with the version of system software you are using.

How can you access your files?

To access your files you must mount this hard disk on a computer that has Mac OS 8.1 or later installed. To determine the version of system software you�e currently using, choose About This Computer from the Apple menu. If you�e using a version of the Mac OS earlier than 8.1, you must do one of the following: A) upgrade the system software on your computer, B) start up the computer from a hard disk or CD that has Mac OS 8.1 or later, or C) connect the hard disk to another computer with Mac OS 8.1 or later installed.

If you want to access the files without upgrading your system software, start up your computer with the �ac OS 8.1�CD or the �isk Tools PPC�disk, then access your files. Apple recommends that you have the �ac OS 8.1�CD if you plan to reformat any hard disk using Mac OS Extended format.

To continue to use this hard disk with this computer, you must upgrade your system software to Mac OS 8.1.

How do you upgrade your system software?

If you have a version of system software earlier than Mac OS 8, you can order Mac OS 8.1 on the Internet or buy it at a local Apple software reseller.

If you have Mac OS 8 on your computer, you can download the Mac OS 8.1 update from the Internet at http://www.info.apple.com.



Copyright 1998 Apple Computer, Inc. All rights reserved.
Apple and Mac OS are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. PowerPC is a registered trademark of International Business Machines Corporation, used under license therefrom.
What have I done wrong?
 
Old 08-18-2003, 02:18 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I would think the filesystem type would be hpfs not hfs.
 
Old 08-18-2003, 02:22 PM   #3
JoeyJoeJo
Member
 
Registered: Jul 2003
Location: Woodstock, Va
Distribution: Redhat 9
Posts: 44

Original Poster
Rep: Reputation: 15
Just tried that micheal, but it says hpfs not supported by kernel.
 
Old 08-18-2003, 03:39 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Probably need to recompile the kernel.
 
Old 08-19-2003, 12:44 AM   #5
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
Indeeed, you've got an HFS+/HFS Extended/HPFS filesystem there, not HFS. That's Apple's newfangled filesystem, and it's been my general experience that it's supported under Linux about as well as Microsoft NTFS...which is close to not at all.
It IS possible to make it work, but if it's in any way possible, you're better off reformatting the drive to normal HFS. The Mac will read the old format without a hiccup, and you're not losing any substansial features on the Mac OS end. I ran my Mac OS X box from an HFS partition with no problems for quite some time.

-Andrew
 
Old 08-19-2003, 02:58 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Why not format it has FAT or FAT32. Apple already included support for FAT since the PowerPC chip came out.

If your friend, someone else or you unfornately came across a Windows system you can still access the drive.
 
Old 08-19-2003, 03:12 AM   #7
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
That's true. On the Mac end, though, HFS will be a bit more robust(supporting icons, creator/type signatures, resource forks, etc). A Mac can't run programs directly off of a FAT drive, like it would be able to with HFS. Plus, I just like HFS better, having grown up on Macs
It's mostly a question of how the drive is going to be used. If it's going to get carried around everywhere, and it's just storing boring ol' data anyway, Electro's idea makes more sense. If the drive is going to be used to share stuff between the Mac and the Linux machine, go HFS.

-Andrew
 
Old 08-19-2003, 09:55 AM   #8
JoeyJoeJo
Member
 
Registered: Jul 2003
Location: Woodstock, Va
Distribution: Redhat 9
Posts: 44

Original Poster
Rep: Reputation: 15
Actually, I just need to read the mac files on the drive to back them up. It's not like a permanent situation, just need to back up to cd. And I think I led you all astray, Now I think its HFS+
 
Old 08-19-2003, 11:27 AM   #9
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
Well, since you're just doing a backup, you at least don't need to worry about getting the drive to work in read/write mode, which can be difficult with experimental filesystems. Readonly should do fine.

You need the hfsplus and hfsplusutils packages, available here:
http://ftp.penguinppc.org/projects/hfsplus/
(Does anybody have a link to any kind of semi-official repository for this those?).

I'm afraid I've never actually attempted to use those packages, and they don't seem to be well documented or supported at all.

Has anybody out there successfully used HFS+ in Linux before? Your input would be more helpful than mine :P

-Andrew
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Second firewire external hdd enclosure fails to appear as a scsi device; iota Linux - Newbie 4 04-05-2007 09:07 PM
USB hard drive enclosure pafrica Linux - Hardware 2 10-16-2005 11:27 PM
HDD Enclosure drivers needed TotalLinuxNoob Linux - Hardware 0 07-20-2005 07:46 AM
Hotplugging an Addonics USB enclosure containing an IDE hard drive TomF Linux - Hardware 0 10-24-2004 01:03 AM
external enclosure for hdd jcwalnut Linux - Hardware 2 09-22-2004 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:28 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