LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2006, 10:37 PM   #1
pna1_pi3
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Unhappy How to get files from other partition


Hi, im really new at this and i hope that somebody can help me. I've compiled my hard drive with 2 operating systems, windows and linux. I did this by partitioning my drive. All my music files are in the windows partition and i want to transfer those music files into my Linux partition. When i try opening the windows partition in Linux i get a message saying that i dont have the permissions to display the contents of it. How can i get the permission and finally be able to transfer files?
 
Old 01-28-2006, 10:53 PM   #2
oneferna
Member
 
Registered: May 2003
Distribution: Fedora Core 3, Gentoo
Posts: 47

Rep: Reputation: 15
Honestly (and this probably isn't what you want to hear or the best way to do this but...) I become root (so su or sudo bash depending on your distro) and copy the files via the command line. I don't use the graphical file managers/browsers.

So what I would do is:

cp /from/windows/partition/example.mp3 /to/linux/partition/example.mp3

But I also don't know how you windows partition is mounted or what kind of file system it is. i.e. NTFS or FAT. That info would be useful.
Thanks.
 
Old 01-29-2006, 07:06 AM   #3
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
If you wanted to copy large amounts of data from, say, C:\My Music (and your C drive was mounted on /mnt/windows) you can use the -R option to cp to copy recursively. Something like
Code:
# cp -R /mnt/windows/My\ Music ~
will copy the entire My Music directory from your windows drive to your Linux home directory. After that, you may want to rename it to something more linux-y (i.e. no uppercase or spaces - mv ~/My\ Music ~/music), and you should probably change the owner of the files from root to your everyday user to avoid permissions problems:
Code:
# chown <youruser> -R ~/music (or ~/My\ Music if you didn't rename)
Et voila!
 
  


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
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Getting files off a partition?? Shady195 Linux - Newbie 4 10-17-2005 03:34 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
Accessing files on another partition pyr0ph0r1c Linux - Newbie 21 08-29-2003 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 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