Find the answer to your Linux question:
Results 1 to 4 of 4
I have a 2gb usb,and when I plug it in USB port,Redhat 9 automatically detects it as /dev/sdc,but when I try to mount it with : mount -t vfat /dev/sdc ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    Help with USB and Red Hat 9

    I have a 2gb usb,and when I plug it in USB port,Redhat 9 automatically detects it as /dev/sdc,but when I try to mount it with :mount -t vfat /dev/sdc /mnt/usb/stick ,it replies that there is a bad superblock,or too many mounted filesystems,or so. If somebody can help me,I would be very grateful.I can paste as well the error messages.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Execute this
    Code:
    su -
    fdisk -l
    df -h
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    More data about mz problem...

    Hi,when I plug my USB,the bash shows:
    Vendor :Jetflash etc.
    SCSI Device sdc: ..2002942 512 byte header sectors(1026MB)
    sdc:write protect is off
    sdc:assumed drive cache:write through
    SCSI Device sdc: ..2002942 512 byte header sectors(1026MB)

    Attached scsi removable disk sdc at scsi4,channel 0,id 0,lun 0
    Attached scsi generic sg3 at scsi4,channel 0,id0,lun0,type 0
    __________________________________________________ ____
    When I run fdisk -l

    Disk /dev/sdc:1025 MB,1025506304 bytes
    33 heads,63 sectors/track,963 cylinders
    Device Boot Start1 End Blocks Id System W95 fat
    /dev/sdc 1 964 1001455 b
    Partition 1 has different physical/logical beginnings (non-linux?)
    phys=(0,1,1), logical =(0,0,33)
    phys=(225,32,63) logical =(963,14,46)
    __________________________________________________ _________
    When I run df -h, sdc is not shown
    ____________________
    I tried to mount the USB with
    mount /dev/sdc /mnt/usb-stick
    and it shows:
    FAT(invalid media value 0x00)
    mount:you must specify file type


    When I type mount -t vfat /dev/sdc /mnt/usb-stick, it shows
    FAT(invalid media value 0x00)
    mount:wrong fs type, bad option, bad superblock on /dev/sdc, or too many mounted file systems.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Something is wrong with partition of USB Stick. Is it working fine in Windows Machine?
    In case it doesn't work in Windows machine too, you have to format stick.
    Try force option with mount command but it may corrupt partition more.
    Code:
    mount -t vfat /dev/sdc /mnt/usb-stick -o defaults,force,umask=0
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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