LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Reformat / Repartition (https://www.linuxquestions.org/questions/linux-software-2/reformat-repartition-121793/)

Hamma 12-01-2003 08:00 PM

Reformat / Repartition
 
I have a second hard drive in my Redhat 7 web server, I want to repartition that HD into one big partition, format it, and set it to mount on startup.. what steps should I take to do this?

david_ross 12-02-2003 02:07 PM

1) delete all existing partitions (ALL DATA WILL BE LOST) using a partition tool like fdisk or cfdisk.
2) create a new partition with fdisk or cfdisk.
3) put a filesystem on the partition with mkfs.

Hamma 12-02-2003 02:15 PM

Thanks, I just wasnt sure of the commands :)

Hamma 12-02-2003 02:54 PM

Where would I set it to mount on startup? /etc/mtab?

david_ross 12-02-2003 03:06 PM

Create an entry in:
/etc/fstab


All times are GMT -5. The time now is 12:42 PM.