4 primary partitions limitation

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
Post Reply
albertkao
Posts: 4
Joined: 07 Jan 2010, 02:34

4 primary partitions limitation

Post by albertkao » 01 May 2010, 03:30

My hard disk has windows 7 and kubuntu 9.10 installed.
The disk still has 1 unallocated partition.
How do I install another linux (fedora 12)?
I cannot install to the unallocated partition because hard disk can only have 4 primary partitions. The extended also counts as primary, so it can only have 3 primary partitions.
If I cannot install on this hard disk, may I install another linux (fedora 12) on an 200GB external USB disk to make the computer triple boot?

The partition layout is as follows:

Code: Select all

$ sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa7fbbb3a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1785    14336000   27  Unknown
/dev/sda2   *        1785        1798      102400    7  HPFS/NTFS
/dev/sda3            1798       40634   311950680    7  HPFS/NTFS
/dev/sda4           40635       53510   103426470    5  Extended
/dev/sda5           40635       41132     4000153+  82  Linux swap / Solaris
/dev/sda6           41133       51078    79891213+  83  Linux
/dev/sda7           51079       53510    19535008+  83  Linux

$ mount
/dev/sda6 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda7 on /home type ext3 (rw)
/dev/sda2 on /media/SYSTEM RESERVED type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

Re: 4 primary partitions limitation

Post by gernot » 01 May 2010, 07:57

Use gparted from sysrescuecd to maximize the size of your extended (sda4) primary partition.
Now you have room to add logical drives for other distributions.

Gernot

albertkao
Posts: 4
Joined: 07 Jan 2010, 02:34

Re: 4 primary partitions limitation

Post by albertkao » 01 May 2010, 20:08

Following your advice, I use gparted from sysrescuecd to maximize the size of the extended (sda4) primary partition which have room to add logical drives for other distributions.
The fedora 12 installation program keep the existing partitions and suggest these new partitions:

Code: Select all

/dev/sda8           /boot       ext4                      199MB    
/dev/sda9                       physical volume (LVM)   67000MB
I think they are ok, aren't they?

gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

Re: 4 primary partitions limitation

Post by gernot » 02 May 2010, 07:49

its ok

Post Reply