formating a hardisk

I have added a hardisk which I have partition and one of which i want to add it to linux
i fdisked it and recognized that partition as linuxnative with /dev/hdc2.
After this do i have to format the hardisk in order to get recognised by the linux if yes, can someone let me know how I can do it and what is the command.
If not what else should I do so that linux recognises it.
Thanks in advance
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mke2fs /dev/hdwhatever

(add -m 1 to reduce the amout of root reserved space to 1%)

when the FS is complete, just mount the partition, voila.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
1.  you have to know how many blocks to format

2.  run fdisk and look to see how many blocks are in that partition.

3.  mkfs -t ext2 /dev/hdc2 165000

4.  165000 is a number i just picked out of my head, you put the number of blocks there.
What? That was ages ago.

the mke2fs does all that for you.
Just run mkfs.ext2 /dev/hdc2 and forget about it... :)
Content-Disposition: form-data; name="notify"

Content-Disposition: form-data; name="Submit"

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.