#!/bin/sh # http://johnbokma.com/mexit/2010/02/17/ might help too. echo "As root, use 'fdisk' to set a drive to type 'c W95 FAT32 (LBA)'." echo "The commands will look something like this:" echo "" echo " # fdisk /dev/sdb" echo " d // only if you need to 'd'elete the existing partition" echo " n // create a 'n'ew partition" echo " p // 'p'rimary partition -- then you'll need to step through sizing" echo " t // set the 't'ype of the new partition" echo " L // 'L'ist types just to sanity check" echo " c // set to type 'c W95 FAT32 (LBA)'" echo " w // 'w'rite the partition table to disk" echo " #" echo "" echo "Now make a filesystem. Don't ask me why FAT32 == VFAT. It works." echo "" echo " # mkfs.vfat /dev/sdb1" echo "" echo "Congratulations! You can mount your new drive with:" echo "" echo " # mount -t vfat /dev/sdb1 /mnt" echo ""