LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-09-2006, 08:47 AM   #1
adam-red
Member
 
Registered: Oct 2004
Location: Manchester, UK
Distribution: openSUSE 11.2
Posts: 63

Rep: Reputation: 15
Copying Files from NTFS drive to Edgy (worked in Dapper)


I use Linux mainly but dual boot into XP for a few games. In Dapper I could access my Windows drive by browsing to it through the filesystem. I've just installed Edgy through a fresh install though, and you can't do it - it's not there. How can I copy files over from my NTFS drive to Edgy? I don't need to write to NTFS just copy.

Thanks
Adam
 
Old 12-09-2006, 10:32 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Have you tried mounting it from a terminal? Like this:

Code:
mount /dev/hda1 /mnt/windows
Replace hda1 with the partition name of your windows data partition. I used /mnt/windows, however you could create a directory name of your choosing. I usually like to keep my mount points under the /mnt directory. Anyway give this a try and post any relevant output (i.e. errors).
 
Old 12-09-2006, 12:55 PM   #3
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
My last post should work for you as long as you are root. However for a more permanent solution that should work as a regular user.

You first need to see which partition is your NTFS partition. This can be done by issuing the following command as root:

Code:
fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes 

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1911 15350076 7 HPFS/NTFS
/dev/hda2 1912 19457 140938245 5 Extended
/dev/hda5 1912 14716 102856131 83 Linux
/dev/hda6 14717 17278 20579233+ 83 Linux
/dev/hda7 17279 17404 1012063+ 82 Linux swap / Solaris
/dev/hda8 17405 19457 16490691 83 Linux
You then need to create a mount point for it by issuing the following command as root:

Code:
mkdir /mnt/windows
This mount point can be named anything you want, however I usually like to keep all mount points in the /mnt directory. Then you need to add a line to /etc/fstab like this:

Code:
/dev/hda1	/mnt/windows	ntfs	nls=utf8,umask=0222,users	0	0
You now should be able to mount your NTFS partition using a command like this:

Code:
mount /mnt/windows
This will mount in this case the /dev/hda1 to the mount point of /mnt/windows in read only mode and you don't need to be root to do it.

Regards,
Fordeck
 
Old 12-10-2006, 11:25 AM   #4
adam-red
Member
 
Registered: Oct 2004
Location: Manchester, UK
Distribution: openSUSE 11.2
Posts: 63

Original Poster
Rep: Reputation: 15
Thumbs up

That worked thanks
 
Old 12-10-2006, 11:49 AM   #5
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Your welcome, glad to be able to help.

Regards,
Fordeck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu : From Dapper to Edgy incomingfire Ubuntu 0 11-27-2006 12:04 PM
Copying from NTFS within Linux to another NTFS drive? sandeepg Linux - General 4 01-21-2006 12:43 AM
Knoppix: copying files from NTFS to FAT32 Manhhh Linux - Newbie 6 08-25-2005 03:21 PM
Copying files to WinXP(NTFS)partition WindowsBurner Linux - General 14 11-11-2003 08:53 AM
I/O error when copying (some) NTFS files cherup Linux - Newbie 1 05-21-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration