Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hi I am struggling to get my CD-RW/CD-ROM and DVD-ROM/CD-ROM drives configured. I cant seem to find them in my normal users account. They both show in dmesg as .... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132

    CD/DVD Setup Problems


    Hi

    I am struggling to get my CD-RW/CD-ROM and DVD-ROM/CD-ROM drives configured.

    I cant seem to find them in my normal users account.

    They both show in dmesg as ....

    Code:
    hdc: HL-DT-ST GCE-8320B, ATAPI CD/DVD-ROM drive
    hdd: LG DVD-ROM DRD-8160B, ATAPI CD/DVD-ROM drive
    but don't seem to appear correctly in fstab...

    Code:
    /dev/hda1        swap             swap        defaults         0   0
    /dev/hda2        /                ext3        defaults         1   1
    /dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
    /dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
    devpts           /dev/pts         devpts      gid=5,mode=620   0   0
    proc             /proc            proc        defaults         0   0
    Can someone give me a clue how to get these working please. I am not really sure where to start.

    I am using Slack 10.1 with the 2.4.29 kernel if that assists.

    Cheers

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    I'm not quite sure of what you are asking, but why not edit your fstab to look like this:
    /dev/hda1 swap swap defaults 0 0
    /dev/hda2 / ext3 defaults 1 1
    /dev/hdc /mnt/cdrom iso9660 noauto,users,ro 0 0
    /dev/hdd /mnt/dvd iso9660 noauto,users,ro 0 0
    /dev/fd0 /mnt/floppy auto noauto,users 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    proc /proc proc defaults 0 0
    and make sure that you have /mnt/dvd with
    Code:
    mkdir /mnt/dvd
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    Thanks for the reply.

    I think what is confusing me is how do I differentiate between the CD Burner and the CD-ROM, which are both /dev/hdc. The same with the other device, CD-ROM and DVD-ROM are /dev/hdd.

    For example, if I want to burn a CD from the commandline using "cdrecord" would the command

    Code:
    /mnt/cdrom
    work for me in this scenario or would I have to define the CD-RW in the fstab as well or will the system sort that out for me.

    I know I am not explaining this very well, I have struggled with this in several distro's even though it appears very basic. I will edit my fstab as you suggest and see how I get on.

    Another quick question is, what cd burning tools are vailable in Slack 10.1. I do not seem to have any, K3B etc. When I enter "cdrecord" at the command promt, either as root or user I get "command not found".

    Any assistance appreciated.

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Quote Originally Posted by Bubo
    Thanks for the reply.

    I think what is confusing me is how do I differentiate between the CD Burner and the CD-ROM, which are both /dev/hdc. The same with the other device, CD-ROM and DVD-ROM are /dev/hdd.

    For example, if I want to burn a CD from the commandline using "cdrecord" would the command

    Code:
    /mnt/cdrom
    work for me in this scenario or would I have to define the CD-RW in the fstab as well or will the system sort that out for me.

    I know I am not explaining this very well, I have struggled with this in several distro's even though it appears very basic. I will edit my fstab as you suggest and see how I get on.

    Another quick question is, what cd burning tools are vailable in Slack 10.1. I do not seem to have any, K3B etc. When I enter "cdrecord" at the command promt, either as root or user I get "command not found".

    Any assistance appreciated.

    Bubo
    check this out I just installed this and it worked for me.
    http://www.k3b.org/
    Mike

    I just noticed that you are using 2.4 kernel - that means you need to enable scsi emulation
    here is a snippet of my lilo.conf the part of interest is
    append ="hdc=ide-scsi"

    # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    append="hdc=ide-scsi"
    boot = /dev/hda

    after adding that line in that spot
    save and exit and run
    /sbin/lilo
    make sure there is no errors
    it should say added what ever you have with now errors
    if there is an error and you did something wrong make sure you fix it before you reboot

    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  6. #5
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    Hi Mike

    Thanks for that. Just a couple of questions...

    I tried adding the line as you said, but when I run

    Code:
    /sbin/lilo
    I get this error

    Code:
    root@ccu-linux:~# /sbin/lilo
    Fatal: VolumeID read error: sector 0 of /dev/sda not readable
    I have no idea what that means, so I took the line out again, ran

    Code:
    /sbin/lilo
    again, and got this

    Code:
    added Linux *
    I have not had the chance to look at the K3b link, but presumably I need to sort out the scsi emulation first. Would that be right ?

    Regards

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  7. #6
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Quote Originally Posted by Bubo
    Hi Mike

    Thanks for that. Just a couple of questions...

    I tried adding the line as you said, but when I run

    Code:
    /sbin/lilo
    I get this error

    Code:
    root@ccu-linux:~# /sbin/lilo
    Fatal: VolumeID read error: sector 0 of /dev/sda not readable
    I have no idea what that means, so I took the line out again, ran

    Code:
    /sbin/lilo
    again, and got this

    Code:
    added Linux *
    I have not had the chance to look at the K3b link, but presumably I need to sort out the scsi emulation first. Would that be right ?

    Regards

    Bubo
    you will need that code for the 2.4 kernel
    I will show you my file
    Code:
    # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    append="hdc=ide-scsi"
    boot = /dev/hda
    message = /boot/boot_message.txt
    prompt
    timeout = 1200
    # Override dangerous defaults that rewrite the partition table:
    change-rules
      reset
    # VESA framebuffer console @ 1024x768x256
    vga = 773
    # Normal VGA console
    # vga = normal
    # VESA framebuffer console @ 1024x768x64k
    # vga=791
    # VESA framebuffer console @ 1024x768x32k
    # vga=790
    # VESA framebuffer console @ 1024x768x256
    # vga=773
    # VESA framebuffer console @ 800x600x64k
    lilo.conf lines 1-23/54 42%
    did you keep the quotes?

    also do this
    ln -s /dev/hdc /dev/cdrom

    make sure you have no errors with /sbin/lilo very important

    bare in mind none of this is needed in the 2.6 kernel. if you recompile to 2.6 this all will automatically work.

    keep me informed
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  8. #7
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    Since last my post I have installed K3b from your link. It laods okay but cannot find the burning device.

    My lilo.conf now looks like this...

    Code:
    root@ccu-linux:~# cat /etc/lilo.conf
    # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    append="hdc=ide=scsi"
    boot = /dev/hda2
    message = /boot/boot_message.txt
    prompt
    timeout = 1200
    # Override dangerous defaults that rewrite the partition table:
    change-rules
      reset
    # VESA framebuffer console @ 1024x768x256
    vga = 773
    # Normal VGA console
    # vga = normal
    # VESA framebuffer console @ 1024x768x64k
    # vga=791
    # VESA framebuffer console @ 1024x768x32k
    # vga=790
    # VESA framebuffer console @ 1024x768x256
    # vga=773
    # VESA framebuffer console @ 800x600x64k
    # vga=788
    # VESA framebuffer console @ 800x600x32k
    # vga=787
    # VESA framebuffer console @ 800x600x256
    # vga=771
    # VESA framebuffer console @ 640x480x64k
    # vga=785
    # VESA framebuffer console @ 640x480x32k
    # vga=784
    # VESA framebuffer console @ 640x480x256
    # vga=769
    # End LILO global section
    # Linux bootable partition config begins
    image = /boot/vmlinuz
      root = /dev/hda2
      label = Linux
      read-only
    # Linux bootable partition config ends
    root@ccu-linux:~#
    I ran /sbin/lilo and got this...

    Code:
    root@ccu-linux:~# /sbin/lilo
    Added Linux *
    and the result of...

    Code:
    ln -s /dev/hdc /dev/cdrom
    returned this...

    Code:
    root@ccu-linux:~# ln -s /dev/hdc /dev/cdrom
    ln: `/dev/cdrom': File exists
    Does all this look about right before I reboot ?

    bare in mind none of this is needed in the 2.6 kernel. if you recompile to 2.6 this all will automatically work.
    I am having enough trouble with my cd-burner, please don't frighten me further by mentioning compiling new kernels. (I haven't got to that chapter in my book yet !)

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  9. #8
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Everything looks good

    Ok hang in there lilo looks good reboot
    we will work on this one step at a time
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  10. #9
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    hey Adrenaline

    Thanks for the continued assistance. It is much appreciated.

    I am actually away from the machine for the weekend (it's a work machine) so cannot progress this until Monday if thats okay with you.

    I have made some changes to my fstab which got me a bit further, ie I can now mount both drives and view the contents of a disc but they always mount read only, even the burner, which I cannot seem to fix. I have them set up in fstab with "rw" as an option.

    Anyhow, I can't show you any of this until Monday when I get back to the machine. However my weekend project is getting Slack 10.1 onto my home machine, as so far, I think it is pretty darn fine !

    Catch you Monday, have a good weekend.

    Regards

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  11. #10
    Linux Newbie
    Join Date
    Jun 2005
    Posts
    181
    The burner mounts as read-only, because you've mounted a read-only disk. I've never burned a CD in linux, but I know you can't just mount as read-write and copy files on.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •