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

Thread: Problems with CDROM

  1. #11
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    MillTek

    SysV-init Editor is a utility you use to configure what service is going to laod when you boot your system.
    It can be found when you click KDE start menu--->System ---> SysV-Init Editor.

    If you never use it before, it wil ask you question about your system. Select Linux and Debian. When the gui started, you will see on the left side (Available services) list of services in your system(usually these services resides in your /etc/init.d folder).

    Select and drag service called autofs and drop on Runlevel 5 (start) collum. If there's an error pop up that says something like :
    "Unable to generate a valid sorting number for this position..................."
    Try change kdm sorting number by right clickin on it-->properties-->
    change the number to 90.
    Then drag & drop autofs.Change the sort number for autofs to say 65, and change back the sort number for kdm to its original.
    To stop the autofs service when you shutdown, just drop on Runlevel 6 at the bottom collum (Stop).
    Dont forget to save.

  2. #12
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You could of course do the same from a root shell with:
    Code:
    update-rc.d autofs start 20 5 . stop 20 6 .
    or if you want to start it at lower runlevels as well:
    Code:
    update-rc.d autofs defaults
    and if you want to remove it later:
    Code:
    update-rc.d -f autofs remove

  3. #13
    Member registered user
    Join Date
    May 2004
    Posts
    35
    Shah,

    I did everything exactly as you suggested, and as you said, when I open a console and 'ls /mnt/cdrom', it lists the contents of the data CD.

    However, when I reboot and click on the file manager (kfmclient) it shows me, under Devices', a CD-ROM with properties as follows 'automount(pid99mntcdrom)' . If I click on this I get ;

    An error occurred while loading devices:/automount(pid99mntcdrom:
    Retrieving data from devices is not supported

    Now if I open a konsole and type 'ls /mnt/cdrom' , this works but it also inserts a new entry in the list of devices in kfmclient - CD-ROM (sr0) [/mnt/ cdrom/cdrom].
    The properties for this are;
    devsr0mntcdromcdrom
    In kfmclient if I click on this new entry it will display the contents of the data CD.
    If I terminate the kfmclient session and restart it the new entry is still there and still functional.

    Obviously the opening of th konsole and the 'ls' command are doing something that is not being done at boot. Any ideas?
    Here are my fstab and mtab in case these help;

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

    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda6 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000 0 0


    MTAB
    /dev/hda5 / ext3 rw,errors=remount-ro 0 0
    /dev/root.old /initrd ext2 rw 0 0
    proc /proc proc rw,nodiratime 0 0
    /dev/pts /dev/pts devpts rw 0 0
    /sys /sys sysfs rw 0 0
    /proc/bus/usb /proc/bus/usb usbdevfs rw,devmode=0666 0 0
    automount(pid1003) /mnt/floppy autofs rw,fd=4,pgrp=1003,minproto=2,maxproto=4 0 0
    automount(pid99 /mnt/cdrom autofs rw,fd=4,pgrp=998,minproto=2,maxproto=4 0 0

    Thanks for all the help Shah and thanks Markus for the suggestion as well.


    Jim

  4. #14
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    MillTek
    I have the same problem with you but I did some adjustment

    1)First what you need to do is to delete/remove autofs from runlevel5(rc5.d) and runlevel6(rc6.d).We don't need it anymore.Knoppix-autoconfig will handle it.

    2) You need to delete /etc/auto.cdrom and /etc/auto.floppy

    3) Edit /etc/auto.master, it should look like this :
    # Sample auto.master file
    # Format of this file:
    # mountpoint map options
    # For details of the format look at autofs(5).
    # /var/autofs/misc /etc/auto.misc
    # /var/autofs/net /etc/auto.net
    #
    # KNOPPIX automounts for floppy and cdrom(s), see knoppix-autoconfig
    /mnt/auto /etc/auto.mnt --timeout=2
    /mnt/auto /etc/automount.sh --timeout=2

    4) Edit /etc/auto.mnt, it should look like this :
    # Knoppix automounter file for Directory /mnt
    floppy -fstype=auto,sync,exec,umask=000 :/dev/fd0
    cdrom -fstype=auto,exec,ro :/dev/sr0
    # The following entries (if any) are auto-generated by knoppix-autoconfig

    5) Edit your /etc/fstab, and it should look like this:
    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda5 / ext3 defaults,errors=remount-ro 0 1

    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,users,noauto,showexec,umask=022 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
    /dev/sr0 /mnt/auto/cdrom iso9660 defaults,ro,users,noexec,auto 0 0
    *( I added change user to users on every type of dev so that you can control you device (mount/unmount, eject) without being su )*
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda6 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000 0 0

    5) Try run /etc/init.d/autofs restart or reboot. You should be able to open your cdrom from CD-ROM(cdrom) from your desktop.
    There will be another icon called CD-ROM(sr0) will automatically be created on your desktop.This icon will not list files on your cd, but it is usefull to eject your cd.

    6) If you see something like, mount: mount point /mnt/auto/cdrom does not exist; while booting,
    just ignore it because the mount point will only exist when you insert your cd.


    Hope this time it will work for you.



  5. #15
    Member registered user
    Join Date
    Jan 2004
    Posts
    40
    my solution may have sounded naieve but it fixed identical problem on two machines

    try discover1 using apt

    automatically updates fstab on boot and did it correct every time so far

Page 2 of 2 FirstFirst 12

Similar Threads

  1. knoppix 3.6 cdrom problems
    By tonysathre in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 02-26-2005, 11:23 PM
  2. Problems Ejecting CDROM
    By Knopper12 in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 12-16-2004, 04:31 AM
  3. Cdrom and USB problems
    By piki in forum Hardware & Booting
    Replies: 3
    Last Post: 10-15-2004, 05:21 PM
  4. problems with cdrom and floppy dev
    By budhead in forum General Support
    Replies: 0
    Last Post: 04-12-2004, 05:34 PM
  5. Problems when mounting cdrom...
    By pau in forum General Support
    Replies: 8
    Last Post: 11-23-2003, 05:36 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
  •  


Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Thinkpad X1 Yoga Gen 6 14

Lenovo Thinkpad X1 Yoga Gen 6 14" 16GB, Storm Gray

$356.80



Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro picture

Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro

$398.99



Lenovo - IdeaPad Slim 3i 15.6

Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...

$349.99



Lenovo IdeaPad 5 2-in-1 16

Lenovo IdeaPad 5 2-in-1 16" WUXGA Touch Ryzen 7 8845HS 16GB 512GB SSD FPReader

$571.00



Lenovo - IdeaPad Slim 3 15.6

Lenovo - IdeaPad Slim 3 15.6" Full HD Laptop - AMD Ryzen 5 40 2025 - 8GB Memo...

$379.99



Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6

Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"

$200.00



Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11

$229.99