Partitioning a hard drive is the thing to do, although it doesn't rise to the level of 'saving the PC' from all that ails it

| | Comments (0) |

This Jason Hiner article at ZDNet is a long-winded way of saying that partitioning a drive — carving out separate areas on the physical hard disk that separately hold the OS and the user's data — should be the default way all operating systems are installed.

I agree. I do it all the time. Since I don't spend much time installing Windows and OS X, I don't know how hard/easy it is to create and use separate partitions for data. I know that since OS X is Unix-based, it should be easy and a lack of ease in this shows a lot of short-sightedness on Apple's part.

For Windows, this kind of thing should be mandatory. I haven't seen a Windows XP installation that couldn't benefit greatly from a full reinstall after more than a couple years in service.

But ... whether you have your data in a separate partition or just in the /home or MyDocuments folder on a solitary partition, none of it matters if you don't have complete, up-to-date backups of your user data — meaning all of your files, important and otherwise.

Because even if you have your "/home" files in a separate partition, it's all too easy to blow away said partition when you're doing a reinstall or fixing a problem.

So from that perspective, I'll say that partitioning a hard drive can make things easier and even more secure, but using one huge partition ain't the end of the world if only you have everything backed up and are keeping those backups current.

Note: I have a certain "way" of partitioning my Linux hard drives for the desktop:

I start the drive with Linux swap.
Opinions differ on how much swap to use, but it does depend on the amount of RAM and disk space you have. Mine go anywhere from 500 MB to 2 GB. The goal is to use swap sparingly or never, but with this partitioning scheme, you can increase or decrease the size of any or all of the partitions with little trouble in Gparted.

My next partition is the /root partition where the OS will "live." This is a primary partition, for those who know what that means. I make this as big as necessary and then add a bit more. These days I like a 10 GB /root partition. You could go 20 GB if you have a huge drive, or you could go 6 GB or even 5 GB if you are having space issues. I'm not comfortable with less than 5 GB.

Then I turn the rest of the drive into a secondary partition (thanks to Gparted running from a live CD, usually PartedMagic in my case, this becomes blissfully easy after your first few times doing it). Within that partition I create a logical partition for /home that fills up the entire secondary partition. If for some reason I need to create one or 20 extra logical partitions in that secondary partition, I can easily do so.

And if I have to give more space to /home and less to /root, or vice-versa, I can do that without worrying about /swap being in the middle (because I purposefully put it at the beginning of the drive). It's an easy operation in Gparted.

I'm sure there are better ways of doing this, and some think that since the beginning of the drive is accessed the quickest that you should put something that sees more action than /swap there (and remember, the ideal for me at least is to NEVER access /swap), but this layout works well for me.

I have a graphic of this somewhere, and I'll try to pop it into the top of this entry at some point in the near future.

But this is a long way of saying that Jason Hiner's plea to "save the PC" by using multiple partitions as a rule will do that (i.e. "save the PC" from extinction). It's just the right thing to do. But making backups is more right, and that's what I want to tell all dozen of you who happen to be reading this entry.


Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on September 21, 2009 11:40 AM.

Is my Ubuntu wireless issue caused by hardware or software? Maybe it'll just go away (yeah ...) was the previous entry in this blog.

Beating the cr-p out of the laptop for two hours with no crashes is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

Search this blog

Loading

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet's Storage Bits
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement

Other blogs

Neuheisel/Johnson Pt. 3 in Inside UCLA with Jon Gold
Live: U.S.-Chile at Home Depot Center in 100 Percent Soccer
Girls' basketball: Bell-Jeff wins again in Daily News High School Spotlight
Decision Time in Inside USC with Scott Wolf
Countdown to Debian Squeeze in CLICK