November 21, 2024, 08:26:11 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to format linux  (Read 11375 times)

Offline jaishal

  • Linux Noob !
  • *
  • Posts: 19
how to format linux
« 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...... :)

Offline GNUrag

  • Tux Awared
  • **
  • Posts: 41
    • http://tends.ourproject.org/~anurag
how to format linux
« Reply #1 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...

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
how to format linux
« Reply #2 on: May 21, 2005, 09:12:47 AM »
whatever GNUrag told is right only do one thing before this is umount /dev/hda6

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
how to format linux
« Reply #3 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.