Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › More than 4 primary partitions?
New Posts  All Forums:Forum Nav:

More than 4 primary partitions?

post #1 of 23
Thread Starter 
I'm wanting to test a few new operating systems on my netbook but it can't get the partitions working. Gparted let me shrink primary partition fine. However between mint, Arch, and their swaps I have 4 partitions. Neither Gparted nor the installer will let me make more than 4 primary partitions. Is there any way to get any new partitions to install some operating systems to test? I've got 4 OS's I'd like to play with, but any new partitions would be helpful. I'm assuming I'd need 2 new partitions per OS?

Sent from my phone. Forgive the typos.
    
CPUMotherboardGraphicsRAM
Phenom IIx4 955 @3.2ghz 1.285V Asus M4A79XTD EVO 6950 @ 850/1250 4x2GB DDR3 
Hard DriveOptical DriveOSMonitor
Hitachi 1Tb + Seagate 1.5Tb Samsung super speed Windows 7 Pro(games)/Linux Mint 10 (not games) LP2065 + 2x 2007FPb in IPS Eyefinity 4800*1200 
KeyboardPowerCaseMouse
Logitech Wave Corsair HX620 Azza Solano 1000 Logitech MX revolution 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom IIx4 955 @3.2ghz 1.285V Asus M4A79XTD EVO 6950 @ 850/1250 4x2GB DDR3 
Hard DriveOptical DriveOSMonitor
Hitachi 1Tb + Seagate 1.5Tb Samsung super speed Windows 7 Pro(games)/Linux Mint 10 (not games) LP2065 + 2x 2007FPb in IPS Eyefinity 4800*1200 
KeyboardPowerCaseMouse
Logitech Wave Corsair HX620 Azza Solano 1000 Logitech MX revolution 
  hide details  
Reply
post #2 of 23
Quote:
Originally Posted by E_man;13064239 
I'm wanting to test a few new operating systems on my netbook but it can't get the partitions working. Gparted let me shrink primary partition fine. However between mint, Arch, and their swaps I have 4 partitions. Neither Gparted nor the installer will let me make more than 4 primary partitions. Is there any way to get any new partitions to install some operating systems to test? I've got 4 OS's I'd like to play with, but any new partitions would be helpful. I'm assuming I'd need 2 new partitions per OS?

Sent from my phone. Forgive the typos.

don't do that, use logical partitions or w/e it's called. I would do a primary for Windows, then a primary for the multiple linux partitions all separated into logical drives. I use a primary if I have different systems, like windows, osx, and linux, but never for similar systems.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #3 of 23
Create whats called an extended partition. It can contain infinite logical partitions in which Linux operating systems can be installed. Note that Windows cannot be installed in a logical partition.

~Devoid~

Edit: Also, multiple Linux distros can share swap space, no reason to create more than one.

Edit Number 2: Forgot to mention, you will have to delete one of the primary partitions and make the extended partition. This is because you can only have 4 partitions total.
The Shield
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q9450 @ 2.66GHz Gigabyte GA-EP45-DS3R HIS Radeon 4870 G.SKILL 2x2GB DDR2 800 
Hard DriveOSMonitorKeyboard
Hitachi 500GB Windows 7 64-bit / Ubuntu 10.10 64-bit Samsung 21.6" LCD Logitech K200 
PowerCaseMouse
Cooler Master 650w Raidmax Sagitta Logitech M500 
  hide details  
Reply
The Shield
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q9450 @ 2.66GHz Gigabyte GA-EP45-DS3R HIS Radeon 4870 G.SKILL 2x2GB DDR2 800 
Hard DriveOSMonitorKeyboard
Hitachi 500GB Windows 7 64-bit / Ubuntu 10.10 64-bit Samsung 21.6" LCD Logitech K200 
PowerCaseMouse
Cooler Master 650w Raidmax Sagitta Logitech M500 
  hide details  
Reply
post #4 of 23
Hard drives that use MBR can only have 4 primary partitions. To get around this, the last partition should be an extended partition. Within this extended partition, you can create many logical partitions.

Hard drives that use GPT instead of MBR can have more than 4 primary partitions. However, only motherboards with UEFI can boot off GPT drives.
post #5 of 23
windows needs a primary partition, and linux needs ONE primary partition...

in linux your partitions are noted as /dev/sda(partition number) such as sda1 sda2 sda3 sda4 for your four primary partitions, an extended partition has to lie within those four as well and all logical partitions will start at sda5 smile.gif

you can keep one windows on a primary partition, one extended partition, and one primary partition for your linux /boot mount point, at which point you can install all your linux distros in logical partitions (sda5+) as well as your swap file smile.gif leaving one primary partition available if you need it for another windows install or something else just as picky

SHOULD work like that tongue.gif

NOTE: ive never tried sticking a boot partition on a logical drive, but its not supposed to work... if it does some one correct me smile.gif

another thing you can do with linux installs is LVM's which are basically like virtual logical partitions, you can stick them on a logical partition and its one partition to the hardware, but that partition is split up by software into small completely resizable partitions that give you more freedom with the system after the install
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #6 of 23
Quote:
Originally Posted by EntTheGod;13069662 
NOTE: ive never tried sticking a boot partition on a logical drive, but its not supposed to work... if it does some one correct me smile.gif

This works as long as grub is installed in the MBR.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #7 of 23
Quote:
Originally Posted by E_man;13064239 
I'm wanting to test a few new operating systems on my netbook but it can't get the partitions working. Gparted let me shrink primary partition fine. However between mint, Arch, and their swaps I have 4 partitions. Neither Gparted nor the installer will let me make more than 4 primary partitions. Is there any way to get any new partitions to install some operating systems to test? I've got 4 OS's I'd like to play with, but any new partitions would be helpful. I'm assuming I'd need 2 new partitions per OS?

Sent from my phone. Forgive the typos.

Hard disk drives wont allow more than 4 primary partitions. It is a limitation with the MBR on the hard drive itself. What you need to do is create one or two primary partitions and then create one extended partition and put as many logical partitions within that as you want.
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
post #8 of 23
Thread Starter 
So my best bet is to force both Arch and Mint to use the same swap, delete the extra swap partition, and create a partition with extra "logical" partitions inside of it?

I am not sure how to change the swap partition either OS uses, or how to create this partition to create new logical partitions. If anyone is able to help, that'd be great. I'd try googling around, but I'm cramming for an exam atm :/
    
CPUMotherboardGraphicsRAM
Phenom IIx4 955 @3.2ghz 1.285V Asus M4A79XTD EVO 6950 @ 850/1250 4x2GB DDR3 
Hard DriveOptical DriveOSMonitor
Hitachi 1Tb + Seagate 1.5Tb Samsung super speed Windows 7 Pro(games)/Linux Mint 10 (not games) LP2065 + 2x 2007FPb in IPS Eyefinity 4800*1200 
KeyboardPowerCaseMouse
Logitech Wave Corsair HX620 Azza Solano 1000 Logitech MX revolution 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom IIx4 955 @3.2ghz 1.285V Asus M4A79XTD EVO 6950 @ 850/1250 4x2GB DDR3 
Hard DriveOptical DriveOSMonitor
Hitachi 1Tb + Seagate 1.5Tb Samsung super speed Windows 7 Pro(games)/Linux Mint 10 (not games) LP2065 + 2x 2007FPb in IPS Eyefinity 4800*1200 
KeyboardPowerCaseMouse
Logitech Wave Corsair HX620 Azza Solano 1000 Logitech MX revolution 
  hide details  
Reply
post #9 of 23
Quote:
Originally Posted by error10;13073757 
This works as long as grub is installed in the MBR.


really? SWEET biggrin.gif

how do i configure a grub.conf if its installed in the mbr though >_> just let it auto configure off a grub-install or something?
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #10 of 23
Quote:
Originally Posted by EntTheGod;13069662 
windows needs a primary partition, and linux needs ONE primary partition...

in linux your partitions are noted as /dev/sda(partition number) such as sda1 sda2 sda3 sda4 for your four primary partitions, an extended partition has to lie within those four as well and all logical partitions will start at sda5 smile.gif

you can keep one windows on a primary partition, one extended partition, and one primary partition for your linux /boot mount point, at which point you can install all your linux distros in logical partitions (sda5+) as well as your swap file smile.gif leaving one primary partition available if you need it for another windows install or something else just as picky

SHOULD work like that tongue.gif

NOTE: ive never tried sticking a boot partition on a logical drive, but its not supposed to work... if it does some one correct me smile.gif

another thing you can do with linux installs is LVM's which are basically like virtual logical partitions, you can stick them on a logical partition and its one partition to the hardware, but that partition is split up by software into small completely resizable partitions that give you more freedom with the system after the install

No, primary partitions are designated letters not numbers, such as:
Code:
/dev/hda
/dev/hdb
/dev/hdc
Secondary partitions get the numbers (Extended):
Code:
/dev/sda
    /dev/sda1
    /dev/sda2
/dev/sdb
    /dev/sdb1
    /dev/sdb3

You have it backwards.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › More than 4 primary partitions?