Plop Forum

General Category => Plop Linux => Topic started by: cdusseau on November 05, 2010, 22:21:06 PM

Title: Format a Hard Drive
Post by: cdusseau on November 05, 2010, 22:21:06 PM
I'm trying to format a hard drive (/dev/sda) using a script, but all the tools I've tried, I either dont understand how to use properly or just dont do what I need.

Could someone write a quick and dirty shell script to format /dev/sda to fat32

thanks
Title: Re: Format a Hard Drive
Post by: Elmar on November 05, 2010, 22:41:59 PM
a hard drive with sda only? you have no partition on it? however, the command is

mkfs.vfat -F 32 /dev/sda