hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Formatting HDD and starting Fresh
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Formatting HDD and starting Fresh

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2005, 05:46 PM
vpsfusion vpsfusion is offline
Web Hosting Master
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 561

Formatting HDD and starting Fresh


Hello,

I have a server with Redhat 9 Installed in it. I want to format that hard drive and install a fresh CentOS installation on it. I also want to mount another hard drive I have which has a curropted RedHat 9 installation on it. I am not very familiar with formatting and etc with Linux, if it was Windows, i would have done it. Can you please tell me what steps I have to follow in order to format and mount Both HDD and get CentOS and cPanel running.

Your help will be greatly appreciated.

Thanks
Hussain Baig

Reply With Quote


Sponsored Links
  #2  
Old 03-17-2005, 07:00 PM
assistanz247 assistanz247 is offline
Web Hosting Master
 
Join Date: Nov 2004
Location: India
Posts: 1,069
If you like to start a fresh centOS installation you can very well partiton or format your HDD during the initial installation..using Disk Druid or fdisk. Check the following url for more information..

http://www.redhat.com/docs/manuals/l...al/doc031.html


__________________
Outsourced Webhosting Support / cPanel Server Management Since 2004
Technical Support / Web Development / Billing Support

Reply With Quote
  #3  
Old 03-17-2005, 07:24 PM
vpsfusion vpsfusion is offline
Web Hosting Master
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 561
Thanks,

I will try formatting the drives when I do the installation.

Reply With Quote
Sponsored Links
  #4  
Old 03-17-2005, 07:37 PM
macooper macooper is offline
Junior Guru
 
Join Date: Mar 2004
Location: UK
Posts: 213
Hi,
when you do the install, do a minimal server installation. Then follow the cpanel install guide here to install cpanel.

The cpanel install will install everything that is needed to make it run.

For the old hard disk, put it in the server as slave, then use the command :-

fdisk -l /dev/hdb

Assuming you have slaved the drive on the primary IDE interface. This will display the partition table, and will typically look something like this :-

Disk /dev/hdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 499 4008186 83 Linux
/dev/hdb2 500 865 2939895 82 Linux swap
/dev/hdb3 866 30401 237247920 5 Extended
/dev/hdb5 866 1352 3911796 83 Linux
/dev/hdb6 1353 3785 19543041 83 Linux
/dev/hdb7 3786 4272 3911796 83 Linux
/dev/hdb8 4273 6705 19543041 83 Linux
/dev/hdb9 6706 30401 190338088+ 83 Linux


To mount a partition, use :-

mount /dev/hdb2 /mnt

replacing the /dev/hdb2 with the partition you wish to mount. Note that you cannot mount the swap partition or the extended partition.


To check the filesystem, make sure it is unmounted and use the command :-

fsck /dev/hdb7

To format a partition, assuming you want to use the ext3 filesystem, use the command :-

mkfs -j /dev/hdb5

HTH

__________________
Martin

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Wrapping up WHD.global Blog 2013-03-22 05:42:32
Google Clean Energy Guru Weihl Joining Facebook Web Hosting News 2011-12-20 15:53:32
Web Host Spiral Hosting Celebrates New Belfast Office with Launch Party Web Hosting News 2011-11-22 19:16:10
Hurricane Electric Offers Online Courses for Developers and Designers Web Hosting News 2011-11-14 21:51:44
Irish Web Host Spiral Hosting Acquires Fresh Hosting Web Hosting News 2011-09-15 18:00:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?