redhat 6.1 setup (partition)

i have a 27.3 gig drive. i have win98 on 6 gigs, when i install linux it takes the rest of my 20 gigs, when i only set it up for 6-7 gigs, how can i make windows take over the rest of the space?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What version of Linux are you installing?  Are you using fdisk to set up your partitions.  If you have a copy of Partition Magic 4.0, you can set it up easier, before the linux install, then linux will only need to format its partition.  Possibly what is happening is that you have a 6G windows partition, with windows on it.  Then you have your Linux partition with 6-7G.  Have you created a partition after this?  You should use either partition magic or fdisk to find this disk space and create a partition.  You should be able to create a fat32 partition using fdisk.  From linux type "fdisk /dev/hda".  Type p to see a list of partitions on this drive.  Type n to add a new partition.  Type t to edit a partition type.  Be sure to select the correct partition here.  You will want hex code type b or c.  To exit fdisk, type w to write your data to the partition table and exit.  Once done, you will probably want to use windows to format the partition.
rbf351Author Commented:
the version is redhat 6.1, i already did fdisk. windows has 6 gigs with windows on it. then i set up linux, installed it and then fdisk says that i have only 2 gigs free
Are you using the fdisk with Linux and not DOS?
If u install workstation version it will take rest of ur partition .. do a custom installation and using fdisk assign disk space to different mount points ..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.