Find the answer to your Linux question:
Results 1 to 10 of 10
Hi All, how do you mount USB drive on Debian kernel 2.4.18??? please help!!!!!!...
  1. #1
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224

    USB mounting

    Hi All,

    how do you mount USB drive on Debian kernel 2.4.18???
    please help!!!!!!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    hi
    if you are using udev or devefs the solution is simple.
    in dmesg output you can see which device node made for the usb pendrive so you can mount it
    or list the /dev directory

    if you aren't using udev or devfs you must create the device node and must add an entry in the /etc/fstab

    unfortunately i dont know the major and minor numbers

  3. #3
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224
    i am using mount to mount usb.

    basically i cannot find which device is representing usb.
    my system is not supporting udev or devefs..

  4. #4
    Just Joined!
    Join Date
    Jan 2007
    Posts
    9
    I mounted my USB-HDD this way, I think...
    mkdir /media/usb0
    mount /dev/sdf0 /media/usb0
    Something like that.
    Just try mount some random stuff, that's what I did xD

  5. #5
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224
    Quote Originally Posted by traeskapa
    mkdir /media/usb0
    mount /dev/sdf0 /media/usb0
    i tried all the combinations(sda....sdf), but couldnot mount my drive.

  6. #6
    Linux Newbie chadders's Avatar
    Join Date
    Jan 2007
    Location
    Earth.
    Posts
    102
    go to /dev/ and see if there are any files in there called sdf (or starting with sdf).
    That's my two pence worth.

    Chadders.

    Use my themes... click here.

    New to Linux Forums, or Linux in general? Start here.
    Get Debian (Etch) here.
    Registered Linux user #442544.

  7. #7
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224
    Quote Originally Posted by chadders
    go to /dev/ and see if there are any files in there called sdf (or starting with sdf).
    well in the /dev dir, there are files that start from sda0 till sdh15. which one do i use?

  8. #8
    Linux Newbie chadders's Avatar
    Join Date
    Jan 2007
    Location
    Earth.
    Posts
    102
    umm, I think the best thing for you to do would be to type (this will show what devices are available for use on your computer):

    Code:
    ls /dev
    in the terminal and to paste the results on this thread. From there we might be able to identify the device that needs to be mounted.

    Edit: Also you might want to want to paste the results from this command run in the terminal (this will show what devices have already been mounted):

    Code:
    mount
    That's my two pence worth.

    Chadders.

    Use my themes... click here.

    New to Linux Forums, or Linux in general? Start here.
    Get Debian (Etch) here.
    Registered Linux user #442544.

  9. #9
    Just Joined!
    Join Date
    Nov 2005
    Posts
    80
    My thumb drive is mounted as sdc1 because i have two SATA hdd's (sdax and sdbx). Also I dont know if this is obvious but you must specify a number after sda (most probably '1')

    Is your hard drive IDE? I dont know anything about 2.4 kernels but i would think you should mount your USB as sda1 if thats case. (with emphasis on the 'a') Otherwise it might be b,c, etc. depending on how many SATA devices you have.

    Can you post your fstab contents just for shits?

  10. #10
    Linux Newbie rinjo's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    224
    thanks to all u guys for ur help.
    apparently there was a problem in the kernel configuration and usb device support was not included.
    i got the usb running by re-configuring the kernel and then re-building it.
    Linux Rocks!!!!

    Rinjo

Posting Permissions

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