Can I copy files from a ntfs drive on ubuntu server?
Hello all, I am a windows user and my CPU died on me the other day :(
Now I have a 3TB hard driver which has all my media on from my windows pc and I want to move it to my ubuntu server if this can be done? Ive put the HDD into a external hard drive case and plugged it into the server. Code:
fdisk -l I know it's asking alot but I don't want to lose this media. Cheers |
If you have a graphical interface in your server you could just do that through the file browser
If you dont have a graphical interface you can do that with the cp command in the command line such as Code:
cp /dev/sdb1/ /home/user/Music you could also mount your hard drive to an existing folder in your system Code:
sudo mount -t ntfs /dev/sdb1 /home/user/Public Code:
cd /home/user/Public Code:
ls -l from there you could use the cp command to copy your data into a desired folder or use cd to go further into your folders in sdb1. Remember to replace user with the user name you have in your server Good luck to you |
Quote:
And no I don't have a graphic interface |
Also got this
Code:
sudo mount -t ntfs /dev/sdi1 /home/media/USB |
fdisk does not work with gpt formatted drives. To see how the drive is partitioned use parted or gdisk.
parted /dev/sdi print Once you determine the partition that contains the data you can mount it as: mount -t ntfs-3g /dev/sdix /home/media/USB (replace x with the actual partition number) |
Quote:
that command gave me this Code:
parted /dev/sdi print |
Anyone else any ideas?
Cheers |
looks like it was the usb bay which was causing the problems. Ive put the HDD into the computer and its come up as 3TB now
Code:
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes Code:
mount -t ntfs-3g /dev/sdb1 /home/media/USB2 Code:
mount -t ntfs-3g /dev/sdb1 /home/media/USB2 Code:
parted /dev/sdb print Code:
Ignore |
All times are GMT -5. The time now is 08:19 PM. |