LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't access CD drive (https://www.linuxquestions.org/questions/linux-newbie-8/cant-access-cd-drive-4175432483/)

Whatif 10-16-2012 08:18 AM

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

blueh2o 10-16-2012 08:49 AM

Do you have a /dev/sr0 or /dev/scd0 ?

onebuck 10-16-2012 09:35 AM

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!

sundialsvcs 10-16-2012 09:36 AM

The device-name that is used for CDs can vary somewhat from distro to distro.

onebuck 10-16-2012 10:01 AM

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'


All times are GMT -5. The time now is 05:53 AM.