Boot camp

Linux purists may cry foul, but many of us still need to dual-boot between Windows and Linux. And while the latest Linux distributions are adept at putting themselves on a PC that runs Windows, the resulting configuration may make it difficult for you to share files between operating systems.

This month I'll be looking at how to make your documents easily accessible no matter which OS you're using by putting them in their own partition. I'll also show you how to address another issue that dual-booters sometimes face: what to do if a new or upgraded Windows installation takes over the boot-loading process, thereby wiping out your dual-boot ability.

Partition planning

To install Linux on a Windows PC, you need to create two partitions to make room for it. If you have a factory-installed version of Windows on your PC, chances are it uses the whole hard disk as a single partition; this means that on a PC with a 40GB hard disk, the C:\ drive is roughly 40GB in size.

Most recent Linux distributions take this fact in their stride, and allow you to shrink the Windows partition during installation to make room for Linux's main file system and swap (virtual memory) partitions. A typical Linux desktop installation requires somewhere between 2GB and 3GB of disk space these days, but can take up even more room if you select lots of the optional programs on the install discs. You can make life easier for yourself by deleting any unwanted programs and files on the Windows partition, and defragmenting it - thereby increasing the amount of free space that is available for Linux - see Figure 1.

Getting to your docs

But before you install Linux, here's an important thing to consider. The default file system in Windows XP and Windows 2000 is NTFS, a system Linux knows how to read, but cannot write to. And no version of Windows can read or write to the Linux file system partitions. All this means that there's no easy way to work on documents in one OS, then boot to the other OS and continue working on the same files.

Fortunately, NTFS isn't the only Windows file system. Windows XP also supports the older FAT32 system, a holdover from Windows 98 and Windows Me that lacks NTFS's security features and is therefore readable and writable from Linux.

One simple way to make your documents fully accessible from either Windows or Linux is to put them on a separate FAT32 partition created just for that purpose. Setting up such a partition is easy if your hard disk already contains free space that isn't part of an existing partition: you can create your new FAT32 partition using the Disk Management portion of Windows XP's Computer Management console, located in Control Panel's Administrative Tools folder - see Figure 2 - just right click on My Computer and select Manage then Disk Management.

If your Windows partition takes up the whole disk, though, it won't be quite that easy. Although the Disk Management tool lets you create and delete partitions, it doesn't allow you to resize them. You can use a commercial partitioning utility like Symantec's excellent $120 Partition Magic 8.0 (or $110 to download from www.symantec.com.au) to resize partitions without affecting partition contents - it's always a good idea to back up the contents first.

If you don't want to spend that much to be able to resize partitions once in a blue moon, you can use Andy McLaughlin's free Partition Logic utility. This is a downloadable boot disk image that you burn to CD, and then use to boot the PC and create or resize disk partitions - see Figure 3. It's on the Cover Disc of June 2006 PC World, if you're tempted, or you can download it from http://partitionlogic.org.uk/download.html

Linux pros may opt instead to boot the PC with a Linux install disc and use the GNU partition editor utility called Parted in rescue mode to resize and create partitions. The fastest way to become an expert at using the Parted tool is by reading the online documentation at www.gnu.org/software/parted/manual

Also, if all you need to do is read files on your Linux partition from within Windows NT/2000/XP, you can skip the repartitioning altogether and simply install the Ext2 Installable File System for Windows. Note, however, that this won't let you read the contents of an NTFS partition from Linux.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Scott Spanbauer

PC World
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?