Re: Format harddrive with DSL



jeff wrote:
Hello, I was wonering if there was an easy way to format a harddrive
with damn small linux, preferably gui, but I'm not afraid of the
command line, or if theres a general linux command, that works too.
(By format I don't mean go through and fille with 0x00, but actually
format with ext2 etc, I'd also like to encrypt it)

mkfs -t ext2 /dev/hdLX

switch the L to the letter that represents your hard drive:
a - primary master
b - primary slave
c - secondary master
d - secondary slave

switch the X to the number of the slice you want to format
to see what you have you can type
fdisk -l

Keep in mind you have to be a privileged user (root) when you are playing with
file systems.

If you use ext2/ext3 I suggest you check the man page for tune2fs, so you can
optimize some settings.

--

//Aho
.