?
Solved

mount

Posted on 2000-04-22
8
Medium Priority
?
476 Views
Last Modified: 2010-04-20
Hello, currently I am using redhat 6.1 with gnome. my question is:
   How can I mount the drive "automatically" in X-window without go to xterm and have a type of command like mount -t ....
0
Comment
Question by:ahchong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 1

Expert Comment

by:fbjean
ID: 2740454
I`m not sure it`s the best way, but you could go into the /root or /"your user"
and add the command for mounting the cdrom in the .bash_profile
So every time you will log the cdrom will be mount . What will happen if there is no cd in the reader ? You will have to try

good luck
0
 
LVL 1

Expert Comment

by:andrewljohn70
ID: 2741606
Hi ahchong,

Try this out...

1. do not mount the cdrom but have a cdrom when you re-start the computer in linux.

2. Click on the Gnome start button and select the File Manager of gnome - select the /mnt/cdrom directory and see if it reads your cdrom.

3. if you have a data cd in the drive and it is not being read. Just open the drive manually and close it again with the cdrom in it.
This should have you read the CD without you having to type the mount command again and again.

Please let us know if your problem is solve...

have fun :)) Andrew
0
 
LVL 1

Expert Comment

by:Ted22
ID: 2741834
In /etc/fstab

example

/dev/hda2       /mnt/win98   vfat  defaults 0 0


You must make the directory in /mnt "win98"

It should mount when you boot.

fdisk
p
will show your drives
q
to quit
I think this is what your asking.
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 
LVL 3

Expert Comment

by:DVB
ID: 2741867
Heres what I did:
Manually make a link to the /mnt/cdrom directory in your desktop folder.
Then when you have to mount, simply double click on the icon, to unmount, close any window/xterm pointing to the cdrom, then right click and select unmount.
0
 
LVL 3

Expert Comment

by:DVB
ID: 2741875
Ted22, the question was about mounting cdroms, not hard disks!
0
 
LVL 1

Expert Comment

by:Ted22
ID: 2741938
I read "the drive" so I wasn't sure.
0
 
LVL 1

Accepted Solution

by:
friebele earned 40 total points
ID: 2749783
If you open /etc/fstab firstly change the cdrom item so that is contains iso9660,users,ro to allow other users to open the cdrom. While holding the mouse over the gnome panel, right mouse click to bring up a menu and somewhere in there there should be an add mount drive icon. Select it and chose the icon you want and make sure that the device is /dev/cdrom. You can also do this for floppies and harddrive partitions provided that all the partitions are setup correctly in /etc/fstab. Then it is a matter of clicking the icon to mount the drive.
0
 

Author Comment

by:ahchong
ID: 2854036
Answer accepted
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question