LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2003, 09:00 PM   #1
Hamma
Member
 
Registered: May 2003
Distribution: RedHat 7
Posts: 35

Rep: Reputation: 15
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?
 
Old 12-02-2003, 03:07 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 12-02-2003, 03:15 PM   #3
Hamma
Member
 
Registered: May 2003
Distribution: RedHat 7
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks, I just wasnt sure of the commands
 
Old 12-02-2003, 03:54 PM   #4
Hamma
Member
 
Registered: May 2003
Distribution: RedHat 7
Posts: 35

Original Poster
Rep: Reputation: 15
Where would I set it to mount on startup? /etc/mtab?
 
Old 12-02-2003, 04:06 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Create an entry in:
/etc/fstab
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/ full need to repartition not sure what to do dibblethewrecke Linux - General 9 01-13-2004 04:56 AM
How can I safely repartition.... BajaNick Linux - Software 5 12-30-2003 06:01 PM
repartition problem fideli Linux From Scratch 3 12-12-2003 09:46 AM
Repartition went fine, now what? aryden Linux - Newbie 3 09-26-2003 06:20 AM
How to repartition Manny88 Linux - Software 2 09-19-2003 04:26 PM


All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration