to easily format an external HDD in FAT32
-1-find a Linux distribution disk in a cheap magazine, or (as in my case) download the Gentoo mini install image (
http://www.gentoo.org) and burn it
-2-reboot and
boot from the DVD
I describe the procedure on Gentoo (it's the same on a magazine Linux, but you'll have to work in a console in administrator mode (
root))
!! WARNING: in console mode under Linux, case (uppercase or lowercase) and spaces matter in command lines
for Gentoo
after responding 'gentoo' at the boot prompt
then (quickly) press 16 for keyboard choice (to get a French keyboard)
wait for the system to load, then execute the following commands in 5 steps
------ STEP 1: check how your system names the external disk
#ls /dev
this command will list all connected disks: usually the internal disk is labeled as /dev/hda, or more often now /dev/sda
plug in your external HDD, wait a moment and redo
#ls /dev
a disk will have appeared: for example /dev/sdb: in this case (be careful not to get the name wrong and if yours is not sdb, replace it in the following steps): do:
----- STEP 2: write the partition
table of the external disk
#fdisk /dev/sdb
in fdisk type 'o' first to edit a blank partition table
then 'n' to add a new partition
choose
primary partition, partition number 1
choose default options if you want to format the entire disk in FAT32
type 'p' to check your new partition table
type 't' to select the file system type, and choose the hex option '0c' (code for FAT32)
if that freaks you out, type 'q': you exit without touching the disk
otherwise, if you're okay with it, type 'w', which writes the new partition table
if you want to
partition your disk, for example into 2, keeping a NTFS part, you make two
partitions (repeated command n), choosing the size based on the number of blocks or cylinders you want (for example half for each partition)
at this stage your partition table is written: note: if you've divided your disk into 2, you'll have identifiers /dev/sdb1 and /dev/sdb2, and under Windows this will appear as two distinct disks
----- STEP 3 remaining to do the file system:
#mkfs -t vfat /dev/sdb1
(or
#mkfs -t ntfs /dev/sdb1
#mkfs -t vfat /dev/sdb2
if you partitioned into two and want to keep a NTFS partition)
----- STEP 4 and check that everything is fine
#fsck -f -y /dev/sdb1
which will confirm the file system
----- STEP 5
at this stage unplug your external disk, and restart: since you are still on Linux, this is done by typing
#
shutdown -r now
THERE YOU GO !!
Now, reboot under Windows, open 'computer' under Vista, or 'my computer' under XP, plug in your external disk
right-click 'properties'
You are in FAT32