Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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/?
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
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.
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?
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.