Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-25-2003, 10:06 AM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
urgent question - mount network drive

hi there,

I really need to mount a cdrom drive on my desktop. The drive is my linux box.

How can I mount that drive on my desktop? It is quite urget, because my cd drive in my desktop is screwing up.

The IP of the box is so I tried:

# mount // /mnt/cdrom

really hope someone has an answer

Old 10-25-2003, 10:47 AM   #2
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
I assume the following from your question: a) your "linux box" and your "desktop" are two separate computers; b) you have the mount point /mnt/cdrom on both your "linux box" as well as you "desktop"; c) "desktop" is also running linux.

On your "linux box", you have to do the following:

1) You must first make the /mnt/cdrom on "linux box" available over the network. For this you will probably use NFS. If you've never used NFS before, well, be prepared to do some learnin'. Search this site and google for "NFS Red Hat". I'll try my best:

Edit your /etc/exports file and add:
/mnt/cdrom    desktop(rw) #substitute the real hostname of "desktop"
Comment out everything in /etc/hosts.deny and /hosts.allow, until you can get the NFS server working.

Then as root do:
# exportfs -r
# chkconfig --level 2345 nfs on
# service nfs restart

(This is the best advice I can give for running NFS on Red Hat; on Slackware, it is much much easier)

2) After starting NFS, mount the cd-rom drive to /mnt/cdrom (that is, /mnt/cdrom on the "linux box")
i.e. # mount -t iso9660 /dev/cdrom /mnt/cdrom.

Now, on "desktop", do:

mount -t nfs /mnt/cdrom

Last edited by spurious; 10-25-2003 at 03:14 PM.
Old 10-25-2003, 11:15 AM   #3
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please do NOT mark threads as urgent, and please be a little clearer... as spurious pointed out, you don't actually define any difference between the "linux box" and "desktop" machines... even if they ARE different machines in the first place.

I'm still left wondering why you need to access this mystical CD directly.... the most complete way would be to set up NFS, but maybe you can just use scp / sftp to connect to an existing ssh server running remotely?
Old 10-26-2003, 03:24 AM   #4
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
acid_kewpie: sorry about the urget bit.

Spurious: thanks for that. It is very clear. I had already been looking at setting up and NFS server in order to do this, but now I have a fair idea of what needs doing.

Thanks for your help



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mount a Network Drive surfduke SUSE / openSUSE 1 01-21-2005 09:17 AM
Auto Mount a Network Drive thebutler4 Linux - Newbie 3 06-23-2004 09:56 PM
Network drive Mount doesn't stay!!H metalaid Linux - Software 1 01-22-2004 02:09 PM
How do i mount a network drive? yenonn Linux - Networking 1 03-10-2003 01:57 AM
How can i mount to the network drive? yenonn Linux - Newbie 1 02-25-2003 10:33 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration