LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-27-2003, 09:05 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
Need help pulling ASCII off of an unmountable disk.


I've got a disk I made with an old Mac. I've got a lot of stuff on it that I want. Unfortunately, I can't mount it. I know Linux will read the HFS and HFS+ filesystems, but it won't read this disk. I've also got two Windows programs that are supposed to read Mac disks, but neither of them will read this disk.

The only thing I can think to do now is to write a progam to read the ASCII off of the disk without mounting it. Is that impossible? I figure it is, but I don't know what else to do. Can you help me?

Thanks.
 
Old 06-28-2003, 05:49 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
I don't know anything about Mac diskformats, but a straight quick & dirty way to grab all ASCII from some disk without mounting, is to read from the device directly. For example to read copy all the ASCII from a floppy (probably device /dev/fd0), try, (being root):

strings /dev/fd0 >$HOME/floppycontents.txt

Good luck.
 
Old 06-28-2003, 06:04 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
about the only thing i do know about mac drives is that the hardware is not compatiable as they were clever enough to use a variable rotation speed in order to fit more data on a disk.... which standard PC drives can't do (afaik)...
 
Old 06-28-2003, 07:33 AM   #4
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
Maybe the Catweasel controller can offer some help :
"http://www.jschoenfeld.com/products/catweasel_e.htm"

There are also some tools for this card available at :
"http://www.tim-mann.org/catweasel.html"
 
Old 06-28-2003, 06:21 PM   #5
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
I tried "strings /dev/fd0 > ~/floppy.txt" and it said "floppy0: probe failed..." over and over again.
 
Old 06-28-2003, 07:05 PM   #6
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
Maybe it's an idea to try to find somebody with a Mac, and have him/her mail it to you or so.
 
Old 06-28-2003, 09:46 PM   #7
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
Yeah, I'm thinking that's what I'm going to have to do.
 
  


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
cdrom unmountable malvin Linux - Hardware 4 10-20-2005 07:15 PM
USB stick became unmountable noeffred Linux - Hardware 3 10-12-2005 05:27 PM
Unmountable Boot Volume jrdioko Linux - Software 0 06-12-2004 12:58 AM
unmountable zip drive? RaulConQ Slackware 3 11-10-2003 07:10 AM
Unmountable partition mykbourassa Linux - Software 2 09-07-2001 05:36 AM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration