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.
Pretend you know nothing about Linux, but just installed Red Hat 9.0 (like me ). Now, I also have Windows XP on the same hard drive (NTFS), as well as a logical (FAT32) drive. XP recognizes the logical drive, but for the life of me I can't figure out how to mount it in Linux; my goal is to use that logical partition for both OS's.
I've looked through these forums quite extensively but I'm afraid I really need to know every detail: for instance, I think I open the terminal (or press control+alt+1?)... is this where I start? And then what code need I enter?
Sorry if my explanation seems a little convoluted, but I am still a little lost
Open a terminal or get to a prompt (ctrl-alt-F1) and do 'fdisk -l'. You should see a reference to, say, an /hda5 that's formatted as fat. If so, do 'mount /dev/hda5 /mnt/whatever mount point you have handy'. And this fdisk (and probably mount) will need to be done as root. It sounds like what you're confused about is the Linux partition-naming system. Extended partitions start at 5.
Hmmmm OK I know which "hda" it is (5 as a matter of fact, but I'm at work right now can't check ), and I can sign in as root..
What do you mean by "whatever mount point you have handy"? Don't I type "FAT32" or something there?
And I read somewhere about having to alter fstab in order to have the drive remounted each time I log in.... now I found fstab (via search, a read-only file), but it wouldn't let me change it.... how do I change it, and what need I put in?
Oh. Oops. Okay, then it's just 'mount /dev/hda5 /mnt/whatever'. You shouldn't need a -t option (for fstype) but you do need a mount point - an empty directory to incorporate the drive into the root filesystem. It may just be /mnt or it may be /mnt/hd or something of the sort. And fstab shouldn't be read-only. If it is just chmod it and add a line about the partition and it'll automatically mount on boot. I'll come back and post the line shortly if someone else doesn't before me - I have to run to another site real quick first.
That's strange. If they disappeared I guess it's not an issue. If you do come across them maybe you did accidentally create them or they might have been the default mount points for RH - I can't think of any reason Linux would *need* them so they should be safe to delete. 'cd path one level above fat' + 'rmdir -p fat/fat'. That's assuming they're newly created directories or unused mountpoints, so empty, and that I understood correctly that a second 'fat' was a subdirectory of the first. Or just use a TUI/GUI file manager like mc or - are you using Gnome? - Nautilus.
Well, (and once again forgive me, the terminology is all a little new to me, ) what happened was I had been trying to mount the drive by following another thread, but it wasn't working for me.
In the process of trying to mount it, I created the directories /mnt/fat, /mnt/fat32, /mnt/window and /mnt/windows. The problem was, I couldn't figure out how to edit the fstab, but Skyline's method worked for me (although I had to change the line kedit /etc/fstab to gedit /etc/fstab..)
I started another thread asking how I delete these directories (yes I am the UBER-newb) and MasterC showed me how to rm -r them....
All is great now! Now for this offline message thing (see other thread )
Ah, I see. Sorry for not specifying that - it's just one those 'text file with your favorite editor' things. Glad MasterC had you covered. And somebody will get to your gaim issue - I've used it a couple of times but never paid any attention to the offline messages part. Anyway - no problem, glad to help what little I can.