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
  •  


Super micro Server picture

Super micro Server

$198.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD picture

Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD

$149.99



HP Proliant MicroServer (Model: HSTNS-5151) NO HARD DRIVES-Power Tested, picture

HP Proliant MicroServer (Model: HSTNS-5151) NO HARD DRIVES-Power Tested,

$99.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



hpe proliant microserver gen10  picture

hpe proliant microserver gen10

$250.00



HP 658553-001 Microserver UNTESTED AS IS NO HDD picture

HP 658553-001 Microserver UNTESTED AS IS NO HDD

$99.99



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00