Copying data from NTFS drive
aldar25 at yahoo.com
Wed Oct 26 16:57:03 UTC 2005
Be careful from what dir you do these commands!!
su as root or use sudo:
>From the directory that you want to change everything
from root to username:
chown -R username:username *
That will change everything in that dir and below to
username user and username group.
If all the files and dirs are read-only, then
similarily, you can :
chmod -R u+w
Which would make everything in that dir and below
writable by you (u=user).
--- Lewis Futrell <silicon.vampire at gmail.com> wrote:
> You may want to try adding the drive to fstab
> /dev/hd?? /mnt/windows ntfs ro,umask=00020
> The umask is the important part. It allows all
> users read access to the
> drive. I've copied many files from my XP partition
> to linux as a regular
> user this way.
> -----Original Message-----
> From: Charles Malespin
> [mailto:charles.malespin at gmail.com]
> Sent: Tuesday, October 25, 2005 6:04 PM
> To: Ubuntu Help and User Discussions
> Subject: Re: Copying data from NTFS drive
> > It may be true that you can only read from NTFS
> > not write to them, but fortunately all you want to
> do here
> > is read from them. Here's what you want to do:
> > 1) Attach the old drive to your machine somehow.
> It should
> > be auto-mounted, such that when you look in
> dmesg you see
> > something like '/dev/hda' or '/dev/sda'.
> > 2) Create a mount point for your Windows
> partition. I
> > recommend putting it in /mnt -- e.g.,
> > sudo mkdir /mnt/windows
> > 3) Do an fstab on the drive you found in step 1,
> to see
> > which specific partition is the NTFS one:
> > sudo fstab -l /dev/hda
> > (for instance)
> > 4) Mount the partition to the mount point you
> > sudo mount -t ntfs /dev/hda1 /mnt/windows
> > (for instance)
> > See if that does the trick for you.
> Ok.... I managed to mount the drive and access the
> linux part fine and
> take all the data I needed off of that. When I got
> to the windows part
> I could only access it using su - not sudo. SO I
> was root the whole
> time and I transfered all the files over fine(all
> was music etc). But
> now I cant use any of the music cause it all belongs
> to the root
> user.... Am I goign to have to manually go and
> rechange the permissions
> for all of this stuff, and if so how do I do it? I
> didnt realize this
> until I had already transfered most of the data
> over, so its all been
> divided into genre folders in my music so this will
> be a pain to sort
> through each song manually. Any ideas?
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
Start your day with Yahoo! - Make it your home page!
More information about the ubuntu-users