Solved

mount

Posted on 2000-04-22
8
466 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
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
 
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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 10 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Android Security Model 3 72
How to setup xrdp on Redhat? 2 66
Ubuntu/Asterisk after upgrade Wav issue 19 35
Problem to start Neon 20 54
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now