Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

red hat 9 and usb- can anyone help me?

  • 03-09-2003 11:40am
    #1
    Closed Accounts Posts: 5


    Hi,
    Does anyone know how I can get red hat 9 to mount my usb pen drive?


Comments

  • Closed Accounts Posts: 157 ✭✭BenH


    USB mass storage can be a little tricky, check the manufacturers site for any specific drivers you might need and make sure the pen is in the port during the hardware scan on boot.

    If neither work, then its new kernel time - 2.6 has quite a few refinements in this area.

    Best,

    Ben


  • Closed Accounts Posts: 741 ✭✭✭longword


    Try 'modprobe usb-storage' and see if you can mount /dev/sda, /dev/sda1, or /dev/sda4 (assuming it's preformatted). The device should be listed in /proc/scsi/scsi when the usb-storage module is loaded.


  • Closed Accounts Posts: 157 ✭✭BenH


    Not knowing RH all that well, but wouldn't the module be loaded if/when the pen is detected during the hardware scan?

    Best,

    Ben


  • Closed Accounts Posts: 741 ✭✭✭longword


    Originally posted by BenH
    Not knowing RH all that well, but wouldn't the module be loaded if/when the pen is detected during the hardware scan?
    Typically the module will be loaded automagically when the device is plugged in. That's how it works with my USB external hard disk, and my firewire external hard disk (it loads the sbp2 module). You still have to mount the device yourself though. And fdisk/mkfs it if it's blank.


  • Closed Accounts Posts: 1,006 ✭✭✭theciscokid


    try

    su

    mount -t vfat /dev/sda /dev/usb


  • Advertisement
  • Closed Accounts Posts: 741 ✭✭✭longword


    Originally posted by theciscokid
    mount -t vfat /dev/sda /dev/usb
    You might want to reconsider that mount point.


  • Closed Accounts Posts: 5 jammybuns


    I had already tried

    mount -t auto /dev/sda /mnt/usbHd

    but it complained that it couldn't determine the file system...


  • Closed Accounts Posts: 5 jammybuns


    actually here is the error message i got :

    [root@localhost conor]# mount -t vfat /dev/sda /mnt/usbhd/
    mount: wrong fs type, bad option, bad superblock on /dev/sda,
    or too many mounted file systems
    [root@localhost conor]# mount -t ntfs /dev/sda /mnt/usbhd/
    mount: fs type ntfs not supported by kernel

    i've tried reformatting my usb pen drive under win2000 using fat, fat32 and ntfs and then trying to mount it but it hasn't worked still...

    any ideas anyone?


  • Closed Accounts Posts: 741 ✭✭✭longword


    Originally posted by jammybuns
    i've tried reformatting my usb pen drive under win2000 using fat, fat32 and ntfs and then trying to mount it but it hasn't worked still...
    Windows probably puts a partition table on it so you'd want to try mounting /dev/sda1 or /dev/sda4 instead. Alternatively you could try formatting the thing in Linux yourself. fdisk -l /dev/sda should tell you what partitions are on it already. If you create a partition with a type number 'c' (as opposed to 83 for Linux Native) you can format that with mkdosfs. Or you could leave it Linux and format with mke2fs.


  • Closed Accounts Posts: 1,026 ✭✭✭sisob


    redhat does automounting of usb decices. Plug in the drive and then do 'cat /etc/fstab' as root and see if there is an entry for the device at the bottom.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 604 ✭✭✭Kai


    the pen drive should probably be left at FAT rather than FAT32 depending on the size. i had some problems with mine which was 128 mb. Try :
    mount -t vfat /dev/sci0 /mnt/usb
    or
    mount -t vfat /dev/sci1 /mnt/usb

    its been a while since i did that and im not sure the sci0 and sci1 are correct. someone else might know that bit but it worked for me and i was getting the same bad superblock errors.


  • Closed Accounts Posts: 5 jammybuns


    i got it sorted...

    the device was being picked up (according to /etc/sysconfig/hwconf) as /dev/sda which was giving me the error when i tried to mount it...

    but when i tried /dev/sda1, it worked...

    thanks for all the help everyone...

    :)


Advertisement