Find the answer to your Linux question:
Results 1 to 7 of 7
Hi there. It seems that I have to use /dev/sda for my CDROM. I've mounted it and added it to fstab. Ok, so far seems good, did mount -a, konqueror ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Question CDROM mounted but won't work - debian confused, me even more

    Hi there. It seems that I have to use /dev/sda for my CDROM. I've mounted it and added it to fstab. Ok, so far seems good, did mount -a, konqueror shows a CD-ROM device at the devices "folder"... but what about it, when I click it, it says:

    Title: Error - kio_devices_mounthelper
    Mount: /dev/sda already mounted or /media/cdrom0 busy
    Please check that the disk is entered correctly.


    ??? It shows that window twice and then sends me to the empty folder /media/cdrom0 - I've tried with many cds and without cds, I've tried closing all aplications using it, etc... And look what I get with eject:

    umount: /: device is busy
    umount: /: device is busy
    eject: unmount of `/dev/sda5' failed

    ??? Sorry? sda5 is this partition, sda is the cdrom, are you ok debian? :S... any help, people? I'm completely lost :S

    My fstab:
    Code:
    proc            /proc           proc    defaults        0       0
    /dev/sda5       /               reiserfs notail          0       1
    /dev/sda        /media/cdrom0   iso9660 ro,user,noauto  0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
    /dev/sda1 /mnt/win ntfs users,owner,ro,umask=000 0 0

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    251
    It appears that /dev/sda is not your cdrom.Check the output of 'dmesg' or /var/log/messages to find out the correct one
    regards

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Question Hm look at this

    Hey take a look at this
    Code:
    Jul  5 21:29:03 localhost kernel: hdb: SONY DVD RW DW-D26A, ATAPI CD/DVD-ROM drive
    Jul  5 21:29:03 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    Jul  5 21:29:03 localhost kernel: hdb: attached ide-cdrom driver.
    Jul  5 21:29:03 localhost kernel: hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
    Aparently... it's hdb... but I don't have hdb in /dev/, that's why I tried something else :S. Ye, ur help was good, another step done, now I know what my CDROM should use... But now I say... I don't have it in /dev/, and I can't mount it cuz it says it doesn't exists... Any help? Thanks man for that

  4. #4
    Just Joined! eAragorn's Avatar
    Join Date
    Jun 2006
    Location
    Navi Mumbai
    Posts
    9
    Hey Pixelsize

    I found the following info on a site....
    The /dev directory contains the special device files for all the devices. The device files are created during installation, and later with the /dev/MAKEDEV script.
    The link to the site is http://www.tldp.org/LDP/sag/html/dev-fs.html

    Try following the lead (by searching for any help)

    Regards,

    eAragorn

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Thumbs down aw... it's me xD

    No, solutions are not easy with me xD. Nice tip. I do MAKEDEV hdb - nothing happens :S... any idea?. /dev/hdb still doesn't exists... and konqueror says same even refreshing... that /dev/hdb doesn't exists... any other suggestion?

  6. #6
    Just Joined! eAragorn's Avatar
    Join Date
    Jun 2006
    Location
    Navi Mumbai
    Posts
    9
    That maybe happening because /sbin is not in your PATH variable (usually happens if you are not in login shell of root). The MAKEDEV script exists in /sbin/MAKEDEV directory. Try running it by giving its complete path ie. /sbin/MAKEDEV. I have never used it before. Found while reading the link I sent earlier. Check 'man MAKEDEV' for more details.

  7. #7
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Wink Nice one...

    Problem solved, I'll explain what to I did for those who one day will follow this thread looking for answers :P. By the way, thank you and you all who tried to make it work.

    ok for some reason, even doing chmod 777 /dev, I still couldn't make the MAKEDEV write all the hdb. So I went to my home directory, made a folder called hdb to be more clean, and in there, I called: /sbin/MAKEDEV hdb, as you said. The blocks appeared magically . Then I just modified the fstab to, instead of /dev/hdb, make it mypath/hdb - then just mount -a and problem solved... I can't make Cedega read my CD or mount it, whatever, but I can read it from Konqueror, so it's about to toy with this a while. Thanks a lot people . Bye!

Posting Permissions

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