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.
Hi i'm like a bigtime newbie to linux and i'm trying to write a startup script that will both run modprobe to run ntfs and then follow up by mounting the drives. Like i have no idea how to start writing the script but i think they should go into rc3.d and rc5.d right?
As of now the way i mount my ntfs drives is that i startup goto console and goto the etc folder and type "modprobe ntfs" and then that loads the ntfs module
then i have to mount each of the drives.
You didn't mention what distrobution you are trying to get this to work on. However, I can generally give you the two steps you need to take.
To get the ntfs module to load at boot time, you need to make sure that the appropriate line in /etc/rc.d/rc.modules is commented in (search for 'ntfs' inside the file). That is for Slackware. For other distros, check out the /etc/init.d directory. There will be a file that is similar to the one in Slackware -- it generally has 'modules' as part of its name.
The second part of the question is to get the partition mounted. For this, simply place an entry into the /etc/fstab file for the partition(s) you want mounted. You can tell the computer to automount the partition at boot-up or on demand. Simply do a 'man fstab' at the CLI to find out more information about how to alter the fstab file.
ok i guess i shoulda told you i'm running fedora 3, as for the rc modules file i can't find it anywhere
i see rc1, rc2, blah blah, rc local and rc.sysinit but no rc file with any type of modules in it.
If the kernel was compiled with auto module loading then you do not have to write a script to load NTFS during mounting. The kernel should be able to load the module to mount a partition.
If you want the NTFS partition to be mounted at bootup, just add a line in /etc/fstab. Let's say that the NTFS partiton is on /dev/hdb1 and you want to mount it on /mnt/windows. Also you made a directory called /mnt/windows.