Ok. here we go......

/dev/hda   <-- primary hard drive "First IDE channel"
/dev/hda1  <-- primary hard drive primary partition
/dev/hda2  <-- primary hard drive extended partition.
/dev/hda5  <-- primary partition first logical partition
/dev/hda6  <-- primary partition second logical partition
etc......

/dev/hdb   <-- secondary hard drive "First IDE channel"
/dev/hdb1  <-- secondary hard drive primary partition
etc....same as above

/dev/hdc   <-- primary hard drive "Secondary IDE channel"
etc....

/dev/hdd   <-- secondary hard drive "Secondary IDE channel"

Remember that in Dos, there 'can' be only 1 primary partiton per hard
drive....Well, linux doesn't care about that.

/dev/sda   <-- First SCSI hard drive
same goes for the partitions.....

/dev/sdb   <-- You guessed it --Second SCSI hard drive
etc....


## example ## I take NO responsibility for what happens to your computer.
SO, say you have two IDE hard drives with 1 physical partition, and an
extended partition that has 3 logical partitions in it. Both hard drives
being partitioned the same, and both on the first IDE channel.

So for clarification we have.....

/dev/hda   <-- master hard drive
/dev/hda1  <-- win95 main partition      c: drive
/dev/hda2  <-- extended partition
/dev/hda5  <-- 1st logical hard drive    e: drive
/dev/hda6  <-- 2nd logical hard drive    f: drive
/dev/hda7  <-- 3rd logical hard drive    g: drive

/dev/hdb   <-- slave hard drive
/dev/hdb1  <-- primary partition         d: drive
/dev/hdb2  <-- extended partition
/dev/hdb5  <-- 1st logical hard drive    h: drive
/dev/hdb6  <-- 2nd logical hard drive    i: drive
/dev/hdb7  <-- 3rd logical hard drive    j: drive


Now. Say for starters you want linux at the end of your second hard drive.
Copy all the stuff off of h: i: and j: drives to c: d: e: f: or g:
make sure there is nothing in h: i: or j:

During the Redhat 5.0 install you will come to the partition menu. I'll be
using 'fdisk' as my example as that is what i am used to using.

NOTE: At this point there better "NOT" be "anything" that you want to keep
on e: i: or j: If there is you "have" been warned!!

Choose /dev/hdb and then 'tab' to 'edit'
p prints your partition table to your screen and you will see something
like the following.

NOTE: I use SCSI, but i have 1 IDE hard drive (40 meg) for using loadlin to
get sound support.....thats a whole other story though. =)

Disk /dev/hda: 5 heads, 17 sectors, 965 cylinders
Units = cylinders of 85 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1   *        1        1      964    40961+   6  DOS 16-bit >=32M


Yours would look more like this.... Obviouly not though ;)

Disk /dev/hdb: 5 heads, 17 sectors, 965 cylinders
Units = cylinders of 85 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1   *        1        1      964    40961+   6  DOS 16-bit >=32M
/dev/hdb2   *        1        1      964    40961+   6  DOS 16-bit >=32M
</dev/hdb5>   *        1        1      964    40961+   6  DOS 16-bit >=32M
</dev/hdb6>   *        1        1      964    40961+   6  DOS 16-bit >=32M
</dev/hdb7>   *        1        1      964    40961+   6  DOS 16-bit >=32M


Then simply delete your j: drive
d
7
then i: drive
d
6
then h: drive 
d
5
Now delete your extneded partion.
d
2

NOW to make your 'swap' partition. As a general rule make your spaw
partition twice the size of your physical RAM.
So, if you have 32 megs of RAm then your swpa partition would be 64 megs.

n
p
2
enter the first available cylinder number here
+64M

NOW to change it to 'type' swap
t
2
82

NOW make the 'linux native' partition
n
p
3
enter the first available cylinder number here
enter the last available cylinder here

NOW to check that all is right type p to print your partition table to your
screen.
It should look somewhat like this...

Disk /dev/hdb: 5 heads, 17 sectors, 965 cylinders
Units = cylinders of 85 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1   *        1        1      964    40961+   6  DOS 16-bit >=32M
/dev/hdb2   *        1        1      964    64+      83 linux swap
/dev/hdb3   *        1        1      964    ???? +   82 linus native


When your sure you have done everything the right way type  w  to write out
the partition table and quit fdisk. You will then be returned to the Redhat
5/0 install.

Make sure you type  m  to see all the fdisk options so you understand the
commands i am using here.

Hope this helps. And BE CAREFUL!

Dan


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to