Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Os Talk => Topic started by: jaishal on September 14, 2004, 05:09:33 AM

Title: how to format linux
Post by: jaishal on September 14, 2004, 05:09:33 AM
Hello Friends,
one of my friend have linux server and we want to format that server.....How do i format that linux server ???
and after formatting that harddisc , we want to install the linux again... how do i do that ????
and also give me some tips about the mail server configuration.....

if anyone can help me
i ll thank ful to him/her.

Thank you! in advance...... :)
Title: how to format linux
Post by: GNUrag on September 14, 2004, 02:37:42 PM
for formatting a partition use this:

# mkfs.ext2 /dev/hda6  --> formatting as ext2 partition
# mkfs.ext3 /dev/hda6  --> formatting as ext3 partition
# mkswap /dev/hda6  --> formatting as linux swap partition

Otherwise, if you're planning for a reinstallation of your system, then you  can just  pop in your setup CD and proceed with the installation. your existing partiton will be formatted.

I use Postfix mail server. its tarball  contains all the required information...
Title: how to format linux
Post by: deven_01 on May 21, 2005, 09:12:47 AM
whatever GNUrag told is right only do one thing before this is umount /dev/hda6
Title: how to format linux
Post by: neo on May 30, 2005, 12:46:17 PM
If after formatting you want to reinstall linux. Just reinstall the OS and genrally all installers format the disk  before installing.