Mount point problem newbee serious level

This is a discussion on Mount point problem newbee serious level within the Linux Administration forums, part of the Linux Forums category; very frustrated was at one time as user went to cd found cd (windows) use wine to install the program--...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-28-2004
ilaboo
 
Posts: n/a
Default Mount point problem newbee serious level


very frustrated

was at one time as user
went to cd
found cd (windows)

use wine to install the program--loved it

then played around with wine again and destroyed directories ( no
problem here just learning linux)

no i have to access the cdrom and get errors that make no sense to me

is my system broken?


using debian 2.4.6 ( i believe)


trying to mount cdrom

here is fstab








/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0


here are my errors

i get identical errors when i try the cdrom in the cd tray

cdrom is in cdrom1

root@home:~# mount /dev/cdrom1 /mnt/auto/cdrom1


mount: mount point /mnt/auto/cdrom1 does not exist


cd /mnt/lrwxrwxrwx 1 root root 15 Oct 27 14:04 cdrom ->
/mnt /mnt/auto/cdrom

lrwxrwxrwx 1 root root 16 Jul 14 10:23 cdrom1 ->
/mnt/auto/cdrom1
drwxr-xr-x 2 root root 4096 Jul 14 10:27 dvd
lrwxrwxrwx 1 root root 16 Jul 14 10:23 floppy ->
/mnt/auto/floppy


tia
peter




Reply With Quote
  #2 (permalink)  
Old 12-29-2004
Moe Trin
 
Posts: n/a
Default Re: Mount point problem newbee serious level

In article <VtdAd.5458$qf5.5399@newsread3.news.atl.earthlink. net>,
ilaboo wrote:

>very frustrated


Very hard to read what you are trying to say

>no i have to access the cdrom and get errors that make no sense to me


OK

>using debian 2.4.6 ( i believe)


uname -a
cat /etc/debian_version

>trying to mount cdrom
>
>here is fstab


>/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
>/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
>/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
>/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
>/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0


1 problem - you have /dev/cdrom1 listed twice. Delete one or the other

>root@home:~# mount /dev/cdrom1 /mnt/auto/cdrom1
>mount: mount point /mnt/auto/cdrom1 does not exist


OK, what does 'ls -lad / /mnt /mnt/auto' show? I'm guessing, but I
think you are missing '/mnt' and/or '/mnt/auto' and/or the three directories
you are defining in /mnt/auto/.

>cd /mnt/lrwxrwxrwx 1 root root 15 Oct 27 14:04 cdrom ->
>/mnt /mnt/auto/cdrom
>
>lrwxrwxrwx 1 root root 16 Jul 14 10:23 cdrom1 ->
>/mnt/auto/cdrom1
>drwxr-xr-x 2 root root 4096 Jul 14 10:27 dvd
>lrwxrwxrwx 1 root root 16 Jul 14 10:23 floppy ->
>/mnt/auto/floppy


I suspect this is part of your / directory, and it should look like this
with some spaces removed to fit on one line in this news article:

lrwxrwxrwx 1 root root 15 Oct 27 14:04 cdrom -> /mnt/auto/cdrom
lrwxrwxrwx 1 root root 16 Jul 14 10:23 cdrom1 -> /mnt/auto/cdrom1
drwxr-xr-x 2 root root 4096 Jul 14 10:27 dvd
lrwxrwxrwx 1 root root 16 Jul 14 10:23 floppy -> /mnt/auto/floppy
drwxr-xr-x 2 root root 4096 Jul 14 10:27 mnt

and in /mnt you should see

drwxr-xr-x 2 root root 4096 Jul 14 10:27 auto

and in /mnt/auto you should see

drwxr-xr-x 2 root root 4096 Jul 14 10:27 cdrom
drwxr-xr-x 2 root root 4096 Jul 14 10:27 cdrom1
drwxr-xr-x 2 root root 4096 Jul 14 10:27 floppy

Using the second line in /etc/fstab as an example,

/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

you are saying that the /dev/cdrom1 is to be mounted on /cdrom1. Looking at
the directory listing of / you should see that directory OR a link named
/cdrom1 pointing at some other point - in this case probably /mnt/auto/cdrom1.
The error message you are getting is saying that the directory you want to
use (/mnt/auto/cdrom1 in your error message) does not exist. You'd get the
same error if you tried to mount the CD to /cdrom1 because the directory
your link is pointing to doesn't exist. The solution as root is probably

mkdir -p /mnt/auto/cdrom
mkdir -p /mnt/auto/cdrom1
mkdir -p /mnt/auto/floppy

with the -p switch telling mkdir to create the '/mnt' and '/mnt/auto'
directories if they don't exist.

Old guy
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:20 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0