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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks, but can you tell me exactly what to do? I am a complete newbie to linux. And another thing, for some reason or another my cd roms wont work in linux, they say "no medium found" when I click on them. Help
in the file /etc/fstab add a line looking like this:
<device> <mountpoint> <fs> <options> 0 0
<device> is the devicefile for your drive, found in the /dev directory. My computer for example has windows installed on the first partition on my primary master ide-drive, this gives me /dev/hda1.
<mountpoint>
Since linux has all of its filesystems and processes in a single tree-structure you have to tell linux where in the tree you want it to mount the drive. In my case I made a dir named /mnt/win (use the command 'mkdir /mnt/win') to mount the windows filesystem.
<fstype>
Windows use a filesystem called vfat, this one supports the use of long filenames (long names according to Bill). Linux most oftenly use fstype ext2.
<options>
Here comes the part where you tell linux how and when to mount the partition. The options column is a comma separated list. Some of the options are:
noauto, Don't automount
ro, Mount as read-only
user, allow regular users to un-/mount specified drive
To alter your /dev/fstab file by using the vi file editor do like this as root:
# vi /etc/fstab
Go to last line and hit the <i>-key, this switch you to insert mode.
On a new line type like this to mount your windows formated partition to directory /mnt/win automatically at boot time:
OK I did everything you told me step by step but then when I click on the link to my other partition it says "Mount: fs defaults,auto not supported by kernel." What does this mean and how do I fix it. By the way I am just mounting my other partion so I can use some of my mp3's from windoze! And does this have anything with my cd rom drives giving me errors like "no medium found"?
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
fs not supported by kernel
Its highly possible that the kernel you are using does not have support compiled into it for the filesystem you are trying to mount. Exactly what distribution of Linux are you using? When you look in /usr/src/ what do you see?
When you look in /boot what do you see?
I am running best linux. KDE 1.1.2. I am running on a seperate partition from Win 98 SE. When I look in usr/scr the following folders linux, linux 2.2.16, and redhat.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
mounting filesystems automatically
Your CDROM "no medium found" error could have to do with you simply not mounting/unmounting it properly. If you put a CDrom in your system and as root type "mount /mnt/cdrom" what does it say?
As far as the other filesystems go.. you should not be having any trouble because it looks like you are running Redhat 7.0 which by default should have everything you need to mount those filesystems already included.
Please post the contents of you '/etc/fstab' file here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.