Re: Mouting USB Flash Drive with RH 7.1

From: IAK Tanoli (sendtoimtiaz_at_yahoo.com)
Date: 04/28/04

  • Next message: Mike Burger: "Re: Plumb equivalent on Red Hat 9?"
    Date: Wed, 28 Apr 2004 07:17:05 -0700 (PDT)
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    
    

    dd command used to write image file on destination disk assuming destination disk is floppy.

    Gabby James <lizard0000092@hotmail.com> wrote:I plugged the flash drive into my Windows XP machine and it asked if I
    wanted to format it. I formatted it as FAT32 now I can successfully mount
    it on my RH 7.1 Linux system again.

    Now I just have to figure out what happened when I did the 'dd' command. I
    copied over a RH boot.img which I believe is a fat filesystem and a
    drvnet.img which is a ext2 filesystem. I tried to mount with a -t option
    and the type of filesystem but kept getting errors.

    >From: ameet p
    >Reply-To: General Red Hat Linux discussion list
    >To: General Red Hat Linux discussion list
    >Subject: Re: Mouting USB Flash Drive with RH 7.1
    >Date: Wed, 28 Apr 2004 20:57:25 +1000 (EST)
    >
    >hey,
    >what about the permissions? have u changed them?being the root, try to
    >mount it
    >mount -vfat /dev/whatever(sda0,1....) /mnt/whatever is the name of ur usb
    >folder.this should work though...if nothing works, use MAKEDEV.
    >try to make a copy of the image into another dir and cp it to the memstick.
    >
    >Gabby James
    wrote:
    >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 McAfeeŽ
    >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
    >
    >
    >---------------------------------
    >Find local movie times and trailers on Yahoo! Movies.
    >--
    >redhat-list mailing list
    >unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    >https://www.redhat.com/mailman/listinfo/redhat-list

    _________________________________________________________________
    Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage!
    http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    --
    ________________
    Imtiaz Ahmed Khan
    Sr. System Consultant
    ANTS Consultiing
    Org:            ANTS Consulting
    URL:           http://ants.com.pk/
    Eml:            sendtoimtiaz@yahoo.com
    Mob:           +92300-2128278 
    ___________________________________
    		
    ---------------------------------
    Do you Yahoo!?
    Win a $20,000 Career Makeover at Yahoo! HotJobs 
    
    

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

  • Next message: Mike Burger: "Re: Plumb equivalent on Red Hat 9?"

    Relevant Pages

    • Mouting USB Flash Drive with RH 7.1
      ... I have a USB flash drive which I was able to successfully mount under RH ... Then I did a 'dd' command to copy a boot image file to the flash ... called /dev/sda1 wich is of type FAT16. ...
      (RedHat)
    • RE: Machine not Booting - Continued
      ... mkraid command and the mount command in the script as you suggested (in no ... Otherwise specify the same mkraid and mount command in /etc/rc.local. ... it has no proper file system to mount. ...
      (RedHat)
    • Re: [SLE] Still cannot update beyond original KDE3.3--Exhausted and Depressed
      ... Open Yast, Click on Software, ... to attach the contents of the disks to the existing filesystem. ... mount point is the directory in the filesystem you will attach those ... > Like perhaps give the the exact command and where to ...
      (SuSE)
    • RE: Machine not Booting - Continued
      ... with out the fstab /dev/md0 hashed out. ... have u tried to use the mount ... command to fix bad blocks like you suggested or has this done it already. ... within the Corus group of companies, ...
      (RedHat)
    • RE: Machine not Booting - Continued
      ... The entry in the fstab is now hashed ... command to fix bad blocks like you suggested or has this done it already. ... The error seems like its able to mount the partition but is not able to ... within the Corus group of companies, ...
      (RedHat)

    Loading