Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Easy way to fix your cd-dvd drives

  1. #1
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8

    Easy way to fix your cd-dvd drives

    Hey guys, seems ppl are still being plagued by the cd rom bug in knoppix 3.4 with the 2.6.* kernel. So here is the quick easy way to fix it.
    (depending on your drive layout, you will have to change this a little to suit)

    1. Open a root console window, navigate to /dev/

    2. Type "rm cdrom, rm cdrom1, rm dvd (depending on your drive layout)

    3. Type ln -s scd0 cdrom (link for your cdrom-if it's a dvd, change cdrom to dvd)

    4. Do the same for your second drive if you have one

    5. Change the cdrom lines in your /etc/fstab(without quotes)to say:

    "/dev/cdrom /cdrom iso9660 auto user,noauto,exec,ro 0 0"
    (same for cdrom1 and dvd except change the relevant wording, ie "/dev/dvd /dvd" etc, or simply edit and reuse the existing cdrom link if it's nearly right )

    6. Now delete the cdrom link from your desktop as it never worked anyway did it?

    7. Got to your desktop configuration and check "Show devices on desktop" Check the relevant devices to you, i.e. "Show mounted/unmounted cdrom-cdwriter-dvd"

    8. You should now have working links on your desktop for your cd drives.

    There you go. This should work. Even though the 2.6.* kernel is supposed to support proper ide/atapi settings for optical drives, I have found personally that it is nigh on impossible to make it work, so these will do till they fix it.

    If I have made any typo's that u guru's can see, please make note,as I wouldn't want to lead anyone astray

    Hope this helps!!

  2. #2
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    it did not work unless i am doing it wrong


    my fstab

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda1 / 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/cdrom /cdrom iso9660 auto user,noauto,exec,ro 0 0
    /dev/cdrom1 /cdrom1 iso9660 auto user,noauto,exec,ro 0 0

    # Added by KNOPPIX
    /dev/hda2 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000 0 0
    # Added by KNOPPIX
    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000 0 0




    and now the errors



    mkdir cdrom
    root@PenguinGR:/home/dimgr# mount /dev/cdrom
    [mntent]: line 10 in /etc/fstab is bad
    [mntent]: line 11 in /etc/fstab is bad
    mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab

  3. #3
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8
    Ah, that'd be your cdrom lines...I did have that prob, I found that this line(no iso9660) worked:

    /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    If iso9660 works leave off the auto instead so it doesn't have to get autodetected every time.
    Also it doesn't have to be scd0. Do "dmesg |grep scd", "dmesg |grep sr", "dmesg |grep CD" to see where your cd is connected to. You can then use it as dev in fstab instead of symlinking the device.
    EDIT: Forgot, these work for me:
    /dev/sr0 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/sr1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Romkilla: why do you run lilo? I guess you better remove that info.

    Why restart?
    To have the automounter run again, and create desktop-links?

    If you find out, how to invoke the automounter correctly, without rebooting, and include the hints from the others (dmesg | grep ...), your hints might be very helpfull to many visitors.

  6. #6
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8

    automounter

    Yeah, I think you are right

    I don't think you need to reboot either. Like I said though, if any of you with more knowledge than I(most of you)please add comments. Thanks guys.

  7. #7
    Member registered user
    Join Date
    Apr 2004
    Posts
    83
    ok i managed to fix the cdrom and " half " of the cdrom1

    i can now mount the cdrom1 ( it is a cd rw ) but it can not access the media




    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda5 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/sr0 /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/sr1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

    # Added by KNOPPIX
    /dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000 0 0
    # Added by KNOPPIX
    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000 0 0

  8. #8
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8

    kewl!!

    try edit the cdrom1 link in /dev/ to point to scd1 instead of sr1.

    So, using markus's lines, edited, would say:

    /dev/scd1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0

    I have not personally used sr0 or sr1, as I said I used the scd0 and 1 links and it worked straight up..

    Did you try a different disc just to be sure? Nitpicking I know, but stranger things have happened...

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    On some computers it's scd, and others sr, you have to grep from dmesg to find out what you have. If sr0 works for one drive, the other is most probably sr1.
    What kind of CD did you try to mount? Audio CDs have no filesystem so you have to mount a dataCD in order to browse it.
    If the filesystem is nonstandars on the disk, try with auto instead of iso9660.

  10. #10
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8
    Quote Originally Posted by Markus
    If the filesystem is nonstandard on the disk, try with auto instead of iso9660.
    I think that this is the magic number, so to speak!!

    Thanks Markus!!


    Interesting how it handles drives, because I have had my cd drives working from the scd's, and the hdc/d etc, and Markus has them running from sr0, 1 etc.

    Is there any "Correct" way of doing this?

Page 1 of 2 12 LastLast

Similar Threads

  1. Remastering - The easy way
    By Fabianx in forum Customising & Remastering
    Replies: 73
    Last Post: 02-16-2008, 10:12 AM
  2. Cheats the easy way??!!
    By bsoderror in forum General Support
    Replies: 3
    Last Post: 06-15-2004, 03:09 PM
  3. Wow! That was EASY!!!
    By Xorpid in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-21-2004, 02:37 AM
  4. Probably an easy question
    By dhawton in forum Customising & Remastering
    Replies: 1
    Last Post: 09-02-2003, 09:26 PM
  5. how easy is it to do?
    By a.lost.soul in forum Customising & Remastering
    Replies: 2
    Last Post: 01-23-2003, 09:19 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
  •  


Intel Core i7-7700 3.60GHz Quad-Core CPU picture

Intel Core i7-7700 3.60GHz Quad-Core CPU

$41.54



Intel Core i3-8100T 3.1 GHz Socket LGA 1151 Quad Core Processor... picture

Intel Core i3-8100T 3.1 GHz Socket LGA 1151 Quad Core Processor...

$9.65



Intel Core i7-6700 3.40 GHz QUAD Core (4 Core) Desktop Processor 8MB LGA 1151 picture

Intel Core i7-6700 3.40 GHz QUAD Core (4 Core) Desktop Processor 8MB LGA 1151

$59.99



AMD Ryzen 5 7600 Processor (5.1 GHz, 6 Cores, Socket AM5) picture

AMD Ryzen 5 7600 Processor (5.1 GHz, 6 Cores, Socket AM5)

$155.00



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo

$329.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$544.99



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$77.77



Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151 picture

Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151

$77.99



Intel Xeon E5-2673 v4 20-Core 2.30GHz 50MB 9.60GT/s 135W Processor SR2KE picture

Intel Xeon E5-2673 v4 20-Core 2.30GHz 50MB 9.60GT/s 135W Processor SR2KE

$78.99



INTEL CORE I7-7700 4.20GHz FCLGA1151 Tested Working picture

INTEL CORE I7-7700 4.20GHz FCLGA1151 Tested Working

$71.99