LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   CFDISK Logical partitions (http://www.linuxquestions.org/questions/slackware-14/cfdisk-logical-partitions-138713/)

ZeroCoolJr 01-26-2004 03:14 AM

CFDISK Logical partitions
 
How many logical partitions a harddrive could have?
Is it okay to have 1 primary partition and 6 logical partitions...on the same harddrive?

Primary partition >> Windows 98

Logical Partition
1 >> WindowsXP
2 >> Windows 2000 Server Enterprise
3 >> Mandrake
4 >> Linux Swap
5 >> Slackware 9.1
6 >> Slackware 9.0

Just wanna ask..my recent installation is with Slackware 9.0...
Now when I chose simple during LILO installation...the LILO ain't work...coz Mandrake will boot automatically....I don't really understand it...Now I tried to rescue the bootstrap loader (LILO) using the Slackware's CD...it succeed but when I tried to boot my new Slackware installation...it err saying hit crtl-alt-del and press enter continue...and some message saying you can boot your slackware using a floppy or a CD...

michaelk 01-26-2004 03:57 AM

You can have 64 partitions. With 4 being primary (ID 1-4) that leaves 60 (ID >=5) as logical.
So not to worry.

I would reinstall the bootloader for Mandrake using the 1st CD and boot to rescue mode. Then manually add the an entry in MDKs lilo.conf file for each of your Slack installs.

Skyline 01-26-2004 06:32 AM

....... adding to that - as a general point - before running lilo, make sure you mount the Slack partition which contains the Slack kernel to a mount point in Mandrake first - this enables lilo to find the Slack kernel image which you've just specified in "Mandrake's" lilo.conf......

ZeroCoolJr 01-27-2004 05:17 AM

Okay! I got it...Thanks for the info...

Thymox 01-27-2004 05:45 PM

I appologise for 'hijacking' your thread, Zero.
Quote:

Originally posted by michaelk
You can have 64 partitions. With 4 being primary (ID 1-4) that leaves 60 (ID >=5) as logical.
Can you actually have all 64, though? Are you "allowed" to have no primary partitions because they're all actually extended partitions? I guess what I'm asking is this: Is this a valid situation, or do you need to have at least 1 proper primary partition?
Code:

hda1 = extended
 + hda5 --> hda19
had2 = extended
 + hda20 --> hda34
hda3 = extended
 + hda35 --> hda49
hda4 = extended
 + hda50 --> hda64

Cheers.

thegeekster 01-27-2004 07:19 PM

Quote:

Originally posted by Thymox
...Can you actually have all 64, though? Are you "allowed" to have no primary partitions because they're all actually extended partitions?...
Interesting question..................But what about bootable partitions? If you can flag an extended parition as bootable and have it boot properly, then it should work, else you wouldn't be able to use this scenario......... :)

michaelk 01-28-2004 08:39 AM

An extended partition is a primary. Since logicals are contained in an extended you always have at least one primary.

There isn't a boot flag on a logical partition but since you can boot linux installed to a logical it doesn't matter.

AFAIK the 64 limit due to the make up of major and minor nodes in /dev directory that point to these ide partitions, and for SCSI, the limit is 16 for similar reasons.

ZeroCoolJr 02-23-2004 06:20 AM

I had already found out the problem...
It's not the installers that are corrupted (Linuxes and Windozes) but my cute 128 memory....

Thanks for your help,


All times are GMT -5. The time now is 11:24 AM.