Mouting USB Flash Drive with RH 7.1

Ryan Golhar ryangolhar at verizon.net
Tue Apr 27 23:20:55 UTC 2004


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 at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Gabby James
Sent: Tuesday, April 27, 2004 4:37 PM
To: redhat-list at 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 at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list