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
  •  


Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture

Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2

$295.00



HP PRODESK 600 G5 MT | INTEL CORE I7-9700 3.00GHZ | 256GB | 32GB | NO OS picture

HP PRODESK 600 G5 MT | INTEL CORE I7-9700 3.00GHZ | 256GB | 32GB | NO OS

$144.99



Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture

Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H

$349.99



Dell 15.6

Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11

$446.00



24

24" APPLE iMAC M1 4.5K RETINA 1TB SSD 16GB RAM 8-CORE 8-CORE GPU GREEN TOUCH ID

$1395.00



Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture

Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...

$549.99



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$304.95



HP - 17.3

HP - 17.3" Full HD Laptop - Intel Core i3 - 8GB Memory - 256GB SSD - Natural ...

$369.99



New HP 24

New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11

$409.99



AMD Ryzen 7 5800X 8-Core 4.7GHz 16-Threads PCIe 4.0 Processor 100-100000063WF picture

AMD Ryzen 7 5800X 8-Core 4.7GHz 16-Threads PCIe 4.0 Processor 100-100000063WF

$149.99