Find the answer to your Linux question:
Results 1 to 6 of 6
hi, i'm using elive linux (debian )1.29v . after install front usb drive and dvd rom is not working .. there is no response if i plug pendrive... how to ...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    52

    usb & dvd drives problem



    hi,
    i'm using elive linux (debian )1.29v . after install front usb drive and dvd rom is not working .. there is no response if i plug pendrive...

    how to mount these device manually ....

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    448
    when I do "lsmod |grep usb" I find these
    modules mentioned: have you installed them?

    usb_storage
    usbcore
    uhci_hcd. ehci_hcd (take your pick)
    the sun is new every day (heraclitus)

  3. #3
    Linux Newbie lugoteehalt's Avatar
    Join Date
    Jan 2004
    Posts
    231
    Code:
    # mkdir /media/flash
    Then put a line something like this in /etc/fstab:

    /dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0

    Look at other stuff in fstab to get it right.

    bloody-great-.... is found from looking in dev/disk/by-id after the drive's been plugged in - this makes sure you get the right thing every time, udev may change its name.
    Code:
    $ mount /media/flash
    You can write a function into .bashrc to make mounting less typing.
    All power is violence; all power is evil.
    Money As Debt

  4. #4
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    Quote Originally Posted by dsuresh View Post
    hi,
    i'm using elive linux (debian )1.29v . after install front usb drive and dvd rom is not working .. there is no response if i plug pendrive...

    how to mount these device manually ....
    Hi Suresh, if I understood correctly, you are taking about usb port in the front of the desktop cabinet. Well, on my desktop too it doesnot work for most distro but noticeably so on Debian. I think it is something to do with the usb technology. usb 1.2 or usb2 connection.. something like that. Not sure if we can do something for that. I use backside ports. But I'm not sure about DVD drive.

    Quote Originally Posted by lugoteehalt View Post
    Code:
    # mkdir /media/flash
    Then put a line something like this in /etc/fstab:

    /dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0

    Look at other stuff in fstab to get it right.

    bloody-great-.... is found from looking in dev/disk/by-id after the drive's been plugged in - this makes sure you get the right thing every time, udev may change its name.
    Code:
    $ mount /media/flash
    You can write a function into .bashrc to make mounting less typing.
    AFAIK, the second column should be mount point (i.e., /media/flash not vfat in the above example) and third column should be filesystem type. (again vfat in above example). Not sure if the above line also will work.

    If you use rhetorics like '/dev/disk/by-id/bloody-great-long-thing' you are confusing others more

    I would right the above mount example as,
    Code:
    mkdir /media/usb
    mount -t vfat /dev/sdXn /media/usb
    where sdXn is mostly sdb1 or sdc1 etc. which is found by running 'fdisk -l'. All the above commands should be run as root.
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  5. #5
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mexico
    Posts
    65
    Code:
    /dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0
    i have used the second colum for mount point
    Code:
    /dev/sda1 /media/usb  vfat  rw,user,noauto 0 0
    did you mentioned front usb drive and dvd-rom, next the flash drive...

    is about a portable hard disk with usb plug, a external dvd-rom plugged by usb and a flash drive (pen drive) ???

    your computer detects usb drive and dvd-rom without problems and pendrive creates the conflict???

    chech which device is used when you external drive is detected (in order to avoid conflicts)

    Code:
    dmesg | tail
    when i plug my pendrive and run the command, this is shown:
    Code:
    [ 4438.045599] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB)
    [ 4438.046221] sd 2:0:0:0: [sdb] Write Protect is off
    [ 4438.046224] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08
    [ 4438.046227] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 4438.055220] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB)
    [ 4438.055717] sd 2:0:0:0: [sdb] Write Protect is off
    [ 4438.055721] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08
    [ 4438.055723] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 4438.055726]  sdb: sdb1
    [ 4438.056947] sd 2:0:0:0: [sdb] Attached SCSI removable disk
    for example:
    my pendrive is detected on sdb1
    i have a external dvd-rw with usb plug and is detected on scd0
    i don't have a external HDD...

    i hope this will be useful for give you some ideas to find the problem.

    See you.

  6. #6
    Linux Newbie lugoteehalt's Avatar
    Join Date
    Jan 2004
    Posts
    231
    Quote Originally Posted by Saltamontes View Post
    Code:
    /dev/disk/by-id/bloody-great-long-thing vfat /media/flash noatime,users 0 0
    chech which device is used when you external drive is detected (in order to avoid conflicts)

    Code:
    dmesg | tail
    when i plug my pendrive and run the command, this is shown:
    Code:
    [ 4438.045599] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB)
    [ 4438.046221] sd 2:0:0:0: [sdb] Write Protect is off
    [ 4438.046224] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08
    [ 4438.046227] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 4438.055220] sd 2:0:0:0: [sdb] 1001472 512-byte hardware sectors (513 MB)
    [ 4438.055717] sd 2:0:0:0: [sdb] Write Protect is off
    [ 4438.055721] sd 2:0:0:0: [sdb] Mode Sense: 0b 00 00 08
    [ 4438.055723] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 4438.055726]  sdb: 
    [ 4438.056947] sd 2:0:0:0: [sdb] Attached SCSI removable disk
    Don't quite follow but all I was trying to say was that if you have, a usb device plugged in and then unplug it and put it back in again, or something along those lines the device name sdb1 might well change to sdb2, say.

    If you then try:
    $ mount /dev/sdb1 or mount /media/flash it'll tell you to bugger off.

    This is avoided by using one of udev's special, unvarying symlinks, such as the by-id one I mentioned above.
    All power is violence; all power is evil.
    Money As Debt

Posting Permissions

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