<DIV>dd command used to write image file on destination disk assuming destination disk is floppy.<BR><BR><B><I>Gabby James <lizard0000092@hotmail.com></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I plugged the flash drive into my Windows XP machine and it asked if I <BR>wanted to format it. I formatted it as FAT32 now I can successfully mount <BR>it on my RH 7.1 Linux system again.<BR><BR>Now I just have to figure out what happened when I did the 'dd' command. I <BR>copied over a RH boot.img which I believe is a fat filesystem and a <BR>drvnet.img which is a ext2 filesystem. I tried to mount with a -t option <BR>and the type of filesystem but kept getting errors.<BR><BR><BR>>From: ameet p <AMEETISSATAN@YAHOO.CO.UK><BR>>Reply-To: General Red Hat Linux discussion list <REDHAT-LIST@REDHAT.COM><BR>>To: General Red Hat Linux discussion list <REDHAT-LIST@REDHAT.COM><BR>>Subject: Re: Mouting USB Flash Drive with RH 7.1<BR>>Date: Wed, 28 Apr 2004 20:57:25 +1000 (EST)<BR>><BR>>hey,<BR>>what about the permissions? have u changed them?being the root, try !
to
 <BR>>mount it<BR>>mount -vfat /dev/whatever(sda0,1....) /mnt/whatever is the name of ur usb <BR>>folder.this should work though...if nothing works, use MAKEDEV.<BR>>try to make a copy of the image into another dir and cp it to the memstick.<BR>><BR>>Gabby James <LIZARD0000092@HOTMAIL.COM>wrote:<BR>>Hi All,<BR>><BR>>I have a USB flash drive which I was able to successfully mount under RH<BR>>7.1. Then I did a 'dd' command to copy a boot image file to the flash<BR>>drive. Now, I can't mount the flash drive.<BR>><BR>>If I try to mount the device I get the following message:<BR>>mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many<BR>>mounted file systems.<BR>><BR>>This is the output of cat /proc/scsi/scsi<BR>>Attached devices:<BR>>Host: scsi0 Channel: 00 Id: 00 Lun: 00<BR>>Vendor: SanDisk Model: Cruzer Mini Rev: 0.1<BR>>Type: Direct-Access ANSI SCSI revision: 02<BR>><BR>>If I do a 'fdisk!
 -l
 /dev/sda' it shows the the drive has one partition<BR>>called /dev/sda1 wich is of type FAT16.<BR>><BR>>The line in my /etc/fstab file looks like the following<BR>>/dev/sda1 /mnt/usbkeychain vfat user,noauto,umask=0 0 0<BR>><BR>>When I do a lsmod, I see that the usb-storage module is currently loaded.<BR>>So is usb-uhci and usbcore.<BR>><BR>>If I do a fdisk /dev/sda it just hangs.<BR>><BR>>Two questions:<BR>>1) What do I have to do to be able to mount my flash drive again?<BR>>2) Why did my 'dd' command break it? How else can I copy an image file to<BR>>the flash drive?<BR>><BR>>Thanks!<BR>>GJ<BR>><BR>>_________________________________________________________________<BR>>Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ<BR>>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963<BR>><BR>><BR>>--<BR>>redhat-list mailing list<BR>>unsubscribe
 mailto:redhat-list-request@redhat.com?subject=unsubscribe<BR>>https://www.redhat.com/mailman/listinfo/redhat-list<BR>><BR>><BR>>---------------------------------<BR>>Find local movie times and trailers on Yahoo! Movies.<BR>>--<BR>>redhat-list mailing list<BR>>unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe<BR>>https://www.redhat.com/mailman/listinfo/redhat-list<BR><BR>_________________________________________________________________<BR>Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! <BR>http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/<BR><BR><BR>-- <BR>redhat-list mailing list<BR>unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe<BR>https://www.redhat.com/mailman/listinfo/redhat-list</BLOCKQUOTE></DIV><BR><BR>--<br><br>________________<br>Imtiaz Ahmed Khan<br>Sr. System Consultant<br>ANTS Consultiing<br><br><br>Org:            ANTS
 Consulting<br>URL:           http://ants.com.pk/<br>Eml:            sendtoimtiaz@yahoo.com<br>Mob:           +92300-2128278 <br>___________________________________<p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br><a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/hotjobs_mail_signature_footer_textlink/evt=23983/*http://hotjobs.sweepstakes.yahoo.com/careermakeover">Win a $20,000 Career Makeover at Yahoo! HotJobs </a>