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 just installed linux Redhat 7.2 in another partition in my HD. I now have Win XP and Redhat. I really like linux, its stable, its got lots of cool stuff, its free, its got a photoshop clone (hehe). The problem is that it is kind of hard to use. And my question is:
"How can I access files from windows while using linux?" well thats all, thanks!
you should have a directory in your / system - /windows - which mounts the windows partition on your linux virtual fs. if it's not there, then you need to edit your /etc/fstab file - i'm not sure off the top of my head what filesystem xp uses tho...
anyway, you'll need something like this in your fstab file, if it's not already in there:
Sorry about all this but i am a true newbie. Linux has not been running in my machine for more than one day. Anyways, the thing you said did not work. Is there any other way to do this that is not editing <u>/dev/fstab</u>???
If you passed over it during install or wasn't an option, that pretty much is it, but very easy as long as the addition to the fstab is correct. Linux see's your hardrive as hda(usually a) and the partitions within hda are hda1, hda2 etc...First in the root '/' directory do a mkdir "whatever you want to call it to see windows" - the quotes. That will be your "mount point". Change directory to /etc by doing cd /etc then edit the fstab file. Before editing, type cfdisk, you will see all partitions. Make note of the name of the FAT/Windows hda number and quit, fon't write or edit anything. Now type jed fstab (jed is the easiest editor for me). You will see everything that is being mounted at boottime. If you want to add the windows partition, make a new line and start it with /dev/hd(whatever number you noted from cfdisk) hit tab and type the mount point which is /windows or whatever you called the new directory. Tab over again and type vfat (that's the file system type, tab again and type the mount options. Before you add these, go to a new terminal by pressing alt+2, login and type man mount and read up per your situation. Hit alt+1 to get back to your first terminal and add the options. Save the file, reboot and you should be good. I know it sounds a little complicated but it's really not, just go for it. Good luck, let me know if I can be clearer on any points.
ok, I already knew how to open files and all and how to access files but you didnt explain the hardest part! I have in /etc/fstab an extra line in the bottom:
/dev/hda1 /windows vfat
... what comes after that?
I read man mount, but I did not understand...
thanks for you help.
let's not worry about /ets/fstab for now, let just see if you can even mount the windows partition.
mount /dev/hda1 /windows
what does that give you?
does it spit out an error?
(if no then go take a looksee "cd /windows")
mount might complain about not knowing the fstype.. try:
"mount /dev/hda1 /windows -t vfat"
so now you have mounted the fs manually, how about getting it to come up everytime you boot?
try changing the line in the fstab:
"/dev/hda1 /windows vfat"
"/dev/hda1 /windows vfat defaults 1 2"
next step see if mount can read the entry in the fstab, try:
cool? if not then go back and check your (and my) work.
if yes, then reboot and see if the fs was mounted, try: