Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How many partitions?
New Posts  All Forums:Forum Nav:

How many partitions?

post #1 of 12
Thread Starter 
Hello gents, i'm curious how many partitions you guys use. I have Arch on a single partition on my laptop. I will be installing Arch on my desktop soon and wondering if multiple partitions (root and home) would be better? I am a beginner so I am still trying to learn. Ive skimmed through the Arch beginners guide but wanted more input. Thanks in advance!
post #2 of 12
I dunno about Arch, but I found a guide when I last installed Mint which recommended 3 partitions. It said to set a /swap larger than system RAM (helps with Hibernation if you use it), a /root of 10-20GB or so, and a /home of whatever size you feel appropriate (it stores your pictures, music, documents, etc).

I've never tried Arch, but I did find a few links that may help:

https://wiki.archlinux.org/index.php/Partitioning
https://wiki.archlinux.org/index.php/Beginners'_guide#Partition_schemes
 
Da Bestest Juju
(16 items)
 
Hulk Smash
(12 items)
 
CPUGraphicsRAMHard Drive
Intel Core i7 4710HQ NVIDIA GeForce GTX 970M 16GB DDR3L Samsung 850 EVO 
Hard DriveOSMonitorKeyboard
HGST Travelstar 7K100 Windows 10 BenQ XL2720T Microsoft Sidewinder X4 
MouseMouse PadAudioAudio
Gigabyte M8000X Steelseries Logitech x-540 MTX iX1 Headphones 
CPUMotherboardGraphicsRAM
i5-4690k Gigabyte GA-Z97X-UD3H-BK Zotac GTX 970 Corsair Dominator  
Hard DriveHard DriveHard DriveOptical Drive
Crucial M550 M.2 SSD Corsair Force 3 SSD Seagate Barracuda Samsung Blu-Ray 
CoolingOSMonitorKeyboard
Corsair H60 Windows 10 Home ASUS VN247H-P Logitech K310 
PowerCaseMouseAudio
Rosewill Photon 750 BitFenix BFC-NEO-100-WWWKP-RP iHome Logitech S220 
CPUMotherboardGraphicsRAM
i5-2500k AsRock Extreme3 Gen3 EVGA GTX 470 G.Skill Ripjaws 
Hard DriveOptical DriveOSKeyboard
Western Digital Black 640 DVD Windows 7 Ultimate x64 CM Storm Devastator - LED Gaming Keyboard & Mou... 
PowerCaseMouseAudio
Cooler Master RS-600 Cooler Master 690 II Advanced CM Storm Devastator - LED Gaming Keyboard & Mou... Logitech z-213 
  hide details  
Reply
 
Da Bestest Juju
(16 items)
 
Hulk Smash
(12 items)
 
CPUGraphicsRAMHard Drive
Intel Core i7 4710HQ NVIDIA GeForce GTX 970M 16GB DDR3L Samsung 850 EVO 
Hard DriveOSMonitorKeyboard
HGST Travelstar 7K100 Windows 10 BenQ XL2720T Microsoft Sidewinder X4 
MouseMouse PadAudioAudio
Gigabyte M8000X Steelseries Logitech x-540 MTX iX1 Headphones 
CPUMotherboardGraphicsRAM
i5-4690k Gigabyte GA-Z97X-UD3H-BK Zotac GTX 970 Corsair Dominator  
Hard DriveHard DriveHard DriveOptical Drive
Crucial M550 M.2 SSD Corsair Force 3 SSD Seagate Barracuda Samsung Blu-Ray 
CoolingOSMonitorKeyboard
Corsair H60 Windows 10 Home ASUS VN247H-P Logitech K310 
PowerCaseMouseAudio
Rosewill Photon 750 BitFenix BFC-NEO-100-WWWKP-RP iHome Logitech S220 
CPUMotherboardGraphicsRAM
i5-2500k AsRock Extreme3 Gen3 EVGA GTX 470 G.Skill Ripjaws 
Hard DriveOptical DriveOSKeyboard
Western Digital Black 640 DVD Windows 7 Ultimate x64 CM Storm Devastator - LED Gaming Keyboard & Mou... 
PowerCaseMouseAudio
Cooler Master RS-600 Cooler Master 690 II Advanced CM Storm Devastator - LED Gaming Keyboard & Mou... Logitech z-213 
  hide details  
Reply
post #3 of 12
Over the years I've tried many partitioning schemes and at one point was so ridiculous that I had /usr and /var on their own partitions in addition to root, swap, boot, and home. My take on it after all that is that while there are some gains it is just more trouble than it is worth on a SOHO machine. For awhile I settled to just swap, root and home and that is quite manageable but these days I have pared down to just swap and root in most cases because with even remotely frequent backups and the ability to rsync or dd the home directory anywhere you'd like it is just simpler and most advantages are cancelled out, no loss. Incidentally FWIW I rarely have more than 500MB for swap and my average usage is well below 8%, even with gaming with a comm app in parallel and 2 browsers with numerous (20 or more) tabs on each and I only have 8G Ram on a 32bit OpSys employing PAE.

So swap and root has my vote and I'm looking sideways at swap .
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Evga GTX 1070Ti  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14.2 MultiLib, Slackware 14.0 32 bit,... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Evga GTX 1070Ti  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14.2 MultiLib, Slackware 14.0 32 bit,... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #4 of 12
Just root, swap and home. I always like a separate home directory as it makes reinstalling that much easier, as well as dual booting. Keeps everything in one general area, no having to sync or any extra crap.

Though I only keep swap on my laptop with 2gb of ram, I ditched it on my desktops ages ago when I first got 8gb, and now with 32gb on one desktop and 64 on another, swap has become really useless on them.
post #5 of 12
Thread Starter 
I love how you guys are so helpful. Thanks! And definitely more stuff to think about.
post #6 of 12
I use
  • Boot (I can retain custom kernels during re-installs or for checking other distros)
  • Swap
  • Root (only thing that needs to be formated for re-installs)
  • Home (Home is LVM2 (411 GB) so new drives can be added)
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #7 of 12
I don't know why the Arch Beginner's Guide specifically avoids mentioning LVM but it's totally worth using if you want an easy life where the mere mention of partitioning will no longer chill the blood in your veins tongue.gif
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
Black & Green
(12 items)
 
Dev Box
(7 items)
 
 
CPUMotherboardRAMHard Drive
Core2 Duo E7400 Asus P5Q Hyper-X  Sandisk 
OSPower
Fedora 22 Thermaltake 650W 
  hide details  
Reply
post #8 of 12
Thread Starter 
Okay so I'll just add on to this thread... I have two SSD's (60 and 90 gb) and a 500 gb hdd... How would you partition Linux?
post #9 of 12
Quote:
Originally Posted by kgtuning View Post

Okay so I'll just add on to this thread... I have two SSD's (60 and 90 gb) and a 500 gb hdd... How would you partition Linux?

Format the 60GB

125MB /boot
remaining space /root (You probably don't need that much space, 30GB may be enough)

if you wish to have a swap partition, make the partition equal to your systems memory, and I suggest making the swap partition on your HD instead of the SSD.

Format the 90GB

/home as LVM

use the 500 GB drive as extra storage, or you can add it to the LVM for your /home directory, but I'm unsure how having an SSD and a mechanical hard drive in LVM would affect performance.
Edited by Diffident - 10/12/15 at 2:15pm
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #10 of 12
Thread Starter 
Quote:
Originally Posted by Diffident View Post

Format the 60GB

125MB /boot
remaining space /root (You probably don't need that much space, 30GB may be enough)

if you wish to have a swap partition, make the partition equal to your systems memory, and I suggest making the swap partition on your HD instead of the SSD.

Format the 90GB

/home as LVM

use the 500 GB drive as extra storage, or you can add it to the LVM for your /home directory, but I'm unsure how having an SSD and a mechanical hard drive in LVM would affect performance.

This is kind of what I was thinking after reading, reading and more reading (ha-ha) the Arch wiki and googling. I wish I had switched to Linux sooner instead of being a Windows mouse clicker...
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How many partitions?