Link to home
Start Free TrialLog in
Avatar of mark_667
mark_667

asked on

Mounting disks in Mandrake 10

Iam using Mandrake 10, but when I insert a disk (floppy, CD, or DVD) after creating a device link to it on the desktop and right-click and select the mount option, I get the device icon and the indicator light on the drive comes on to indicate activity, but when I click open (on either of the icons) I get an error message saying they do not exist. When I try to use the mount command in the terminal I get the message that the command does not exist. Any suggestions much appreciated.
Avatar of owensleftfoot
owensleftfoot

"When I try to use the mount command in the terminal I get the message that the command does not exist."

That's a bit weird. Try this. Create a directory in /mnt for your floppy. "mkdir /mnt/floppy" (without the quotes) Then try "mount /dev/fd0 /mnt/floppy" (Again without the quotes). What error message does it give you?
mark_667

after  mount your cdrom you double click to to mounted cdrom icon on on your desktop a there is message do not exist !! I thing I had this problem as well so I always must show absolute path to my mounted cdrom drive.What is the path displayed when you doubleclick on mounted cdrom icon on your desktop?

Try browse to folder where you cdrom is mounted. It should by something like :

/mnt/cdrom

Luxana
Avatar of mark_667

ASKER

Here is what I got when I tried the commands:

[admin@localhost sdmin]$ mkdir /mnt/floppy
mkdir: cannot create directory '/mnt/floppy' permission denied
[admin@localhost sdmin]$ mount /dev/fd0 /mnt/floppy
mount: only root can do that
[admin@localhost sdmin]$

Apparantly, although I set the automatic login to administrator I do not have root access. So I changed the Direct root login option in levels and checks to 'yes' from default and restarted, but only got the same as above. Can I change the access permissions for 'admin' to include root or do I have to log-in as root, and if so, how can I do this without losing all my settings? I have also tried the command /mnt/cdrom in both the terminal andkonqueror, but it failed for the same reason.
HI

al you need to do is :

 $ su -  (change to root)
enter password for root

# mkdir /mnt/floppy  (if it does not exists alredy)

vi /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

/dev/hdX                /mnt/cdrom    iso9660    ro,user,noauto  0                 0
/dev/fd0                 /mnt/floppy         auto     user,noauto       0                 0

now more to options :
if you set user in option it means that user can mount device but can't  unmout but wehn you set users user can mount and unmount device.  noauto means that the device will be not mounted as system boots to set it auto it will mount device as system boots. My advise is to set it noauto and then when you need it just:

$ mount /mnt/floppy
or
$ mount /mnt/cdrom

mount command will reads /etc/fstab and add addionals optios form fstab file.



I do not know how much are you experienced with linux but just in case I need to metion that in /etc/fstab do not remove you lines which are already there just add lines or modify pls.

LUXANA
If you look in /mnt you probably already have floppy and cdrom directorys. To mount your floppy
su -c mount /dev/fd0 /mnt/floppy or cdrom -
su -c mount /dev/cdrom /mnt/cdrom
This is what I got when I ran the command vi /etc/fstab

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto user iocharset=iso8859-1.codepage=850.noauto.ro.exec 0 0
/dev/hdd /mnt/cdrom2 auto user iocharset=iso8859-1.codepage=850.noauto.ro.exec 0 0
/dev/fd0 /mnt/floppy auto user  iocharset=iso8859-1. sync codepage=850.noauto.ro.exec 0 0
none /proc proc defaults 0 0
none /tmp tmpf defaults 0 0
/dev/hda5 swap swap defaults 0 0
~
~
"/etc/fstab" 9L, 440c                                     9,1      All

Note there are 2 CD-ROMs listed one is a DVD-writer, the second is a CD-writer - are they listed correctly?

However the command:
# /etc/fstab: static file system information.
and
# vi /etc/fs?tab
did nothing
Luxana: I don't know hopw to access and change the options you refer to can you spell it out a little more?
owensleftfoot: apparantly I do already have these directories and it indicates that it has mounted the disk, but if I try to open it by right-clicking the mounted desktop icon and selecting 'open' I get the message 'the file or folder '/mnt/floppy' foes not exist'. Also I tried the command:
su -c mount /dev/fd0 /mnt/floppy
and got the error: 'su: user /mnt/floppy does not exist'.
Am I missing something?
What does "ls /mnt/" (without the quotes) give you?
ASKER CERTIFIED SOLUTION
Avatar of Luxana
Luxana
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry I took so long to reply. In the mean-time I had to re-install it for an unrelated reason and it seems to have made a difference although I did nothing different to the first time. I found I can now mount floppy disks on the desktop and konqueror will display the contents.
Typing 'ls /mnt/' gave me:
cdrom/ cdrom2/ floppy
/etc/fstab/ gave me the message 'permission denied', even though I was logged in as root. I found that vi/etc/fstab gave 'no such directory' because I didn't leave a space between 'vi' and '/etc/fstab'. Doing so gave me the data dump I posted in my last reply.

After looking at the replies, I have decided the points should go to LUXANA for providing more detail in the responses that were relevant to the question.