When I try the mount command it says cannot find /dev//hdb1 in /etc/fstab and /etc.mtab
fstab is the file that tells the OS where to mount what partition
mtab is the file that tells you what is currently mounted
My second problem as of now is that I tried to reconfigure my Apache conf file so that it accepts a virtual server but to no avail. Can I send you both files so that you could solve my problem ?
This requires quite a lot of explanation.  So instead im going to forward you to the right document.  http://httpd.apache.org/docs-2.0/vhosts/examples.html


I am not going to email you my configuration files not because Im mean or anythign like that but because I feel that Linux can only be learned by trial and error.  Spoon feeding is not the answer.  Learn to research and read faq's.  Thats the best way.

good luck,
Vijay Avarachen




To mount a partition you neet to know its filesystem type (ext3 in most recent distros such as redhat, mandrake etc).  A quick glace at man fstab might help you.  Here is a example on how to mount something via fstab
<LABEL>        <MOUNT POINT>        <FILESYSTEM TYPE>        <PARAMETERS>    <DUMP/FSCK>
/dev/hdb1            /mountpoint                        ext3                                      defaults                        0 0




Prithu Nath wrote:
Dear Vijay,
 
Thanks for explaining things so well.
 
I have at present two problems as I am new to Linux and trying to get things moving. Unfortunately no good training sources here in India as of now although everyone is talking Linux. Maybe you can think of opening something atleast an online training system if interested.
 
My problems :-
 
1. Second HDD is on the same machine is an IDE not a scsi and is a Primary slave. It has two partitions.
 
When I try the mount command it says cannot find /dev//hdb1 in /etc/fstab and /etc.mtab
 
I read the contents of the fstab but could not figure out what to add where ?
 
2. My second problem as of now is that I tried to reconfigure my Apache conf file so that it accepts a virtual server but to no avail. Can I send you both files so that you could solve my problem ?
 
Thanks a lot.
 
Prithu 

--

Reply via email to