[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OS may not have recognised my DVD....







>
> I am not sure if the the OS saw my new DVD drive (Benq)correctly. I also
> have a CD drive in my machine.
>

In *nix there are many different types of files:
directories, data files, symbolic links, character devices, block
devices, etc.

You need to determine what the actual block device name for your dvd is.
If the cdrom or dvd drive was detected and udev didn't create a symbolic
link to /media/ then you need to make sure that:
1) the device was detected
2) figure out if udev has the correct rule to make a symbolic link for
it.

you can do #1 by looking in /var/log/dmesg or /va/log/messages with
grep CD /var/log/dmesg

OK I did this one:

spc2-burn3-0-0-cust329:/var/log# grep CD /var/log/dmesg
hdc: BENQ DVD DD DW1650, ATAPI CD/DVD-ROM drive
It has found my DVD machine.....  it lives on hdc.........

How do I turn this into a command for apt-cdrom????

I tried some stuff here but I don't know what I am doing properly.

spc2-burn3-0-0-cust329:/var/log# cd /dev
spc2-burn3-0-0-cust329:/dev# ls -l hdc*
brw-rw----  1 root disk 22,  0 2005-02-26 06:38 hdc
brw-rw----  1 root disk 22,  1 2005-02-26 06:38 hdc1
brw-rw----  1 root disk 22, 10 2005-02-26 06:38 hdc10
brw-rw----  1 root disk 22, 11 2005-02-26 06:38 hdc11
brw-rw----  1 root disk 22, 12 2005-02-26 06:38 hdc12
brw-rw----  1 root disk 22, 13 2005-02-26 06:38 hdc13
brw-rw----  1 root disk 22, 14 2005-02-26 06:38 hdc14
brw-rw----  1 root disk 22, 15 2005-02-26 06:38 hdc15
brw-rw----  1 root disk 22, 16 2005-02-26 06:38 hdc16
brw-rw----  1 root disk 22, 17 2005-02-26 06:38 hdc17
brw-rw----  1 root disk 22, 18 2005-02-26 06:38 hdc18
brw-rw----  1 root disk 22, 19 2005-02-26 06:38 hdc19
brw-rw----  1 root disk 22,  2 2005-02-26 06:38 hdc2
brw-rw----  1 root disk 22, 20 2005-02-26 06:38 hdc20
brw-rw----  1 root disk 22,  3 2005-02-26 06:38 hdc3
brw-rw----  1 root disk 22,  4 2005-02-26 06:38 hdc4
brw-rw----  1 root disk 22,  5 2005-02-26 06:38 hdc5
brw-rw----  1 root disk 22,  6 2005-02-26 06:38 hdc6
brw-rw----  1 root disk 22,  7 2005-02-26 06:38 hdc7
brw-rw----  1 root disk 22,  8 2005-02-26 06:38 hdc8
brw-rw----  1 root disk 22,  9 2005-02-26 06:38 hdc9
spc2-burn3-0-0-cust329:/dev# apt-cdrom -d/dev/hdc add
Using CD-ROM mount point /dev/hdc/
Unmounting CD-ROM
Please insert a Disc in the drive and press enter
Mounting CD-ROM
E: Unable to stat the mount point /dev/hdc/ - stat (20 Not a directory)
E: Unable to stat the mount point /dev/hdc/ - stat (20 Not a directory)
E: Failed to mount the cdrom.

OK, I am ignorant, please help me.

Regards,

Michael Fothergill




hdd: LITE-ON LTR-48246K, ATAPI CD/DVD-ROM drive
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)







spc2-burn3-0-0-cust329:/var/log# grep CD /var/log/message

grep: /var/log/message: No such file or directory





grep CD /var/log/message
you will normally get a result containing /dev/hda,/dev/hdb or similar
this will tell you if it was found. If this is not found, then there are
kernel or hardware issues.
The next step is to either try to fix the udev issue (not my speciality)
if you want a nice /media/dvdrom to show up or to simply use the info
from step #1 to use that for the paramter to apt-cdrom.
cheers,
Kev
--
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb



Reply to: