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 03-29-2003, 09:51 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
getting mp3s from ntfs disk to linux disk


EDIT: PROBLEM HAS BEEN RESOVLED


I have over 20gigs of music on my hard disk that is running on WINDOWS XP. Any ways to get these over to my LINUX hard disk?

Last edited by infamous41md; 03-31-2003 at 12:33 PM.
 
Old 03-29-2003, 10:02 PM   #2
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
You need to give more details:

Where are the disks? If they are in different computers, are they close physically, or are they networked, or both on the net?

But basically, you have to mount the disk, and then copy the files over.

HTH
Steve
 
Old 03-29-2003, 10:14 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
ok, sorry, they are in the same computer. so all i have to do is mount it?? i didnt think it was that ez. i will try taht and get back to u. thnx
 
Old 03-29-2003, 10:40 PM   #4
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Mmm ... maybe not that easy if in the same computer

I'll check it out, and get back in a while

Steve
 
Old 03-29-2003, 10:51 PM   #5
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Ok, infamous41md

You can mount NTFS read-only.

I found this thread:

http://groups.google.com/groups?hl=e...enetserver.com

1) Use fdisk -l to see all partitions
2) Find the WINNT partition, usually /dev/hda1
3) Create a directory called /mnt/winnt
4) mount -r -t ntfs /dev/hda1 /mnt/winnt to mount the NTFS filesystem
5) Change to /mnt/winnt to access anything in your NT system

6) Append "/dev/hda1 /mnt/winnt ntfs ro 0 0" to file /etc/fstab to
automatically mount NT.

I hope that helps!
Steve
 
Old 03-29-2003, 11:17 PM   #6
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
bah i get this
mount: fs type ntfs not supported by kernel
 
Old 03-29-2003, 11:27 PM   #7
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Did you mount it ro?
 
Old 03-30-2003, 12:18 AM   #8
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
ehh, forgive my stupidity... what does " ro " stand for? i followed those instructions in previous post. i also tried changing ntfs to auto and i got same error
edit: ah i guess i must have to recompile my kernel perhaps. after reading all the stuff on that newsGroup i am terrified that i may destroy all my music... if that happens, damn i cant even imagine how upset i would be.

Last edited by infamous41md; 03-30-2003 at 12:22 AM.
 
Old 03-30-2003, 12:25 AM   #9
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Read Only

Check out man mount
As long as you don't touch the XP drive, you will be OK. If you mount it read-only, and that is all you need, it should be safe.

I feel your pain - I lost about 30 gigs a few months ago
 
Old 03-30-2003, 01:12 AM   #10
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Steve Cronje, infamous41md doesn't have support for NTFS.

infamous41md, do you have a ZIP, CD-R, or another computer running Windows. Do you have enough money to buy another hard drive so you can use it for both Windows and LINUX.

If you have another computer running Windows. Setup SAMBA on your LINUX system. Copy the files from your system in Windows to the other computer. Then copy the files from the windows computer to your computer. To much work but it works. You can always get another hard drive and format it as FAT32. Then you can play your mp3 in both Windows and LINUX.

BTW, do your self a favor and convert NTFS to FAT32. LINUX will be able to read and write to it. Don't forget to backup your files if you do attempt to convert.
 
Old 03-30-2003, 01:18 AM   #11
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
Quote:
bah i get this
mount: fs type ntfs not supported by kernel
what kernel version are u using?
# uname -a

i guess either u r running old distro or have compiled your kernel.
u just need to compile your kernel to include ntfs read support
 
Old 03-30-2003, 01:28 PM   #12
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Rep: Reputation: 15
This probably seems a little pointless me adding this, but here it is. This is what i do to get files from my WinXP parition.

First you need to mount your [NTFS] winXP parition. Then you'll need to copy over your [.mp3] files to your linux parition. Once you've done that you need to change the permissions / owner / group of the files so you can use them.

(To do the below you've got to be root)

To change the OWNER of the file, do:
# chown <user> *.mp3
e.g. # chown steve *.mp3

To change the GROUP of the file, do:
# chgrp <group> *.mp3
e.g. # chgrp users *.mp3

To change the PERMISSIONS of the file, do:
# chmod <permissions> *.mp3
e.g. # chmod 555 *.mp3

Once thats done, fire up XMMS and have some fun!
 
Old 03-30-2003, 02:47 PM   #13
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux

that is my distro. so, is all i have to do is recompile kernel and somewhere in that list of 543,354,234,000 options there is one to support NTFS?
 
Old 03-30-2003, 04:05 PM   #14
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
NTFS support should be in your kernel. If you're using RedHat 8.0 the driver/module was left out, but support was compiled in. (Legal reasons I assume, similar reason as to why mp3 support was left out)

If so head over here and get the module so you can mount it.

http://linux-ntfs.sourceforge.net/info/redhat.html
 
Old 03-30-2003, 04:26 PM   #15
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
rmartine: hey man thanx a lot. worked 100% perfectly!! i really appreciate the help i'vve gotten from u and the rest of the people on here. i only hope one day i will be knowledgable enuf to offer teh same to future newbies... heh, now as i reread ur last line (mp3 support was left out) --- uhohh, that was the whole reason i wanted to load this drive... surely there must be a way to support mp3s.. i will look on my own for a while, thanks for the help so far tho.

edit:: haha yes!! got the patch for that xmms player, am now pumping my favorite song!!! one question though, do u think i should copy my entire music folder(10+ gigs) onto my linux drive, or just read from the NTFS one. My worry is that somehow i may fuck up the files in the NTFS drives eventually... any reason for me to worry about that ??

Last edited by infamous41md; 03-30-2003 at 04:56 PM.
 
  


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
copy linux installation from old disk to new disk rmanocha Linux - Software 4 07-20-2004 06:21 AM
NTFS Disk noise ezra143 General 16 01-18-2004 02:50 PM
mount an ntfs disk ? qwijibow Linux - Newbie 2 06-25-2003 10:43 AM
Linux boot disk + NTFS mount Freaksta Linux - General 2 04-15-2003 11:38 PM
How do mount a NTFS disk in Linux Scratchmaster Linux - Newbie 4 08-15-2002 06:42 PM

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

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