LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-16-2012, 09:18 AM   #1
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Rep: Reputation: 0
Can't access CD drive


Hello,

I created a peppermint iso cd and want to check the md5sum but can't access the cd. I tried the following commands as root:

mount -t iso9660 /dev/sg2 /media/cdrom
mount -t iso9660 /dev/sg2 /mnt/cdrom

I get the following error:

mount: /dev/sg2 is not a block device.

Thanks in advance,
Mike
 
Old 10-16-2012, 09:49 AM   #2
blueh2o
Member
 
Registered: Jul 2011
Distribution: CentOS, Ubuntu, Fedora, Solaris, RHEL, Debian
Posts: 89

Rep: Reputation: 3
Do you have a /dev/sr0 or /dev/scd0 ?
 
Old 10-16-2012, 10:35 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Member Response

Hi,

Look at: CdromMd5sumsAfterBurning <- 'Describes some ways to check the validity of a burnt CD, either via the md5sum or via cmp (compare)'.

The above link and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

HTH!

Last edited by onebuck; 10-16-2012 at 10:36 AM. Reason: typo & font errors
 
Old 10-16-2012, 10:36 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,183

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
The device-name that is used for CDs can vary somewhat from distro to distro.
 
Old 10-16-2012, 11:01 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Member Response

Hi,

@OP

You could use the following from console to identify your device;
Code:
dmesg |grep -i DVD             
   
[    5.459313] ata6.00: ATAPI: HL-DT-STDVD+/-RW GT32N, A203, max UDMA/100
[    5.465965] scsi 5:0:0:0: CD-ROM            HL-DT-ST DVD+-RW GT32N    A203 PQ: 0 ANSI: 5
[    5.470080] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Notice on this machine that 'sr0' is the device: /dev/sr0'

Last edited by onebuck; 10-16-2012 at 11:45 AM.
 
  


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
blocking cdrom drive access and usb drive kalidoss Linux - Security 3 05-22-2012 11:27 PM
[SOLVED] Hardware crash,Repaired,New Install New Hard drive,how to access original Hard drive flatstan Linux - Hardware 7 07-21-2009 07:51 PM
How to access Access root(/) hard drive attached in Windows XP machine farrukhndm Linux - Software 2 07-29-2008 01:52 PM
two hard drive two distributions how can i access the other drive timbo1 Linux - Hardware 4 10-29-2007 07:35 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM


All times are GMT -5. The time now is 07:13 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