LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2004, 09:42 PM   #1
gbonawitz
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
partition failure during RHEL 9 install


I saw a similar post from 2 weeks ago, but it doesn't not seem to match my situation, so here goes...

I'm trying to install RHEL 9 on a machine that already has WinXP. I have one 120 [GB] drive with the following paritition layout...
c: 37.25 GB NTFS - Primary partition
d: 37.25 GB NTFS - logical partition
g: 2 GB FAT 32 - Primary partition
and 38 GB of unallocated space.

My intent was to tell Anaconda to keep existing partitions and use free disk space, but I get the error message:

Partitioning failed: Could not allocate partitions as primary partitions.

Then I click OK again, and it gives me another error screen which says.

The following errors occured with your partitioning,
You have not defined a root partition (/),
Which is required for installation of Red Hat Linux to Continue.

I have < 4 partitions, so that's not the problem. I also have plenty of space. I don't know if I have the existing 3 paritions setup in some weird way (don't really understand the differences!).

Any help would be appreciated!
 
Old 11-23-2004, 10:19 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Your drive is probably partitioned as such
/dev/hda1 - c:
/dev/hda2 - extended partition
/dev/hda3 - g: primary
/dev/hda5 - d: logical

An extended partition in a nutshell is a container for logical partitions. It is the method that is used to create more then 4 partitions on a hard drive. IDs are as follows
1-4 are primary partitions
>=5 logical partitions.

I do not know about RHEL but the RH linux by default will create 3 partitions:
/
/boot
/swap

I would say that the extended partition is only as big as the logical drive so even though you have unallocated space you can only create one primary partition i.e. hda4. You need to resize the extended partition to include the 38GB of unallocated space. parted is a utility to resize partitions. If you boot the 1st install CD and select recovery mode. Then run parted. You can search the web for parted documentation.

Last edited by michaelk; 11-23-2004 at 10:21 PM.
 
Old 11-23-2004, 10:47 PM   #3
gbonawitz
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the response.

The only problem that [I think] I have with your suggestion is that the extended partition contains the logical drive d: (100% of the extended parition as you guessed), and I use D: for Windows data files (in case I have to reinstall WinXP - the O/S is on a separate partition). If I move the unallocated space to D:, I would still end up wiping D: altogether, correct?

Or, If I understand your suggestion, I will end up with a very large extended drive that can be split into the 3 logical drives that the install needs (/, /boot, /swap), correct? If I want to keep my data partition for windows, could I just split that very large extended drive into 4 logical partitions - 1 for Windows and 3 for Linux?

Could I also just take the unallocated space and make another extended partition, or is the catch that you can only have one extended partition per physical disk?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition failure septembertj Fedora - Installation 18 08-28-2005 07:15 PM
partition in RHEL 4.0 addison23 Linux - Enterprise 1 05-28-2005 10:43 PM
DBD-mysql 2.9004 and MakeMaker failure on RHEL fonin Linux - Software 0 02-24-2005 06:05 AM
Will RHEL 4 beta 2 destroy an existing XP partition? latino Linux - Distributions 2 12-03-2004 11:01 PM
Install failure - Partition Check Wapocalypse Linux - Newbie 34 06-13-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration