New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

Writing to Time Machine Backups drive from Linux


Post Reply New Thread Subscribe

 
Thread Tools
sworddude182

 
Member Since: Nov 30, 2009
Posts: 6
sworddude182 is on a distinguished road

sworddude182 is offline
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!
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,318
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
Do the following
Code:
cd /media/Time\ Machine\ Backups
ls -l
This will most likely show that the files on here are owned by Root, so unless you do the copy preceded with "sudo" it won't be able to copy the files there. You can change that adding the options "uid=1000,gid=1000" to the Mount command to give your user account RW permissions as well.

Regards
QUOTE Thanks
sworddude182

 
Member Since: Nov 30, 2009
Posts: 6
sworddude182 is on a distinguished road

sworddude182 is offline
Quote:
Originally Posted by Raz0rEdge View Post
Do the following
Code:
cd /media/Time\ Machine\ Backups
ls -l
I tried the ls -l and the results look something like this:

Code:
drwxr-xr-x 1 502 dialout      19 2009-12-11 16:39 Movies
... (and multiple similar entries)
Although one entry had "root" where the 502 was.

in /media I did ls -l and it looked like this:
Code:
drwxrwxrwx 1 502 dialout 22 2009-12-12 09:41 Time Machine Backups

Ideas?
QUOTE Thanks
sworddude182

 
Member Since: Nov 30, 2009
Posts: 6
sworddude182 is on a distinguished road

sworddude182 is offline
oh and I tried copying as root and an error message came up showing that the drive was read only...

hmm
QUOTE Thanks
chscag

 
chscag's Avatar
 
Member Since: Jan 23, 2008
Location: Fort Worth, Texas
Posts: 38,382
chscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond repute
Mac Specs: 27" iMac i5, 3.2 GHz, iPad 3, iPhone 5c, 3 iPods, OS X Mavericks

chscag is offline
Instead of messing around with Linux why not just use Disk Utility and partition the drive? Create one partition as HFS extended journaled for Time Machine backups and the second partition as FAT-32 for your Windows files.

Note: Whenever you let Time Machine setup an external drive it wants to use the whole drive. The way around that is to use Disk Utility instead.

Regards.
QUOTE Thanks

Post Reply New Thread Subscribe


« Windows 7 waste reduction | X plane 9 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
External Drive for both Mac OS X and Windows Xp/Vista ? time machine and backups Simon.Rain Other Hardware and Peripherals 7 10-16-2009 11:09 AM
It doesn't recognize the hard drive I used for Time Machine backups empty_noise Apple Notebooks 3 06-27-2009 05:43 AM
Continue Time Machine Backups After Repartition & Clean Install of Leopard EL@PDX OS X - Operating System 0 06-19-2009 03:58 AM
Time Machine and Truecrypt.. Drive doesn't Show wolfsta OS X - Operating System 1 11-25-2008 07:25 PM
Formatting external drive for Time Machine and Windows blackterror Other Hardware and Peripherals 1 05-30-2008 06:06 PM

All times are GMT -4. The time now is 09:38 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?