how to format linux 7.2?

Yap
Yap used Ask the Experts™
on
i have using redhat linux 7.2, i would like to reinstall the linux 7.2 because it may be losing some files and the OS installed not complete, due to, it always cant load into the dos prompt. thus, what are the command to format the linux and what is the step i should do? pls give some detail solution, thank

from steven yap
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Yap,

Insert the Linux 7.2 CD into the cdrom and boot from the cdrom ( you can change the boot order in the bios )
after you boot , you will receive a the installation menu's,
when you get to the partitioning stage , please choose : " Manual Partition With Disk Druid "

there you can choose the requested partition to be formated by double click on it
and refill the correct parameters ( name of the partiton and type (ext2,ext3 etc... ))

or you can try to use the fdisk.exe if you can boot from CD ROM, you can get a bootable floppy with fdisk.exe from www.bootdisk.com.

after bootup with the bootable floppy, run fdisk /mbr (this will remove the master boot record of your harddisk) incase you have the lilo installed before.

than you can reboot your computer and run the fdisk again to remove the partition of your linux.

if you can boot from CD ROM, do what victorbx suggested.

Commented:
Just start a new installation. The new installation will format the hard disk.

Commented:
Like Asby said just start a new installation and it wil format the partitions automatically otherwise you can just type in rm -rf and enter that would basically delete eveery single thing on your linux partition.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial