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.
Start with man fstab. The first reason why you do not see the partitions is that you have not listed them in the /etc/fstab file, so that Linux does not know to mount them ... nor does it know where, nor what kind of filesystem it might be.
As explained in the aforementioned manual-page, you must create an entry in this file for each partition that you may wish to mount, either at startup or upon-request. You must also be sure that the correct filesystem-type is identified here. Windows-NT variants have two possible filesystems: VFAT and NTFS.
linux doesn't recognize windows ways of partitioning...so you might have do a little more work to let us know what exact block device/partitions are.
my problem is that i cant access my windows partitions through linux.......i tried to mount the drives but when i opened "fstab"...it gave the following discription......
mounting drives manually has nothing do with fstab. fstab is used to automatically mount drives at startup or when you are too lazy and don't want to type a big command everytime you want to mount a partition.
try this command as a super user.
# fdisk -l
It will show you all the discs/partitions on your system. Paste back the output here...
Oh by the way, NTFS write support is still experimental so you would not want to write on to your ntfs partition unless you want potential data corruption. Writing to FAT32 partition is perfectly safe.
Two questions, one for the poster and one for everybody else, which may not mean anything, but I thought I'd bring it up...
1. Are the fat32 partitions showing up ok in Windows XP? I just noticed they were spread out, and just wanted to be sure they're being recognized. I see no reason they shouldn't be, but I thought I'd ask anyway.
2. For everybody else, I was just noticing that there is no swapfile. I guess maybe if they have enough ram in the system that it isnt' as important and can still run, but still, I would have thought that one would be needed. Or am I missing something?
Oh wait, I see where it should be, in partion 4. I thought it would show that with fdisk as well...maybe its just I've never noticed...or I hope that it's not that the boot record isn't recognizing it? I'm showing my ignorance here, I'm sure.
hda4 is the partiton which contains the logical partitons hda5, 6, and 7. You were right in the first place he has no swap partiton. This is not a problem.
For the OP, did you read `man fstab` from that information and what was provided by `fdisk -l` you should be able to create the appropriate fstab entries and then mount the partiton. I will give you an example:
In fstab add the following entry to mount /dev/hda5 to a folder named /mnt/hda5
/dev/hda5 /mnt/hda5 vfat defaults,user,rw 0 0
This will allow read and write access to the user who mounts it and any user can mount this partition.
Now after creating /mnt/hda5 as root you can issue `mount /mnt/hda5` as the user you normally run under
Just 2 days ago I was struggling with trying to access my WindowsXP partition, which uses the ntfs format.
A kind soul pointed me to http://linux-ntfs.sourceforge.net, the project page run by some good folks who have written fixit software known as RPM's to allow the rest of us to see our ntfs files.
From there, I downloaded the correct RPM for my kernel (2.4.18-3) and distro (RH 7.3). It worked the first time - I could read my ntfs files and copy them over into my Linux partition. It was easy as pie.
I'll bet you dollars to donuts that they have a ready-made RPM for use with your kernel and RH 9.0 distro. Just type "uname -r" to find out which kernel you have. Then download the right RPM and follow the instructions.
So much for ntfs. They might be able to point you to a different project page where you can get an RPM to allow you to see your FAT32 files.
Hope this helps.
Many thanks to all who maintain this wonderful website - it saved my hide big time!
It sounds like the basic problem may simply be an error in the mount command you ran, or that the mountpoint you were attempting to mount the partitions to didn't exist, or that the mountpoint did not have the proper permissions. Can you specify the exact mount command you tried to run, along with the corresponding permissions of the mountpoint(s)? -- J.W.