My Opera is closing 1st of March

A better day

Software is like sex, it's better when it's free - Linus Torvalds

Subscribe to RSS feed

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:

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:
February 2014
S M T W T F S
January 2014March 2014
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28