LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-01-2003, 10:38 PM   #1
JamDunc
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Help needed badly - finding my music


I have just installed linux (mandrake 9.1) as my sencond operating system and i cannot find my media from my on my windows partitions (in ntfs format) now i have 4000 odd mp3's i want to play whilst in linux, can anyone help me here?

my windows address for them would be I:\Media\Cd's

what would i put in linux and where would i put it?

cheers

Jam

btw, where is the best community site/the best download site/?
 
Old 08-01-2003, 10:45 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
if you go to /mnt/ folder in mandrake you will see all different options ex windows,floppy etc. It should be in there somewhere.
 
Old 08-01-2003, 10:55 PM   #3
JamDunc
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
ty jatt, i'll try it now
 
Old 08-02-2003, 12:03 AM   #4
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Warning: I am a NOOB but....

I believe you may have to mount that partition first before using it. You can look in /dev for the partition. Someone else may have a better way of figuring out what the partition is called too. To mount a windows partition to linux goes something like this:

1. Make the directory to mount the partition to
mkdir /mnt/windows

2. Mount the partition
mount -t ntfs /dev/hdb1 /mnt/windows

This example assumes the partition is called "hdb1".
It also assumes you made that "windows" directory from step one.

The -t option tells Linux what the file system is. Its probably mandantory to name this with NTFS because I think the default is EXT (Linux file system).

Once you get the mount point created and the file system mounted, you will want to automate the mounting each time the OS starts. THis is done by putting an entry in /etc/fstab
which is the Linux File System TABle.

If /fstab is not in /etc, you ca try to locate it by :

whereis fstab (fast but not thourough)

OR

find / -name fstab (slow but searches everywhere IF you are root)

Assuming the example above is accurate, you want to put an entry on fstab like so (fstab is just a text file so pico, vi, nano, etc is fine):

/dev/hdb1 /mnt/windows ntfs auto,users 0 0

I appologize if I was nooby. I am new so all this is not obvious to me like it is too some.
 
Old 08-02-2003, 12:44 AM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Yeah, but mandrake already has /mnt/windows. It does that automatically
 
Old 08-02-2003, 01:03 AM   #6
brice2nice
Member
 
Registered: Jul 2003
Location: france
Distribution: GNU/Linux GNU/debian GNU/sarge
Posts: 48

Rep: Reputation: 15
just mount it and cd into it
 
Old 08-02-2003, 01:51 AM   #7
Cafrow
Member
 
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45

Rep: Reputation: 15
also for you RH9 users, here is what i used to get my Windows HD to mount.

http://linux-ntfs.sourceforge.net/in...hat.html#wrong
 
Old 08-02-2003, 07:12 AM   #8
JamDunc
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
well i used the mount and it found all my windows partitions (calling them win_c1, win_c2, win_d1, win_d2 and win_e, even though letter wise in windows they're C, D, E, I and J!!) so now i've found my music, i try to play it but it doesn't like it, it's very bitty and not playing the files cleanly, any idea why?

cheers for your help so far, jam
 
Old 08-02-2003, 10:31 AM   #9
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
I think its because you are reading the files from NTFS system.
 
Old 08-02-2003, 03:26 PM   #10
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Hey JamDunc:

I am glad that mount expalnation helped. As far as it not playing well, I have not had any problem reading from NTFS or VFAT partitions. I even read from them across a network and from duel boot harddrives but still no problem. Please try to copy a particular file (pick one) from the NTFS partition to your Linux partition and play it from the Linux side. This should rule out problems reading from the NTFS partition. Music is usually stored as a bit stream and I think both windows and Linux store these files in a similar fashion as long as they are both 32 bit machines. Good luck and just try one solution at a time. If the song plays crappy even from the Linux side, then the player is suspect perhaps. Post your results because others may have ideas from that.

Late,

JD
 
Old 08-02-2003, 07:30 PM   #11
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
In the /etc/fstab file, put ro because NTFS is still experimental.

For example, if your line or any lines with NTFS that says this
/dev/hdb1 /mnt/windows ntfs auto,users 0 0

change it to
/dev/hdb1 /mnt/windows ntfs ro,auto,users 0 0

This makes your NTFS partitions be safely read.

You have to be log in as su or root to change the fstab file.

Next type mount -a to refresh the fstab file. Log out of su or root.


For the sound problem, disable artsd. Next download ALSA and read the instructions for your sound device. After you compiled ALSA and configuring your sound device. Go into Mandrake Control Center and make sure sound and ALSA services is turned on. Reboot the computer. You should see the new version of ALSA being used during the start up sequence.
 
  


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
Professionals Help Badly Needed!! About LAMP glence Red Hat 1 08-31-2007 11:14 PM
Fdisk Expert !! Badly needed mickeyboa Fedora 1 07-18-2004 09:52 PM
Hardware help needed.. badly jihadcman Fedora 2 06-21-2004 07:28 AM
tar.gz help badly needed headshot Linux - Newbie 9 07-25-2003 03:53 PM
bpbatch help badly needed? m1anh Linux - General 2 02-07-2003 06:55 PM


All times are GMT -5. The time now is 05:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration