LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I move files from a ntfs drive to a ext3 drive? (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-move-files-from-a-ntfs-drive-to-a-ext3-drive-599615/)

adrian30020 11-14-2007 02:10 PM

How do I move files from a ntfs drive to a ext3 drive?
 
I tried to use konqueror to access the ntfs drive. I can see it but i cant access the media inside that drive, neither it allows me to mount that drive. I am trying to move my music collection from an external ntfs drive to an internal 250gb ext3 drive. When i try to do that it displays a message saying that i dont have permisions to that operation

PS The ntfs in an external usb hard drive.I am a complete noob.


thanx in advance

Tinkster 11-14-2007 02:37 PM

What distro are you using? How is the ntfs drive mounted?

Post the output of 'mount' here.



Cheers,
Tink

adrian30020 11-14-2007 02:41 PM

Quote:

Originally Posted by Tinkster (Post 2958897)
What distro are you using? How is the ntfs drive mounted?

Post the output of 'mount' here.



Cheers,
Tink


i am using pclinuxos 2007. the ntfs drive is not mounted, it wont let me mount, when i tried it gave me a "permissions denied" error message.

the only drive mounted is the one i have the os and the ext 3 empty drive that i want to move the media into.

Slick666 11-14-2007 02:51 PM

I would suggest going into the terminal and running a few commands to check things out. in the terminal type

df -h

This will show you what is mounted and where. Here's my output
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              36G  16G  19G  46% /
varrun                506M  156K  506M  1% /var/run
varlock              506M  4.0K  506M  1% /var/lock
procbususb            506M  224K  506M  1% /proc/bus/usb
udev                  506M  224K  506M  1% /dev
devshm                506M    0  506M  0% /dev/shm
lrm                  506M  15M  491M  3% /lib/modules/2.6.20-16-generic/volatile
/dev/sdb1              37G  31G  3.8G  90% /vmware
/dev/sdc1            230G  155G  64G  71% /Backup

From this you can see that I have:
36GB primary hard drive,
37GB secondary hard drive that contains everything under the directory /vmware
230GB hard drive (In this case USB) that contains everything under the /Backup directory.

This will make sure you have the drive mounted to your system. If it's there then it's just a problem with permissions. And assuming you have root access than getting the data should be a big thing. If it's not mounted then thats an entirely different path to take. I hope this is helpful and please post what you find.

adrian30020 11-14-2007 02:55 PM

Quote:

Originally Posted by Slick666 (Post 2958916)
I would suggest going into the terminal and running a few commands to check things out. in the terminal type

df -h

This will show you what is mounted and where. Here's my output
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              36G  16G  19G  46% /
varrun                506M  156K  506M  1% /var/run
varlock              506M  4.0K  506M  1% /var/lock
procbususb            506M  224K  506M  1% /proc/bus/usb
udev                  506M  224K  506M  1% /dev
devshm                506M    0  506M  0% /dev/shm
lrm                  506M  15M  491M  3% /lib/modules/2.6.20-16-generic/volatile
/dev/sdb1              37G  31G  3.8G  90% /vmware
/dev/sdc1            230G  155G  64G  71% /Backup

From this you can see that I have:
36GB primary hard drive,
37GB secondary hard drive that contains everything under the directory /vmware
230GB hard drive (In this case USB) that contains everything under the /Backup directory.

This will make sure you have the drive mounted to your system. If it's there then it's just a problem with permissions. And assuming you have root access than getting the data should be a big thing. If it's not mounted then thats an entirely different path to take. I hope this is helpful and please post what you find.

Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 7.7G 2.5G 4.9G 34% /
/dev/hdb6 102G 316M 101G 1% /home
/dev/sda1 133G 33M 126G 1% /mnt/win_d
/dev/sda2 94G 33M 89G 1% /media/disk


this is what i can see....the 80gb external ntfs drive is not there....and the strange thing is that sda1 and sda2 refers to external hd wich in this case is not correct.....the only external hd that i have is not there.

Slick666 11-14-2007 03:06 PM

ok, well since The dive is not connected to your system we need to mount it

You need to know the device that your external drive is seen as. In my case sda and sdb are the two internal drives. Any additional drives that I have are added to that (i.e. sdc, sdd, sde,...). So to mount the first partition of my external hard drive I use

Code:

mount /dev/sdc1 /Backup
For you I would think that it would be sdb1. A tool that I use to check sometime is Gparted. If you know how to install software on your machine easily I would suggest installing and running it. It will probe your hardware and display all the drives and partitions that it detects.

If you can't I would try assuming /deb/sdb1 and executing (as root!)

Code:

mount -t ntfs /dev/sdb1 [folder on your system]
if you don't get any errors than success!

Please post any error you get. I hope this helps

adrian30020 11-15-2007 03:27 PM

Quote:

Originally Posted by Slick666 (Post 2958934)
ok, well since The dive is not connected to your system we need to mount it

You need to know the device that your external drive is seen as. In my case sda and sdb are the two internal drives. Any additional drives that I have are added to that (i.e. sdc, sdd, sde,...). So to mount the first partition of my external hard drive I use

Code:

mount /dev/sdc1 /Backup
For you I would think that it would be sdb1. A tool that I use to check sometime is Gparted. If you know how to install software on your machine easily I would suggest installing and running it. It will probe your hardware and display all the drives and partitions that it detects.

If you can't I would try assuming /deb/sdb1 and executing (as root!)

Code:

mount -t ntfs /dev/sdb1 [folder on your system]
if you don't get any errors than success!

Please post any error you get. I hope this helps


thx for the help....i found the problem. My ntfs hard drive was unplugged from windows without using the "safely remove hardware" option. This caused an error in the disc. I logged into window$ and performed a defrag and a scandisc and once i logged back to Linux the problem was solved.


Thanx a lot for the help.

Adrian


All times are GMT -5. The time now is 10:40 AM.