Home > Ask the Systems Channel Experts > Linux/Unix Systems Questions & Answers > How do I partiton a hard drive to run Windows and Linux?
Ask The Systems Channel Expert: Questions & Answers
EMAIL THIS

How do I partiton a hard drive to run Windows and Linux?

Retired Expert - Kenneth Milberg EXPERT RESPONSE FROM: Retired Expert - Kenneth Milberg

Pose a Question
Other Systems Channel Categories
Meet all Systems Channel Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 17 January 2007
What are some issues to anticipate when partitioning a hard drive to run Windows and Linux?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Linux/Unix Systems
Ubuntu Linux 7.04 installation may ease installation pain
Linux on POWER5 integration
Linux server virtualization -- When is it appropriate?
Xen or VMware for Linux server virtualization?
Configuring Linux servers for remote support
What is a kernel-based virtual machine for Linux, and how can VARs sell and support it?
Windows Vista security may still not live up to Linux
Choosing a Linux distro
Linux simplified with Portland Version 1.0
Convincing a customer to purchase from me rather than go direct

Linux Server
SUSE Linux Enterprise Server 11: New Xen virtualization features
Using the Ubuntu Linux system monitor tool
Installing SUSE Linux Enterprise Server 11
Ubuntu Linux installation and hard drive setup guide
Application virtualization management suite due from Symantec
Red Hat JBoss growth, partner program changes bring opportunities
Red Hat revenue breaks $500 million mark
Novell channel chief assures Novell partners about leadership
Systems Channel News Roundup, Jan. 19-23
Our top five systems tips -- so far

Windows Server
Systems Channel News Roundup, Jan. 5-9
Best practices for securing domain controllers at the branch office
Windows Server 2008 study guide
Why would I recommend Oracle VM to a client instead of Hyper-V or VMware?
Our top five systems tips -- so far
Failover clustering, network load balancing drive high availability
What's new in Windows Server 2008 security
Advantages and disadvantages of Hyper-V
Windows Server 2008 implementation tutorial
Systems products to pay attention to

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


While Partitioning a dual boot PC for Windows and Linux is far from rocket science, it is also not for the squeamish. Remember to use a disk-partitioning tool when configuring your disk. Partition Magic is very good, as is FIPS, a free tool included on some Linux distributions.

Assuming you already have Windows installed (the vast majority are Windows users looking to install Linux), you're next step would be to install Linux. Finally, you'll need to install and configure your boot loader. One issue you'll have to deal with is which Linux distribution to install. If possible, you will want to use the recommended dual-boot and partitioning software for your particular variant of Linux. On an IBM ThinkPad I had used many years ago, the Mandrake distribution I used came with Partition Magic for partitioning the disk, which helped me build the Linux partition. These days Partition Magic is still around, and though it usually costs money, it is well worth the cost.

Another issue is the boot loader. You'll need to understand what it is and what it does. The boot loader is a program that resides in the Master Boot Record of the hard drive. When you first boot your computer, the BIOS transfers control to the Master Boot Record, and the program is launched from there. This program transfers the control to the operating system, which eventually boots you up.

Boot programs include GRUB, LILO (Linux Loader) and the Windows NT boot loader. I've found LILO to be a bit simpler to use than GRUB, though many prefer GRUB for its flexibility. The files used for GRUB are in /boot/grub. There is one big difference between GRUB and LILO: With LILO, every time you rebuild your kernel, you will need to reinstall the boot loader (run sbin/lilo). So, there can be less of a maintenance issue with GRUB. Also you'll need to execute lilo again after any changes are made in /etc/lilo.conf.

Just remember that Windows must be the first OS installed, not Linux. Also make sure before you partition anything, to absolutely back up anything of importance when you are ready to do this. Assume you will lose everything when partitioning your data.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts