Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 know this has been asked about 10 ^ 100000000000 times, but I'm asking it agian because I cant figure it out from the old posts
I'm trying to access my MP3 files on my WinXP parition (NTFS). I tried that mount command, but it just prints the manual (it knows I'm a Linux idiot )
I'm very new to Linux so I would be happy if you can explain it in details
Hehehe, I've used Linux for nearly the first time yesterday and finally a question I can answer.
Well in my version I had to be logged in as root, create a /windows/C folder and then use the command mount /dev/hd.... and it automatically mounted it in the folder I created. Well I'd tried the command before I created the folders but it said /windows/C folder doesn't exist so I created it.
My turn to ask you some now, I can't get WinXP to load anymore, it just says "missing NTLDR". Did you manage to do it? What did you install first, WinXP or Linux? On which partition have you got WinXP and on which one have you got Linux? Which partition is activated?
Last edited by DaDdY SnEb; 06-20-2002 at 02:50 AM.
Well first off if you have NTFS file support built into the kernel, how are you trying to mount the partition ??
mount -t ntfs /dev/hdX /mnt/windows
Will work... where the X in hdX is the drive it resides on and you can create a empty directory to mount it to. For example I set it at /mnt/windows, that is where my empty directory is that I use to mount windows drives.
Just a word of advise though, NTFS doesn't or isn't read so well under Linux, it can work, but you might run into problems though. Linux is much better at reading fat filesystems.
ok tnx everyone, I tried this but I'm still confused...
I tried mount -t ntfs /dev/hda1 /mnt/windows and it didnt give me any errors this time, so I'm guessing it was successful. Now that it is "mounted" how can I access it????
Originally posted by DaDdY SnEb My turn to ask you some now, I can't get WinXP to load anymore, it just says "missing NTLDR". Did you manage to do it? What did you install first, WinXP or Linux? On which partition have you got WinXP and on which one have you got Linux? Which partition is activated?
Umm I just use System Commander, it lets you have different OS on your system. I rather use that and not the linux or windows boot manager stuff becuase maybe I want to uninstall linux someday.... System Commander is good.
see www.v-com.com (or a warez site if you like)
AAAH!! found it!!!!!!!
Ok one more question, sorry to bother you all
It sounds like that I can only access this through the console thingie, can I make it somehow that I would be able to access it through the graphical interface too?
another one, how can I tell the MP3 player to read from the windows partition? when I go to the MNT folder with the MP3 player, I only see CD-ROM and DISK. I guess it's because I'm logged in as root in the console only.... what should I do?
if you used mount -t ntfs /dev/hdX /mnt/windows it mean "mount this device to this folder, which means that the content of your C windows drive is down in /mnt/windows, so just go to the root and type cd /mnt/windows and then use the ls command to see what's in it.
Oh, I've tried to read my mp3 and it didn't work and they were on the Linux partition I guess it's just me. But now that the drive is mounted you can access it through the File manager in the graphical interface.
umm I tried that. I closed the console and now when I try to access mnt/windows, it says " you dont have enough permissions to read" and on the icon there is a little LOCK icon. I dont want to log in as root, any ways to access it?
You will need permissions to access it. You can either gain those by mounting the drive in fstab with the 'users' option or by chowning /mnt/windows to users.
chown user:user /mnt/windows
(add to the bottom)
/dev/hda /mnt/windows ntfs users,ro 0 0
That is if you use pico, you can use whatever text editor you like, just add the line beginning with /dev... and end it at 0 0
Cool, I think that's it?
But just as trickykid said, if you want to be able to READ AND WRITE to this drive with Linux, then you will want to change it to Fat32 rather than NTFS. If you are just going to add MP3's to it from windows, and just READ them from Linux, then don't worry about changing.
Oh, almost forgot about your Mp3 Player prog. You can access the files just the same as you would in linux, if you need to supply a folder like this: C:\Program Files\Mp3's\ Then you would type it with either of the following:
"/mnt/windows/Program Files/Mp3's/" with the quotes OR
/mnt/windows/Program\ Files/Mp3's/ where the \ represents the space. The quotes one has seemed to work for me pretty good so far, but I am sure that it won't always, so the more correct way is the \ way. Also, you SHOULD be able to access the drive the same way in a GUI. Open a file manager, go to the mnt directory, and go from there.