RE: Mouting USB Flash Drive with RH 7.1

From: Ryan Golhar (ryangolhar_at_verizon.net)
Date: 04/28/04

  • Next message: Ryan Golhar: "RE: Boot from iso image"
    To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    Date: Tue, 27 Apr 2004 19:20:55 -0400
    
    

    What is the filesystem of the image you used dd with? I think you have
    to specify the filesystem type with mount if its not ext2 or ext3

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com] On Behalf Of Gabby James
    Sent: Tuesday, April 27, 2004 4:37 PM
    To: redhat-list@redhat.com
    Subject: Mouting USB Flash Drive with RH 7.1

    Hi All,

    I have a USB flash drive which I was able to successfully mount under RH

    7.1. Then I did a 'dd' command to copy a boot image file to the flash
    drive. Now, I can't mount the flash drive.

    If I try to mount the device I get the following message:
    mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too
    many
    mounted file systems.

    This is the output of cat /proc/scsi/scsi
    Attached devices:
    Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: SanDisk Model: Cruzer Mini Rev: 0.1
      Type: Direct-Access ANSI SCSI revision: 02

    If I do a 'fdisk -l /dev/sda' it shows the the drive has one partition
    called /dev/sda1 wich is of type FAT16.

    The line in my /etc/fstab file looks like the following
    /dev/sda1 /mnt/usbkeychain vfat
    user,noauto,umask=0 0 0

    When I do a lsmod, I see that the usb-storage module is currently
    loaded.
    So is usb-uhci and usbcore.

    If I do a fdisk /dev/sda it just hangs.

    Two questions:
    1) What do I have to do to be able to mount my flash drive again?
    2) Why did my 'dd' command break it? How else can I copy an image file
    to
    the flash drive?

    Thanks!
    GJ

    _________________________________________________________________
    Is your PC infected? Get a FREE online computer virus scan from McAfeeR
    Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ryan Golhar: "RE: Boot from iso image"

    Relevant Pages

    • Re: Mouting USB Flash Drive with RH 7.1
      ... dd command used to write image file on destination disk assuming destination disk is floppy. ... Gabby James wrote:I plugged the flash drive into my Windows XP machine and it asked if I ... I formatted it as FAT32 now I can successfully mount ... Now I just have to figure out what happened when I did the 'dd' command. ...
      (RedHat)
    • Re: EXT2 or EXT3 : What have I got?
      ... their mount point and their filesystem type. ... >> Dave. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: volume mgmt w/o gnome
      ... mount: you must specify the filesystem type ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: volume mgmt w/o gnome
      ... mount: you must specify the filesystem type ... It's working on my xfce with thunar file manager, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • create disk image of a reiserfs partition using dd
      ... reiserfs. ... I am no longer able to mount /data and my logs show that Drive Seek ... I tried copying the filesystem into an image file like so.... ... you must specify the filesystem type ...
      (comp.os.linux.misc)