Re: Mounting local filesystems: failed!
Thank you for the reply, Ian. The directories exist and are empty:
do@alien:/var/log$ cd /media
do@alien:/media$ ls -l
total 12
lrwxrwxrwx 1 root root 6 2005-04-24 17:32 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2005-04-24 17:32 cdrom0
drwxr-xr-x 2 root root 4096 2005-05-16 14:25 sda1
drwxr-xr-x 2 root root 4096 2005-07-17 11:01 winxp
do@alien:/media$ ls cdrom
do@alien:/media$ ls cdrom0
do@alien:/media$ ls sda1
do@alien:/media$ ls winxp
do@alien:/media$
I use winxp to mount my (hum) Windows partition, sda1 for the usb
stick and cdrom for the cd. Here is what happens:
alien:/media# mount /media/winxp/
alien:/media# mount /media/sda1
mount: special device /dev/sda1 does not exist
I have 3 usb ports of my laptop. If I move the usb stick to another
port, I can mount it (don't know why, I had noticed this before
though). Could this be the source of the message?
alien:/media# mount /media/sda1 (usb stick in other port)
alien:/media# mount /media/cdrom
alien:/media#
No error messages.
/dev/sda1 does not exist prior to inserting the usb stick, but then
again, that entry in /etc/fstab says 'noauto'...
It might just be a glitch somewhere as nothing seems wrong as far as I can tell.
Thanks much for any help.
Dominique
On 10/19/05, Ian Greenhoe <ihgreenman@gmail.com> wrote:
> On Wed, 2005-10-19 at 13:12 -0400, Dominique Orban wrote:
> > Hello,
>
> Hi!
>
> <snip>
>
> > My /etc/fstab is as
> > follows (and this is how it was also before the upgrade):
> >
> > # <file system> <mount point> <type> <options> <dump> <pass>
> > proc /proc proc defaults 0 0
> > /dev/hda3 / ext3 defaults,errors=remount-ro 0
> 1
> > /dev/hda2 none swap sw 0 0
> > /dev/hda1 /media/winxp ntfs ro,user,noauto,umask=000 0
> 0
> > /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
> > /dev/sda1 /media/sda1 vfat rw,users,noauto 0 0
> >
> > and the output of "mount" is
> >
> > /dev/hda3 on / type ext3 (rw,errors=remount-ro)
> > proc on /proc type proc (rw)
> > sysfs on /sys type sysfs (rw)
> > devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> > tmpfs on /dev/shm type tmpfs (rw)
> > usbfs on /proc/bus/usb type usbfs (rw)
> > tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
>
> Do the directories /media , /media/winxp , /media/cdrom0 ,
> and /media/sda1 exist? In order to mount something the directory onto
> which it is mounted must exist. The mount point (directory onto which a
> filesystem is mounted) *should* also be empty prior to mounting, but
> that will not cause an error.
>
> Also, try running the mount command for your mount points that weren't
> mounted and tell us what error you get (if any). e.g.:
>
> mount /media/winxp
>
> etc.
>
> -Ian
>
>
Reply to: