LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-18-2008, 06:08 PM   #1
TonyLima
LQ Newbie
 
Registered: Mar 2008
Location: Greater San Jose (CA) area
Distribution: Ubuntu at the moment
Posts: 2

Rep: Reputation: 0
Question Using ddrescue with Mac OS X and external drive


I have a 500 gb Fantom firewire drive and a MacBook Pro running OS X. I'd like to boot from a Linux CD and create several different images of the Mac HD on the Fantom drive. I've tried using dd and ddrescue, but keep getting a variety of error messages. Summarizing them,

1. /dev/sdb2/MacImage1 is not a directory
2. /dev/sdb2/MacImage1 is a directory
3. The external hard drive is read-only
4. I don't have write privileges to the drive.

I've tried a variety of syntax. Here's one example:

ddrescue -v /dev/sda /dev/sdb2/MacImage1 MacImage1.log

I also installed hfsplus, the Linux driver for the Mac filesystem. That didn't work either.

I've spent quite a few hours banging my head against this, so I'd appreciate it if someone could give me a simple answer that tells me I should have posted here days ago!

Thanks. - Tony Lima

Last edited by TonyLima; 03-18-2008 at 06:23 PM. Reason: Tried something new and wanted to include it
 
Old 03-18-2008, 06:36 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I used carbon copy cloner to backup os x to a partition on my firewire/usb drive. I divided up the drive into mac partitions and told ccc to erase the destination partition first.
http://www.bombich.com/software/ccc.html

I have used a os x utility called asr which works also.
From my notes:
Code:
# Backup utilities for Mac
1. sudo ditto -X / /Volumes/Backup
2. sudo rsync -xrlptgoEv --progress --delete / /Volumes/Backup
3. sudo hdiutil create /Volumes/Backup/mikes_backup.dmg -format UDZO -nocrossdev -srcdir /
4. sudo asr -source / -target /Volumes/Backup -erase -noprompt
5. GUI tool called cccloner


# Using ASR to clone volumes
asr -source -target options
Example: sudo asr -source /Volumes/<Source volume> -target /Volumes/<Target volume> -earse

# ASR from a FireWire drive
asr -source -target options
Example: sudo asr -source /<SourceASRimage.dmg> -target /Volumes/<Target volume> -earse -nocheck

# ASR from a webserver
asr -source -target options
Example: sudo asr -source http://server.name.com/image.dmg -target /Volumes/<Target volume> -earse -nocheck

# Using an AFP network volume
asr -source -target options
Example: sudo asr -source afp://user:password@server.name.com/share/image.dmg -target /Volumes/<Target volume> -erase
 
Old 03-18-2008, 07:40 PM   #3
TonyLima
LQ Newbie
 
Registered: Mar 2008
Location: Greater San Jose (CA) area
Distribution: Ubuntu at the moment
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by homey View Post
I used carbon copy cloner to backup os x to a partition on my firewire/usb drive. I divided up the drive into mac partitions and told ccc to erase the destination partition first.
http://www.bombich.com/software/ccc.html

I have used a os x utility called asr which works also.
From my notes:
Code:
# Backup utilities for Mac
1. sudo ditto -X / /Volumes/Backup
2. sudo rsync -xrlptgoEv --progress --delete / /Volumes/Backup
3. sudo hdiutil create /Volumes/Backup/mikes_backup.dmg -format UDZO -nocrossdev -srcdir /
4. sudo asr -source / -target /Volumes/Backup -erase -noprompt
5. GUI tool called cccloner


# Using ASR to clone volumes
asr -source -target options
Example: sudo asr -source /Volumes/<Source volume> -target /Volumes/<Target volume> -earse

# ASR from a FireWire drive
asr -source -target options
Example: sudo asr -source /<SourceASRimage.dmg> -target /Volumes/<Target volume> -earse -nocheck

# ASR from a webserver
asr -source -target options
Example: sudo asr -source http://server.name.com/image.dmg -target /Volumes/<Target volume> -earse -nocheck

# Using an AFP network volume
asr -source -target options
Example: sudo asr -source afp://user:password@server.name.com/share/image.dmg -target /Volumes/<Target volume> -erase
Thanks for the suggestions. Unfortunately we're going to be partitioning the drive to install Windows, so we need something that can run from a CD boot. I've looked at CCC but it won't work for this purpose.

Your other suggestions have given me some new things to try. Thanks! - Tony
 
  


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
Linux for Mac PPC on an external firewire drive Alberto1 Linux - Software 3 08-23-2010 09:53 PM
Sharing external drive between Linux and Mac OS X Pingus Linux - General 5 01-29-2007 02:23 PM
LXer: Recover Data From a dead hard drive using ddrescue LXer Syndicated Linux News 0 11-28-2006 03:03 PM
Formatting an external hard drive for Linux & Mac compatability. whyatt Linux - Hardware 7 03-15-2006 07:05 AM
Is it possible to mount an external mac formatted firewire drive? BrianK Linux - General 1 06-03-2004 08:08 PM


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