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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have just installed RedHat 9 on its own hard drive (hdb). I have Windows XP on my first drive. I made a fat32 partition on my windows drive whre I am storing all of my mp3s. I want to be able to auto-mount that partition so that I can listen to my MP3s while Im working with Linux. I have tries to mount the drive from a command prompt, but wasn't able to. Could someone tell me how you could do this? I cant even mount the parttion from the terminal. Also, do you think I could use Samba to accoplish this. Or do you have to have a Client/Server network environment for that?
1) make a directory named winxp in /mnt.
2) Change attributes to read/write for everyone.
chmod 777 /mnt/winxp
3) add this line to the /etc/fstab
/dev/hda2 /mnt/winxp vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
4) mount without reboot
5) always do a search before posting a question. This has been asked many times here.
This is done assuming that the the fat32 partition is the second partition on the hard drive that windows is insstalled.
The fstab entry given by tangle may not work for you.
The uid= and gid= may not be correct for your setup.
First find out what your User ID and Group ID is by listing the /etc/passwd file. You may want to create a group for the purpose of file sharing. Such as a group called fileshare. Then you could set the gid= line to the number of the fileshare group.
Since the drive will contain mp3's and not code, consider the options nosuid and noexec instead.
What the suid does, is change the effective user id of the running program to that of the programs owner, which could be root. Since the directory will not contain programs, noexec is prevent programs from being executed from this directory. Just another precaution.
There is a nice mounting option called remount which you can use to make changes to a mounted drive. For example, suppose you want to add the option guid=502.
Type into a shell something like : mount /mnt/mp3s -o guid=502
You don't have to remember the device location, or the other options since they are not changed.
Lastly, check if there is a graphical drive setup program in Red Hat. The one in Mandrake is called diskdrake, but in Red Hat I don't know what it is called.
The only problem I am having now is that I can't play the MP3s with Noatun, Audio Player, or Kaboodle. Audio Player even goes as far as saying that it doesn't support MP3s becasue of piracy or something. The other ones will open the file but not play it.