Sunday, January 28, 2007 3:10:03 AM
Here is a quick little how-to for formatting a second drive on RHEL4 Linux. A great deal of credit goes to http://www.eth0.us/mount on this.
This how-to is based on my machine which has two 80GB scsi drives which we can see by doing the following:
WARNING: Be very careful as the smallest mistake can lead to a complete loss of ALL information on your machine!
Now let's get going!
The first thing we will do is run fdisk which is used to format a disk. I first run it with the -l (elle) flag to see what partitions my drives currently have:
This how-to is based on my machine which has two 80GB scsi drives which we can see by doing the following:
1.#cat /proc/scsi/scsi
2.
Attached devices:
3.
Host: scsi0 Channel: 00 Id: 00 Lun: 00
4.
Vendor: FUJITSU Model: MAW3073NP Rev: 5803
5.
Type: Direct-Access ANSI SCSI revision: 03
6.
Host: scsi0 Channel: 00 Id: 01 Lun: 00
7.
Vendor: SEAGATE Model: ST373207LW Rev: D702
8.
Type: Direct-Access ANSI SCSI revision: 03
WARNING: Be very careful as the smallest mistake can lead to a complete loss of ALL information on your machine!
Now let's get going!
The first thing we will do is run fdisk which is used to format a disk. I first run it with the -l (elle) flag to see what partitions my drives currently have:
