Feedback

type to search

Failed mount CD-ROM in Synapic [Debian -Testing]

Asked by , Edited by Fernando C. Estrada [ Admin ]

Hi , I Installed debian Squeez /Testing but i can’t add cd repository and when use Synaptic Or CLI area (#apt-cdrom add) I see this text :
debian:/home/mehdi# apt-cdrom add
Using CD-ROM mount point /cdrom/
Unmounting CD-ROM
Waiting for disc…
Please insert a Disc in the drive and press enter
Mounting CD-ROM…
E: Failed to mount the cdrom.

please help me to fix it .
I forget say it , I google it and find a bug in ubuntu like it but this case is different , this bug sayed is on /etc/fstab but it’s not  .

Thanks.

or Cancel

7 answers

0

schamane [ Editor ]

Failed to mount the cdrom” just tells you that it failed. You have to look at your syslog

less /var/log/syslog


or open another terminal and run

tail -f /var/log/syslog

before you use “apt-cdrom” to see more specific error messages.

It could be that the CD is invalid, cannot be read, or that the device /dev/cdrom or whatever is incorrect. Then try what amacater suggested.
or Cancel
0

mahdi.kamari

Thanks my friends , my problem is solved.
Have a good time .

Weblog : http://kamari.bidcorpe.net

NN comments
schamane
-

Please do not use the “answer” section for comments, use “Add comment…” and comment on the appropriate answer. Also, please flag the one answer which resolved your problem as the answer, so that your question appears in the list of answered questions. Thanks.

or Cancel
0

nino

Hi, I’m not an expert and I don’t understand why my just installed Debian refuses to mount other hard disks.

My computer had XP with Ubuntu. After a failed update I decided to install Debian instead of Ubuntu. All things seemed to go well (I’m writing using Debian) but I can’t open other disks.

If I try to do that I receive the message: “Impossible to mount the volume”.

Can anyone help me?

I installed Debian into the same partitions where I previously installed Ubuntu.

Thanks a lot.

or Cancel
0

hamid_rostami [ Editor ]

I’m not sure,
But perhaps this problem will be solved with adding a line like the following to /etc/apt/sources.list :
deb cdrom:[CD-LABEL]/ testing contrib main

And then update the cache:
sudo apt-get update

or Cancel
0

amacater [ Editor ]

Troubleshooting

Type (as root)

dmesg | grep cdrom

[To find out whether the cdrom device was detected at boot
Assume for the moment that it was /dev/hda Manually mount the device]

mount -t iso9660 /dev/hda /media/cdrom

[Change to the directory and check contents]

cd /media/cdrom ; ls -al

[If you see the contents of the CD, all is OK so far. Change out of the directory]

cd ../

apt-cdrom add

[You should see some message about searching for package listings – this may take some time]

aptitude update

Now synaptic should work.

I routinely use this sort of procedure to install isolated workstations from a set of DVDs before connecting them to a network. If you add all 5 or so DVDs this way, then when you need to install packages you will be prompted to insert the appropriate DVD. Once machines are on the network, remember to edit the /etc/apt/sources.list to remove the DVD entries]


or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.