Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: I know nothing about how to get cd rom drives to work

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    When I log into root all the icons remain the way that I set them before. I don't know what is different. Any one know why my account is that way (a few icons return to the way they were before)?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I suspect something is running /usr/bin/mkdesktophdicons
    Can you find anything in ~/.kde/Autostart ?

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    In root account everything stays as is. I my account only those two icons keep coming back (cdrom and cdrom1) and when I make hda1 and hda3 icon different they chage back to original.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    The ugliest and only hack I found with a quick search is: chmod 000 /usr/bin/mkdesktophdicons
    Note that this will make it impossible to execute if you don't change back the permissions.
    I checked /etc/init.d/knoppix-autoconfig but couldn't find anything about what could be starting the script. I think you have to grep through your .files in your home directory.

  5. #5
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    Now when I try to play a dvd I get:

    Could not mount device.
    The reported error was:
    mount: /dev/sr2 is not a valid block device

    How do I configure to play a dvd? I made some changes to fstab and the drive worked as a cdrom drive but would not play dvds. I changed to /dev/dvd to /dve/sr2 and made a new icon and that is what I now get. Check out changes to my fstab:

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda3 / ext3 defaults,errors=remount-ro 0 1

    proc /proc proc defaults 0 0

    # Took out noauto after defaults and changed user to users
    /dev/fd0 /floppy vfat defaults,users,showexec,umask=022 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    #default line below - changed /dev/cdrom to /dev/sr0 and user to users and took out ro after defaults and noauto after noexec
    /dev/sr0 /cdrom iso9660 defaults,users,noexec 0 0
    #took out the 'mount' in the beginning of the next line and changed sr0 to hdb this was #experimental
    #/dev/hdb /cdrom iso9660 defaults,ro,users,noexec,noauto 0 0

    #This is what I added - mount /dev/sr0/cdrom iso9660 ro,user,noauto 0 0
    # default line for the line below - /dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
    #This is what I added - took out noauto after noexec
    #/dev/sr1 /cdrom1 iso9660 defaults,ro,users,noexec 0 0 - this code worked as cdrom
    #Changed in the line below dvd to sr2 and user to users and took out noauto after noexec
    /dev/sr2 /dvd iso9660 defaults,ro,users,noexec 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
    # Added by KNOPPIX and I took ouut the ro after exec, .
    /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,umask=000 0 0
    # Added by KNOPPIX - I took out noauto after vfat
    /dev/hda5 /mnt/hda5 vfat users,exec,umask=000 0 0



    What are these lines doing?

    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0

    Only things I get when I look in kde/autostart is :

    file:/usr/share/autostart/kab2kabc.desktop
    file:/usr/share/autostart/kde-services-knoppix.desktop
    file:/usr/share/autostart/kdesktop.desktop
    file:/usr/share/autostart/khotkeys.desktop
    file:/usr/share/autostart/panel.desktop

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Check your devices with dmesg|grep sr
    The master device on your ide cable is sr0 and the slave sr1, unless you have a third drive which would then be sr2.
    If you mount something at /dvd you should also check if it exists, else: mkdir /dvd

    For dvd's add this to your /etc/apt/sources.list:
    deb ftp://ftp.nerim.net/debian-marillat/ unstable main
    Then do:
    dselect update
    apt-get -s install libdvdcss2
    (remove the -s if it looks ok)

    What are these lines doing?

    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
    AFAIK cdaudio is for some programs that look for the disc there but I don't use it since AlsaPlayer uses sr0 just fine. Besides audio cd's can't be mounted anyway.
    The /mnt/auto/cdrom1 is for automounting but you have to check if you have the directory and create it if needed with mkdir /mnt/auto/cdrom1. That said, I don't use automounting either so I'm not sure about this.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. CD and DVD drives
    By Markus in forum Tips and Tricks
    Replies: 20
    Last Post: 04-14-2006, 12:18 AM
  2. CD-ROM drives won't work after HDD install
    By tabrown in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 04-11-2005, 12:46 PM
  3. Getting CD/DVD and Floppy drives to work
    By oracle in forum Hardware & Booting
    Replies: 1
    Last Post: 09-05-2004, 06:44 AM
  4. cd drives do not work after doing hd install
    By IamPi in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-23-2003, 10:51 PM
  5. 2 CD drives...
    By Chris in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-17-2003, 08:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Apple Mac Pro 2019 1TB OEM SSD Kit-832GB +128GB - 656-0122/ 656-0121 picture

Apple Mac Pro 2019 1TB OEM SSD Kit-832GB +128GB - 656-0122/ 656-0121

$69.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$60.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$545.25



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1746.47



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



fanxiang S660 1TB PCIe 4.0 NVMe M.2 2280 Internal SSD w/ Heatsink Gray picture

fanxiang S660 1TB PCIe 4.0 NVMe M.2 2280 Internal SSD w/ Heatsink Gray

$120.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$330.73