Howto: Fix Slow USB 2.0 file transfer on Windows XP


USB storage devices can be optimized for either quick removal or performance.  If optimized for quick removal, data transfer can potentially be reduced to a crawl. 

To optimize your USB drive for performance: 
  1. Right click on the USB drive and select properties
  2. Select the Hardware tab
  3. Under All Disk Drives, highlight your USB drive and select Properties
  4. Select the Policies tab and select Optimize for performance.
  5. Press OK twice, and your transfer speeds should increase dramatically
Note that when your drive is optimized for performance you’ll need to use the Safely Remove Hardware icon in the taskbar to eject the drive – otherwise you’ll risk corrupting your data by just removing the drive from the port.
Posted in howto. Tags: , , . 16 Comments »

Fix for Windows Server 2003 Setup error: “Setup could not find a floppy drive on your machine to load OEM driver from floppy disk”


Windows Server 2003 R2 32-bit setup error when specifying additional storage drivers:  

“Setup could not find a floppy drive on your machine to load OEM driver from floppy disk
 
Press ESC to Cancel loading OEM Drivers
Press F3 to quit setup”
 
This error occured when trying to install Windows Server 2003 R2 onto a Dell PowerEdge 830 server with a Dell CERC SATA 1.5/6ch RAID controller card.
 
 
1) Download the Dell USB Key F6 Driver Utility from
 
2) Extract the Dell USB Key F6 Driver Utility to a temporary location on a Windows workstation
 
3) Copy your server’s RAID controller storage drivers to /files subdirectory where the Dell USB Key F6 Driver Utility was extracted
 
4) Run USBKeyPrepF6.exe – your USB drive will be reformatted!
 
5) Press F2 to access Dell BIOS on the server
Under USB Flash Drive Emulation Type, change from auto to Floppy
Save changes and exit
 
6) If you have a Dell Remote Access Card:
CTRL+D to access DRAC settings (some systems may be CTRL+E)
Under Virtual Media Configuration Options, change Virtual Media is Enabled to Virtual Media is Disabled.  R to save changes and reboot.
 
7) Insert the USB drive configured with the Dell USB Key F6 Driver Utility into the server.
 
8) Boot from the Windows Server 2003 CD/DVD.  Press F6 when prompted to install the storage drivers.  Windows setup should now see the USB drive’s storage drivers

Howto: Mount a USB device in SuSE Linux


I have a Kingston USB flash drive that does not automatically mount itself on my SLES server on occasion.  TID 7000951 explains how to mount the drive manually:

1) From a terminal, run:

lsmod |grep usb  make sure usb_storage is loaded.  If it is not, run:

modprobe usb-storage

2) Plug the USB device in and run dmesg.  The results will look like:

USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access CRUCIAL USB Flash Disk 2.00 PQ: 0 ANSI: 2
ready
sd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1 <– THIS IS THE DEVICE NAME
sd 6:0:0:0: [sdd] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete

Look for the kernel device name, in this case, /dev/sdd, with a partition on /dev/sdd1

3) Mount volume manually by running:

mount /dev/sdd1 /mnt

Access the USB drive at /mnt

To unmount the USB drive run:

umount /mnt

Posted in howto, Linux. Tags: , , , . 4 Comments »

Howto: Create a bootable Backtrack 2.0 USB flash drive


The Backtrack 2.0 final distribution is probably the finest collection of open source network penetration, security, and auditing tools currently available. I use this software for some network penetration testing and security auditing work I perform. I suggest only using these tools on networks you own or have permission to audit because of potential legal ramifications. That being said, here’s what the Backtrack 2.0 is all about.

According to the remote-exploit web site,

“BackTrack is the most Top rated linux live distribution focused on penetration testing. With no installation whatsoever, the analysis platform is started directly from the CD-Rom and is fully accessible within minutes.

It’s evolved from the merge of the two wide spread distributions Whax and Auditor Security Collection. By joining forces and replacing these distribution the BackTrack could gain a massive popularity and was voted in 2006 as #1 at the surveil of insecure.org. Security professionals as well as new-comers are using it as their favorite toolset all over the globe.”

Backtrack 2.0 contains over 300 security tools, and it can be downloaded here. You can find detailed notes that describe how to install Backtrack to a hard drive, and don’t forget to check out the wiki, which details installing Backtrack in many different configurations.

Now that you know what Backtrack 2 contains and why you might want to use it, here’s the quick instructions for creating a bootable USB stick installation from a Windows machine (Vista Business, in this instance).

1) Format your USB drive using FAT32. Do not perform a quick format.

2) Download the Backtrack 2 final .iso and open it with your favorite compression/extraction program. I like Universal Extractor, aka UniExtract.

3) Copy the boot and BT directories from the Backtrack .iso and copy them to your USB drive.

4) Open a command prompt by clicking StartRun and typing cmd then press enter.

Note: if you’re using Windows Vista you’ll need to open an elevated command prompt, which can do more things than a regular command prompt. To do this, click the Windows Vista icon, right click Command Prompt and select Run as administratorContinue.

5) Change to the drive letter associated with your USB drive. If you don’t know what letter your USB drive is, and you cannot figure it out, this may not be the best software for you to use.

6) Type cd boot and press enter to change to the boot directory on your USB drive.

7) Type bootinst.bat and press enter to make your USB drive bootable. You be asked to press any key to continue. Once the batch file completes you should be able to restart your machine and boot from the Backtrack USB drive.

Parting Notes

Creating the bootable USB drive from the Backtrack GUI Installer did not work for me for whatever reason, and neither did the BackTrack 2.0 Downloader and USB-Stick burner for Windows. Maybe it has to do with using a newer 8 GB flash drive, I’m not sure. There are also many other methods you can try if this doesn’t work for you, just Google it.

You can also try using the MySlax Creator to add drivers, patches, and other modules to your Backtrack.iso file. irongeek.com has a nice video showing you exactly what needs to be done to integrate these updates into your distribution.