PDA

View Full Version : [ubuntu] HELP!! Macbook Dead......Need to back up hard drive


muzia22
September 22nd, 2008, 05:06 AM
I used Ubuntu live cd on my dead macbook and it booted....i found i could access my HDD but i could not acces some files which are protected (music movies picture work) under a user account.....

I am completly new to ubuntu....

is there a way to access these files so i can back them up??

PS i do not kno **** about computer codes...so please be basic...


Thanks

ethoxyethaan
September 22nd, 2008, 05:24 AM
well if the hard disk is already mounted. you should just add a External Hard drive and copy the files from your Internal hard drive to your external hard drive.

you can both use the Graphical way and the command line way, I guess option 1 is best for you

open ubuntu go to >> accessories >> terminal.

in terminal type,

sudo nautilus

drag and drop all the files needed to your external hard drive and unmount the volume when your done.

i hope this helps.

tiresia
September 22nd, 2008, 05:35 AM
To back up your Music Folder from your MacOSX Account you must use the 'cp' (copy) command with 'sudo' (it gives you superuser privileges - so that you can access anything on your HD).
To mount your MacOSX Volume go to Places and just click on your HardDisk (it will be most probably listed as Disk1). If you typels /media you will find your Mac-HD.

The HD where you want to back up your data is also mounted on /media, maybe with the name disk2
If the name of your account on MacOSX is 'muzia22' run

sudo cp -r /media/disk1/Users/muzia22/Music /media/disk2
With this command you say that you want to Copy the Folder (therefore you have the option '-r') Music of the User 'muzia22' of the 'disk1' to the disk2. Change the names according to your data.

If you have still problems post us what you get from ls -l /media

boombox1387
September 22nd, 2008, 08:28 AM
I'm working on the same thing with a Windows computer (using a live CD to save everything that's on the hard drive), and I think most of this thread should probably be relevant for OSX and Windows.

I had a really hard time getting the Windows partition (hda1) to mount. It kept giving me ntfs errors about hardware problems. I was about to give up, when I ran gparted. gparted found the partition and was able to mount a read-only version of it. I browsed through the Windows file system and made sure everything looked intact, then I tried to copy it to an external drive. It gave me an error saying that I was not allowed to copy from a read-only drive.

Any thoughts?

muzia22
September 22nd, 2008, 08:44 AM
well if the hard disk is already mounted. you should just add a External Hard drive and copy the files from your Internal hard drive to your external hard drive.

you can both use the Graphical way and the command line way, I guess option 1 is best for you

open ubuntu go to >> accessories >> terminal.

in terminal type,

sudo nautilus

drag and drop all the files needed to your external hard drive and unmount the volume when your done.

i hope this helps.

what do u mean by mounted? sorry i dont really know computers that well



i can see the HDD....i can access all the files apart from the ones in user accounts.....they always say i dont have permission to veiw them....

cyberdork33
September 22nd, 2008, 10:35 AM
i can see the HDD....i can access all the files apart from the ones in user accounts.....they always say i dont have permission to veiw them....
Your OS X users are not the same as the Ubuntu user, therefore according to the system, those files do not "belong" to you.

If you use root user permissions, you can access and copy ANY file. Running 'sudo nautilus' will open a file browser that has root permissions. You should be able to use that window to copy files off the hard drive and onto your backup.

muzia22
September 22nd, 2008, 01:34 PM
Your OS X users are not the same as the Ubuntu user, therefore according to the system, those files do not "belong" to you.

If you use root user permissions, you can access and copy ANY file. Running 'sudo nautilus' will open a file browser that has root permissions. You should be able to use that window to copy files off the hard drive and onto your backup.


how do i get root user permissions?

tiresia
September 22nd, 2008, 01:49 PM
how do i get root user permissions?
Getting root user permissions means that you run a command with 'sudo'.
Therefore you must just run in a Terminalsudo nautilus

cyberdork33
September 22nd, 2008, 08:14 PM
how do i get root user permissions?

Running 'sudo nautilus' will open a file browser that has root permissions.


...

explorer59
September 23rd, 2008, 07:13 PM
Can you be a little more descriptive about "dead"? You say that the computer will boot the Live CD and you can access the HDD. Did you have an Ubuntu-OSX dual-boot configuration?

Do you have access to another Mac? If so, try putting your MacBook into Target Disk Mode and connect it to the other Mac.