Sunday, June 17, 2007

format USB stick or USB drive

1. Download BG-Rescue Linux

2. Burn the image, boot from it.

press N for pcmcia support
3. Reply yes to use USB 2.0 support.

4. fdisk -l to list drives found.
5. Look for "SCSI device sda" ... (mine was 2007 MB)

6. rescue:/# dd if=/dev/zero of=/dev/sda bs=1k
will fill the stick with zeroes.

7. rescue:/# fdisk /dev/sda to create a new partition to it.
Command (m for help): p print partition info
Command (m for help): d = delete the partition.

Command (m for help): n = create new partition
p = primary
1 = first partition
press enter again, (first cylinder ok)
press enter again, (last cylinder ok)

Command (m for help): t
Hex Code : b

Command (m for help): w

8. rescue:/# mkfs.fat32 /dev/sda1 will create a FAT32 partition to the stick.

9. rescue:/# reboot
10. eject cdrom.
11. Reboot to Windows.

No comments: