LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2011, 03:42 PM   #1
vk4go
LQ Newbie
 
Registered: Mar 2011
Location: Cairns Australia
Posts: 6

Rep: Reputation: 0
External cd drive


Hello to all ...

I am complete new with Linux and install Ubuntu-10 on my Windows-7 notebook.
The external CD drive is a very tiny small black box model from Taiwan, works fine in Windows.
I`m getting it not working on the Ubuntu system.
I try many mounted option what I found on the help page from Ubuntu, but no go.
Any help please I have no clue anymore.
PS: I am standby in Skype and MSN for a help chat

Regards Art in Cairns Australia
 
Old 04-02-2011, 03:50 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Rep: Reputation: 108Reputation: 108
Try this:

$ sudo su -
# dmesg | grep CD-ROM

This prints the kernel's buffer and filters only lines containing the text "CD-ROM". In my case, i get:

root@darkstar:~# dmesg | grep CD-ROM
scsi 1:0:1:0: CD-ROM Optiarc DVD RW AD-7530B NX02 PQ: 0 ANSI: 5
Uniform CD-ROM driver Revision: 3.20
sr 1:0:1:0: Attached scsi CD-ROM sr0

Now mount the CD-ROM drive in the /mnt directory, from above I can see that it is in /dev/sr0:

# mount /dev/sr0 /mnt

Last edited by ChrisAbela; 04-02-2011 at 03:52 PM.
 
Old 04-02-2011, 10:45 PM   #3
vk4go
LQ Newbie
 
Registered: Mar 2011
Location: Cairns Australia
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Chris

Quote:
Originally Posted by ChrisAbela View Post
Try this:

$ sudo su -
# dmesg | grep CD-ROM

This prints the kernel's buffer and filters only lines containing the text "CD-ROM". In my case, i get:

root@darkstar:~# dmesg | grep CD-ROM
scsi 1:0:1:0: CD-ROM Optiarc DVD RW AD-7530B NX02 PQ: 0 ANSI: 5
Uniform CD-ROM driver Revision: 3.20
sr 1:0:1:0: Attached scsi CD-ROM sr0

Now mount the CD-ROM drive in the /mnt directory, from above I can see that it is in /dev/sr0:

# mount /dev/sr0 /mnt
--------------------------------------------------------------------------------------------------
I done it and getting this on the screen also de CD drive I cannot see on the desktop somewhere.
When I typ in the last line then the drive run for 2 seconds and it stopped, I still cannot use it.
------------------------------------------------------------------------------------------------
vk4go@ubuntu:~$ sudo su -
[sudo] password for vk4go:
root@ubuntu:~# dmesg | grep CD-ROM
[ 2.398854] scsi 2:0:0:0: CD-ROM MATSHITA UJDA750 DVD/CDRW 1.51 PQ: 0 ANSI: 0
[ 2.404617] Uniform CD-ROM driver Revision: 3.20
[ 2.405413] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 202.868666] scsi 4:0:0:0: CD-ROM MATSHITA UJDA750 DVD/CDRW 1.51 PQ: 0 ANSI: 0
[ 204.033147] sr 4:0:0:0: Attached scsi CD-ROM sr0
root@ubuntu:~# mount /dev/sr0 /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only
root@ubuntu:~#

Many thanks !!

Last edited by vk4go; 04-03-2011 at 01:45 AM.
 
Old 04-03-2011, 02:24 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by vk4go View Post
root@ubuntu:~# mount /dev/sr0 /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only
root@ubuntu:~#
It looks like the CDROM is mounting under /mnt. If you put a data CD in the drive, do you see the contents of the CD in the /mnt directory?

Last edited by tommcd; 04-03-2011 at 02:25 AM.
 
Old 04-03-2011, 06:45 AM   #5
vk4go
LQ Newbie
 
Registered: Mar 2011
Location: Cairns Australia
Posts: 6

Original Poster
Rep: Reputation: 0
cd read

Quote:
Originally Posted by tommcd View Post
It looks like the CDROM is mounting under /mnt. If you put a data CD in the drive, do you see the contents of the CD in the /mnt directory?
Hi Tom I typ in /mnt ,but I cannot see or do a CD reading
thanks for the help line !!
 
Old 04-03-2011, 07:05 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Try ls /mnt/dev/sr0

Last edited by Larry Webb; 04-03-2011 at 07:07 AM.
 
Old 04-03-2011, 08:40 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by vk4go View Post
Hi Tom I typ in /mnt ,but I cannot see or do a CD reading
With a CD in the drive, open the file manager and search the contents of the /mnt directory after you mount the drive as you did in your last post.
Also, with a CD in the drive, what is the output of lsusb? This assumes the external CDROM drive is hooked up via a usb port.
Make sure you are using a data CD and not a music CD. Music CDs have no file system, so they do not mount like a data CD. You should still be able to play music CDs in any media player though.
 
Old 04-03-2011, 05:16 PM   #8
vk4go
LQ Newbie
 
Registered: Mar 2011
Location: Cairns Australia
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Tom I try LSUSB and it see the a USB port, then when I take the usb cable out and try again lsusb the USB is of the list.

Yes I got a external small USB drive, I will try to find a local person to help me now.
Many thanks all for the help from your guys here.

PS: It will be nice if Ubutu works like Windows and search for the right correct drivers automatic via internet.
Bye Art
 
Old 04-04-2011, 03:21 AM   #9
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Rep: Reputation: 108Reputation: 108
Hi vk4go,

I think that this a matter of getting the sequence right:

1. Connect your drive to the laptop/PC.
2. Insert the CD/DVD.
3. Mount it (say under /mnt): (# mount /dev/sr0 /mnt)
4. Read it: ls -l /mnt
5. Unmount it and eject: # mount /mnt (or simply # eject)

I suggest a reboot if you get mixed up.

With Windows you do not learn much. With linux you get full control and you learn. Most Windows users are petrified of the CLI, but it is our friend.

Chris
 
Old 04-04-2011, 09:22 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
@vk4go

Could you post the output of the command "cat /etc/group"? The problem might be that you don't have permissions for the CD drive.
 
Old 04-04-2011, 02:42 PM   #11
vk4go
LQ Newbie
 
Registered: Mar 2011
Location: Cairns Australia
Posts: 6

Original Poster
Rep: Reputation: 0
read eject

Hello Chris

I done it when I do ls /mnt I am getting a next line with extdisk, the eject also works.
Only I cannot read the data CD maybe I need a permission ?

Can we chat a other way ?
like skype or msn
Regards Art
 
Old 04-04-2011, 02:44 PM   #12
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,208

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
Originally Posted by vk4go View Post
PS: It will be nice if Ubutu works like Windows and search for the right correct drivers automatic via internet.
I think the nice thing about linux, is that it comes with all the drivers built in.
 
Old 04-04-2011, 03:15 PM   #13
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by MTK358 View Post
Could you post the output of the command "cat /etc/group"? The problem might be that you don't have permissions for the CD drive.
Or simply just type the command groups in the terminal to list the groups you are a member of. For reference, on my Xubuntu 10.10 install on my laptop the groups command gives this:
Code:
tom@ubuntu:~$ groups
tom adm dialout cdrom plugdev netdev lpadmin  admin sambashare
tom@ubuntu:~$
I have not added myself to any extra groups beyond what you get by default on Ubuntu. So you should have a similar groups membership.
Quote:
Originally Posted by vk4go View Post
PS: It will be nice if Ubutu works like Windows and search for the right correct drivers automatic via internet.
Most hardware drivers that you would need in linux are loaded automatically from the linux kernel. Some drivers, like nvidia or ati graphics card drivers for example, are proprietary and can not be included in the linux kernel for legal reasons. So this is more of a legal issue than a technical issue.
Hardware from companies that are linux friendly, and have made their drivers open source, usually works right out of the box with no fuss at all. For example, Ralink has made their wireless card drivers open source. My Belkin wireless card that uses the Ralink RT61 wireless chip works right out of the box in linux without having to install any extra drivers at all. The driver is already included in the linux kernel.

EDIT: I did not see the last post from szboardstretcher before I posted this, just in case this seems a bit redundant.

Last edited by tommcd; 04-04-2011 at 03:40 PM.
 
Old 04-04-2011, 03:35 PM   #14
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
@vk4go

Did you read post #10?
 
Old 04-05-2011, 03:28 AM   #15
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Rep: Reputation: 108Reputation: 108
Quote:
Hello Chris

I done it when I do ls /mnt I am getting a next line with extdisk, the eject also works.
Only I cannot read the data CD maybe I need a permission ?

Can we chat a other way ?
like skype or msn
Regards Art
After you mount your CD, can post your listing for
# sudo su -
# ls -l /mnt

and:

# mount

It will give us hints.

Regrettably I do not use skype or msn.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu Newbie...need to clone drive and store data on external drive Mike31718 Ubuntu 15 02-25-2010 06:33 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration