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
  •  


Samsung Galaxy Chromebook Go 14

Samsung Galaxy Chromebook Go 14" (Unlocked)

$89.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung Chromebook XE350XBA-K05US 15.6

Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD

$74.89



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023

$149.99



Samsung Galaxy Tab A 8

Samsung Galaxy Tab A 8" SM-T387V 32GB Verizon WIFI + Cellular Grade A Condition

$52.49



Samsung 990 PRO 2TB NVMe PCIe 4.0 M.2 2280 (MZ-V9P2T0B/AM) Internal SSD picture

Samsung 990 PRO 2TB NVMe PCIe 4.0 M.2 2280 (MZ-V9P2T0B/AM) Internal SSD

$129.00



Samsung 27

Samsung 27" Ultra-Slim LED Curved Monitor HDMI (LC27F390FHN) ™

$97.99



Samsung Chromebook 4 11.6

Samsung Chromebook 4 11.6" HD Intel N4020 4GB RAM 64GB eMMC Bluetooth Webcam

$125.99



Samsung 990 PRO 4TB M.2 NVMe Internal SSD - Model MZ-V9P4T0 picture

Samsung 990 PRO 4TB M.2 NVMe Internal SSD - Model MZ-V9P4T0

$275.99



Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop  XE500C13-K02US HDMI WIFI picture

Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI

$39.59