LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-03-2014, 11:56 PM   #1
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Rep: Reputation: Disabled
DVD Mount


I just installed Debian 7.3 and try to updated it from DVD. The aptitute and Synaptic are asking to insert DVD to /media/cdrom but do not recognize it (keep asking even when it inserted).
In the /media directory ls lists cdrom and cdrom0 which is a mount point of an actual inserted DVD. So, I have two directories: media/cdrom and /media/cdrom0. Synaptic tries /media/cdrom and does not see /media/cdrom0. I am not sure how to address this. The sources.list file contains cdrom only and cdrom0 cannot be added.
 
Old 01-04-2014, 06:45 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
I don't think cdrom and cdrom0 are the problem. One is a symlink to the other and both point to the same device (probably /dev/sr0).

Debian comes on 3 DVD's, which one is asked for?

BTW: What is the reason you update from DVD? That sounds wrong, but I might be overlooking something here. In normal circumstances you update from an on-line debian repository.
 
Old 01-04-2014, 11:33 AM   #3
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks Druuna. The reason I am updating from DVD is that networking does not work. I try to get more networking packages in a hope I'll get there a driver for my WiFi card (Broadcom).
I installed from DVD-1 but also tried the 'updated' DVD-1 (this is a 'fourth' DVD -- updated version of DVD 1); the number on that DVD matches what Synaptic is asking. I tried this also with aptitude command -- the same thing; it keeps asking to insert DVD even though it's there and I can read it from the Home (files). I am not sure the DVD update will help me setup the Internet, but in itself it's a strange problem.

You may be right about cdrom and cdrom0 being the same thing -- I don't know. In the fstab file there is a line with /dev/sr0 ..... cdrom0
 
Old 01-05-2014, 04:52 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Miguel5 View Post
Thanks Druuna. The reason I am updating from DVD is that networking does not work. I try to get more networking packages in a hope I'll get there a driver for my WiFi card (Broadcom).
Ok, you are trying to install packages.

Quote:
I installed from DVD-1 but also tried the 'updated' DVD-1 (this is a 'fourth' DVD -- updated version of DVD 1); the number on that DVD matches what Synaptic is asking.
So you tried both the original DVD you installed from and an updated version?

Have you tried the following (use the original install disk when asked for):

- Start the Synaptic Package Manager,
- select edit
- select Add CD-ROM and follow instructions.
 
Old 01-05-2014, 12:07 PM   #5
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
DVD and Software Update

Druuna,

I remember that cdrom is listed in the Synaptic window as a source. I did more though (before). I used 'apt-cdrom add' command and checked the sources.list file, where cdrom is listed as a source. If fact, the cdrom line is duplicated and listed even three times; one line is for the updated DVD and two for the original one; the lines begin with the 'deb' meaning the binary source.
I also tried 'aptitute' command instead of using Synaptic GUI. I get the message that DVD is not mounted. At the same time, I see the DVD drive in the Home directory and can read that DVD... I will try to get online through ethernet port at another location (as I cannot do this at home even from Windows for some reason) and update from the Net, but the DVD situations is still an issue...
 
Old 01-05-2014, 12:31 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Hi. I have a small problem recently close to this on my laptop with a netinst in order to see the CD\DVD-RW drive I have to run the command in a terminal:
Code:
mount /dev/
trying both cdrom0 and\or cdrom it randomly changes between those two so if:
Code:
mount /dev/cdrom0
doesn't work then:
Code:
mount /dev/cdrom
will and vice-versa? Beast wishes and have fun.
 
Old 01-05-2014, 01:13 PM   #7
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sorry Jam...,

No luck. mount cdrom0 does not work. Synaptic is asking to insert in /media/cdrom
In fstab file I have:
/dev/sr0 /media/cdrom0

Regards
 
Old 01-05-2014, 09:42 PM   #8
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Another take:

When I go to /mnt and type mount cdrom, I get: can't find cdrom in /etc/fstab or /etc/mtab

At the same time in /media ls shows: cdrom and cdrom0
 
Old 01-05-2014, 09:46 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
So, you have tried:
Code:
mount /dev/cdrom
exactly like that plus once more with ...cdrom0 and not:
Quote:
Originally Posted by Miguel5 View Post
... mount cdrom0 ...
/media/cdrom
...
/dev/sr0 /media/cdrom0
...
?
 
Old 01-05-2014, 09:51 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Otherwise: http://www.cyberciti.biz/faq/mounting-cdrom-in-linux/ .
 
Old 01-05-2014, 09:54 PM   #11
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Yes, I did tried both commands. Maybe I should edit fstab file to change cdrom0 to cdrom (as Synaptic asks); cdrom is just a link to cdrom0; so, maybe this will make Synaptic happy . I am not sure how to edit fstab file; it seems to be read only and not editable in vi or pico; somebody suggested nedit command but it does not work...
 
Old 01-05-2014, 09:55 PM   #12
Miguel5
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Also I have while booting: 'domain name server lwresd failed.' I am not sure this matters...
 
Old 01-06-2014, 01:00 AM   #13
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by Miguel5 View Post
Also I have while booting: 'domain name server lwresd failed.' I am not sure this matters...
That might be related to the failure of your networking.


Quote:
Originally Posted by Miguel5 View Post
I am not sure how to edit fstab file; it seems to be read only and not editable in vi or pico; somebody suggested nedit command but it does not work...
/etc/fstab can only be edited as root. try using sudo in front of your commands. However, be careful when editing any configuration files as mistakes can leave things worse than before.

Do you have access to a wired (ethernet) Internet connection? You should really do the first update and upgrade via a wired connection as ethernet is fully supported for most modern hardware.

Also, keep in mind that your dvd is already mounted, so to mount it in a different place, you should try unmounting it first.

Code:
umount /media/cdrom0
mount /dev/sr0 /media/cdrom
However, that probably won't make any difference as the packages on the install disk are probably all installed already, hence the reason synaptic can't find anything (new) there.

Updating an off-line debian system is possible though using apt-offline
 
Old 01-06-2014, 03:59 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Miguel5 View Post
When I go to /mnt and type mount cdrom, I get: can't find cdrom in /etc/fstab or /etc/mtab
You are probably missing an entry in /etc/fstab which would make manual mounting possible.

You might want to add the following to your /etc/fstab file:
Code:
/dev/sr0                         /media/cdrom0   udf,iso9660  user,noauto  0 0
Quote:
At the same time in /media ls shows: cdrom and cdrom0
The dvd is probably automatically mounted (the default behaviour).

But neither of the above are relevant when dealing with synaptic, apt-cdrom and the lot. These applications will ask you to insert a DVD/CD. This is done even if a DVD/CD is mounted!

You mention in post #5 that you have been playing with apt-cdrom and have multiple entries in your sources.list. It might be a good idea to start with a clean source.list.

As root do the following:
- Make a backup of the original sources.list (cp sources.list sources.list.org)
- Remove all the entries from sources.list (> sources.list)
- Use apt-cdrom to add one or more DVD's (start with the original installation DVD's) Add CDROMs to apt’s sources using apt-cdrom

Once this works and you have your internet connection sorted out you can use the below link to set up a sources list to update using the internet:
- Debian Sources List Generator
 
  


Reply



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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
Three towers.. 3-DVD ROM's.. DVD's won't mount..? Cosmicb Linux - Software 4 12-10-2010 05:54 PM
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM
LG DVD+-RW/RAM won't mount after writing DVD (growisofs/k3b) jaws_tas Linux - Hardware 1 03-25-2005 01:52 AM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:19 AM.

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