LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-12-2009, 04:17 PM   #1
32sevchenko42
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Writing to Time Machine Backups from Linux


Hello,

I have a 700 gb external hard drive that I use for my Time Machine Backups on my Macbook Pro, but the Macbook only has a 320 gb hard drive and I have a ton of extra space. Time Machine wouldn't allow me to have more than one partition on the drive. The drive is formatted in HFS+ (or however Time Machine sets it up).

I'm about to wipe the drive on a different laptop running Windows, and I have about 100 gb of files I want to back up. Windows will not mount the HFS+ external drive, so I decided to use a live USB with Ubuntu 9 to boot Linux and copy the files from the laptop to the external drive.

The Time Machine drive mounts properly when I plug it into the second laptop running linux from the usb. It shows up on the desktop and I can see the files already on it. However, when I try to copy anything to the drive, an error pops up showing that the drive is read only.

I opened terminal and typed mount, and it read the following:
/dev/sdc2 on /media/Time Machine Backups type hfsplus (rw,nosuid,nodev,uhelper=devkit)

I was surprised that the drive was labelled rw, so I reconnected the drive to my Macbook, and checked the permissions. It was set to read and write for everyone, but just in case I made a new permission for user "ubuntu", which is the user the live USB loads into, and labelled it read and write. That didn't do anything..

Any ideas as to how I can write things to my external Time Machine drive from Linux?

Thanks!
 
Old 12-12-2009, 04:27 PM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
You could try
mount -o rw /dev/sdc2 /media/Time

But if what I read from wikipedia is correct ( http://en.wikipedia.org/wiki/HFS_Plus#Linux ) then you will not be able to write to the drive under Linux if it is the journaled version of HFS+.

Last edited by voyciz; 12-12-2009 at 04:30 PM.
 
Old 12-12-2009, 04:42 PM   #3
32sevchenko42
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by voyciz View Post
You could try
mount -o rw /dev/sdc2 /media/Time

But if what I read from wikipedia is correct ( http://en.wikipedia.org/wiki/HFS_Plus#Linux ) then you will not be able to write to the drive under Linux if it is the journaled version of HFS+.
I tried the above mount command, and the result was "mount: mount point /media/Time does not exist". What can I do for that?

And,
So then, would it be possible to use gparted to resize the main partition, and add another partition without messing up any of the data on the original Time Machine set up? ie. run gparted, resize main partition without erasing data, add an NTFS partition (I'm going to use dd if=/dev/sda of=/media/Time Machine Backups/file.dd to copy the hard drive bit for bit to the external, so I can't use FAT because of the 100gb file, or at least that's what I've heard), and then run dd? Then again, I ran gparted and it shows the file system for the external as unknown
 
Old 12-12-2009, 07:06 PM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Whoops, misread, it should be "/mnt/Time\ Machine\ Backups". As for gparted, don't know, never used it. You'll just have to read the documentation or something.
 
  


Reply

Tags
backup, drive, linux, machine, read, time, write, writing


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backups to another machine? JET-33 Linux - Software 2 07-09-2008 02:45 PM
How to find last shutdown time of linux machine? pranavojha Linux - Desktop 1 04-18-2008 05:09 AM
Ewww- rsync backups with daylight savings time Meson Linux - General 2 04-11-2008 04:36 PM
First time writing a Linux Script !!!! ptreves Linux - Newbie 5 04-06-2005 03:22 PM
How to have two gateways on the same linux machine at the same time deepalalla Linux - Networking 9 01-11-2005 04:51 AM


All times are GMT -5. The time now is 09:48 AM.

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