LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2004, 04:54 PM   #1
LunarEagle
Member
 
Registered: Oct 2004
Location: Planet: Earth
Distribution: Foresight Linux
Posts: 35

Rep: Reputation: 15
Mac Volumns on Linux


Hey how can I view and write Macintosh Partitions/Volumns with Linux. Specifically Slackware 10.0
 
Old 11-04-2004, 05:53 PM   #2
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
I think mac's filesystem is hfs. So as root type mount -t hfs /dev/*** /mnt/*** (after you've mkdir'd a mount point, of course). But if you are trying to mount a commercial MAC formatted diskette, you may have to crack it open and either remove or put in one of those little copy-protection tabs, or at least I had to when I tried to do it.
 
Old 11-04-2004, 09:59 PM   #3
LunarEagle
Member
 
Registered: Oct 2004
Location: Planet: Earth
Distribution: Foresight Linux
Posts: 35

Original Poster
Rep: Reputation: 15
nice, thankx

nice, thankx
 
Old 11-07-2004, 06:14 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Unless it's an HFS+ partition! This won't read properly using the hfs filesystem module. There is a suite called "hfsplus" that will allow you to mount and meddle with HFS+ partitions.

A sorry story to tell, though:
I have an old Apple (5500/225 to be precise) and I upgraded it to Debian. At the time of me doing this (for the first time) I was going to night school at my local college to do a CCNA course. The tutor at this college didn't mind if I took my USB-->ATAPI adapter and a spare harddrive in and set up a machine up to download lots of stuff whilst we worked.

I duly downloaded all 7 CDs for Debian/PPC (I didn't have broadband at the time, so an FTP install was out of the question) and took them home. Copied all the ISO images onto my main machine, MD5ed them to check they were OK. Popped this "spare" harddrive into the Apple since that was my original intention. Burned the ISOs to CD. All went well, until it came to using disc 2! This disc was knackered. The ISO was fine, and the CD was fine, but it just refused to read any data from it in the Mac. So, I continued the installation without one of the CDs.

Next week, I remove the harddrive from the Apple. Fire up my main x86 machine and connect the Apple harddrive to it using the USB-->Atapi adapter. Linux sees the disk fine. So, I remove the Linux and SWAP partitions and create a single, large VFAT partition in its space. Format it, mount it, create a test file. Go into college with said harddrive and adapter ready to re-download CD 2, just in case!

Fire up the college's machine (running WinXP). Plug in the adapter. Attach the harddrive. Nothing. Zip, zilch. Since the Windows machine is in the College, it has been locked down, so I can't get to the "Computer Management" console to check out the drive.

Now, even without being able to do that, I knew exactly what the (unsortable-at-college) problem was. The harddrive did indeed contain a VFAT partition, but it was within an Apple partition table! Windows isn't going to see that, now, is it?

So, the moral of my story is this: Linux is absolutely fantastic for filesystem recovery and general file management, but remember that if you make changes under Linux, it may not be readable by other OSs simply because of Linux's extreme flexibility!
 
Old 11-08-2004, 12:26 AM   #5
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
It's easier if you are running LinuxPPC on an Apple machine vs X86. You're running x86...right?
 
Old 11-08-2004, 04:54 AM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Err... who's the question directed to?

And how is it easier to mount HFS (or HFS+) 'volumes' on a PPC machine running Linux than it is on an x86 machine running Linux? So long as you have the hfs filesystem module, and you have it modprobed/insmodded, then how does it make any difference?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I want a linux like mac cmanns Linux - Newbie 14 08-13-2005 10:47 AM
Mac on Linux remz Linux - Software 1 01-29-2005 11:26 PM
linux on mac ojasom Linux - Distributions 3 10-06-2004 04:14 PM
Linux on Mac matt3333 Slackware 2 10-05-2003 04:02 AM
Mac -> Linux GtFik Linux - Newbie 8 07-20-2003 04:31 AM


All times are GMT -5. The time now is 09: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration