Chris,

Unless you have some sort of esoteric hardware setup, the following script
has always worked for me (I use it for some system automation/monitoring tasks)

[ ! -d /mnt/cdrom ] && mkdir -p /mnt/cdrom; if [ -d /mnt/cdrom ]; then
mount /dev/$(find /proc/{ide,scsi} -type d -exec grep -r ^cdrom$ {} \; |
sort -u | head -1 | awk -F/ '{print $4}') /mnt/cdrom; else echo "Mountpoint 
/mnt/cdrom does not exist."; fi

Hope you find it useful, otherwise I'll suggest to verify the proper
modules are configured on your kernel.

Regards,

-Urivan Flores

==============Original message text===============
On Thu, 24 Jan 2008 14:04:55 PST David Brown wrote:

On Thu, Jan 24, 2008 at 01:26:18PM -0800, [EMAIL PROTECTED] wrote:

>I know this CD/DVD drive works because it boots a Ubuntu Live CD when
>I power cycle.

That's the BIOS doing the boot.

>BUT....when I'm in my normal Ubuntu installation, I can't mount the dumb thing.

Look through 'dmesg' and see if you can figure out what it is getting
called.

Also, check for a /dev/cdrom or something like that.  There is usually a
symlink to whatever the real cdrom is.

David


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
===========End of original message text===========



Urivan A. Flores Saaib
CiberLinux Networking
Email: [EMAIL PROTECTED]



-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to