LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 08: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, 08:49 AM   #2
blueh2o
Member
 
Registered: Jul 2011
Distribution: CentOS, Ubuntu, Fedora, Solaris, RHEL, Debian
Posts: 100

Rep: Reputation: 3
Do you have a /dev/sr0 or /dev/scd0 ?
 
Old 10-16-2012, 09:35 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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 09:36 AM. Reason: typo & font errors
 
Old 10-16-2012, 09:36 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
The device-name that is used for CDs can vary somewhat from distro to distro.
 
Old 10-16-2012, 10:01 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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 10:45 AM.
 
  


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

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

All times are GMT -5. The time now is 03:01 PM.

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