Question:
How can I dual-boot my system - XP and Linux?
cecelia
2008-05-23 01:33:38 UTC
I just got a new Dell laptop running Windows XP.

I've used Linux before, but I'm no where near a pro user.

Anyway, I want to dual-boot....

I don't know how....
So that's where you come in!
Six answers:
Linux Mint 11
2008-05-23 02:38:26 UTC
If you would like to use Ubuntu then you could then you could use Wubi which allows you to install Ubuntu on Windows as any other piece of software without messing with the Windows bootloader http://wubi-installer.org/



LUg.
anonymous
2008-05-23 08:41:02 UTC
Hi, its really easy.



I am going to assume that u know how to boot from the linux installation cd.



When u boot, u will reach the installer, the installation program should detect windows on its own, all u need to do is create the partitions for linux.



Lets say u have a 100gb partition for windows, resize that to 50 gb. Now create an ext3 partition of 48 gb with the mount point of "/"



This is the root partition and for the remaining 2gb make it swap, please remember swap is important if u want power management on your laptop. Usually people make the swap partitions size as 2 times their ram so if u have 1gb ram multiply it by 2 and your swap will be 2gb but normally 2gb is enough.



Any modern linux distro will install the boot loader GRUB and u should be able to choose between windows and linux on start up.



Good Luck and take care!



Edit:



You see if u choose ubuntu, and use wubi here is the disadvantage:



1. wubi is meant as a preview and not there for general usage

2. performance will be worse

3. no power management on your laptop using wubi

4. ubuntu won't be as stable as a proper install not that ubuntu is stable any other way either

5. u won't really learn anything using wubi, its just there to let new users quickly get a feel for gnome and see if they want to continue to bother to learn this system

6. if windows is crashes and the installation is corrupted then the files in your ubuntu installation will be at risk



I suggest openSUSE though :)
anonymous
2008-05-23 08:40:56 UTC
Note: I get this info from http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm. Please click the link, I missed the pictures that shows how exactly it does.



Scenario: You want to install Linux on your system which is already running Windows XP. (If you're going in the other direction, installing XP on a system that already has Linux on it, or you want to dual-boot with Vista, check out one of our other tutorials.)



Tutorial Summary: We’re assuming that Windows XP is already up and running on your system. We’ll install Ubuntu 7.04 over the top to dualboot both operating system.



This tutorial has been tested on a VMWare Workstation 6 machine and an ASUS P5AD2-based Intel system with 2GB RAM and an 80GB Seagate SATA drive.



Download Ubuntu

The first thing is to make sure you have the Ubuntu Live CD. You can certainly use Ubuntu 7.04 for this tutorial instead and it should work pretty much the same. However, the screenshots won’t be the same and there may be some steps which don’t match.



You can grab a copy of Ubuntu 7.04 from here:



http://public.planetmirror.com/pub/ubuntu/releases/7.04/ubuntu-7.04-desktop-i386.iso



Burn the ISO to a CD and you’re ready to go.



Prepare the XP System

Fortunately there’s almost no preparation needed from the perspective of the XP partition. Of course it needs sufficient space to install Ubuntu, and you can certainly create this space manually using either the latest version of the GNOME Partition Editor (available here), or use the application from the Ubuntu Live CD.



However, Ubuntu will use the same partition managing tools during installation, so we can leave it until that stage of the install.



Install Ubuntu

Boot the XP machine from the Live CD and select "Start or install Ubuntu".



XP & Ubuntu - Install Ubuntu





Once the Live CD has loaded, double-click the Install icon on the desktop to start the installation process.

On the Welcome screen, choose your language and select Forward.

XP & Ubuntu - Install Ubuntu - Language

On the "Where are you" (timezone) page, select your location and then Forward.

XP & Ubuntu - Install Ubuntu - Timezone





On the next screen, choose the appropriate keyboard layout and then Forward.



XP & Ubuntu - Install Ubuntu - Keyboard







Now Ubuntu loads the disk partitioner. The first option, to resize the main partition and use the freed space, is pretty much the best one to go with.

Dualboot - Partition Disks

The default recommendation for the new partition size is optimal, but you can move the slider up and down to change it as you see fit. If you’re feeling brave, you can also manually edit the partition table, but unless you’re really confident about what you're doing, this isn’t recommended.



Click Forward to continue.



Ubuntu now has enough information to install, so click Install and go make a coffee.



When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.



After the Ubuntu boot options, there will be an entry “Other operating systems” and beneath that “Microsoft Windows XP Professional” (or Home, whichever version you’re using). By default Ubuntu will load itself after 10 seconds.



Dualboot - GRUB Boot Menu

If you choose to boot Windows XP at this point, it will probably launch a check on its partition. This is because the partition has been resized since last boot, and it will want to run a consistency check to make sure there are no problems.



When XP loads, it will also probably detect new hardware (again, the resized partition) and will prompt to reboot.



Dualboot - Reboot XP



On reboot it will probably run through another, longer consistency check and then reboot. This is the last time you’ll need to do this.



Configure GRUB

If you want to modify how GRUB handles the new dualbooting environment, you need to edit the boot menu. Boot into Ubuntu and open up a Terminal window (Applications, Accessories, Terminal), and type in:



sudo gedit /boot/grub/menu.lst



Dualboot - Configure Boot Menu

This opens up the boot menu as a text file in gedit.



Dualboot - Boot Options



There are loads of options you can change, but only a couple that you’re likely to be interested in. The default boot entry is defined by the “default” value.



The default value is 0, which means that the first entry in the list (which is Ubuntu) always gets loaded.



If you want to make it so that Windows XP loads by default, change the value to 4, as XP is the fifth item in the list (the numbering system starts at 0).



The other way to load Windows XP by default is to change the value for “default” from a numerical value to “saved”. Then, GRUB will load whichever boot entry has been marked with “savedefault”.



If you scroll down the list and have a look at the entries, you’ll notice that both the main Ubuntu entry and Windows XP have been marked with “savedefault”. Remove the value for Ubuntu and Windows XP will launch by default.



You can also increase the boot menu timeout – just change the value for “timeout”. You can also hide the GRUB boot menu by removing the hash in front of “hiddenmenu”. Save and exit gedit to keep any changes.



And that’s about it. Dualbooting Windows XP and Linux when Windows is installed first is by far the easiest method of dualbooting, because most up-to-date Linux distros are very aware and accommodating of other operating systems, and GRUB is an excellent and highly flexible bootloader.
Saheer N
2008-05-23 08:52:28 UTC
I recommend Ubuntu Linux 8.04. You can install it on your XP machine ( without any extra partition !!!) .As you installing a simple software in windows. you don't lose any data from your hard disk. it require only 4GB to store the files.It can be installed on any of your drive (eg. c;\ ,d;\ ....etc). You can uninstall it from 'Add or Remove menu' (in XP).

You can choose your OS while you booting. yaah...it perform dual-booting.

for more details visit http://www.ubuntu.com
anonymous
2008-05-23 08:43:20 UTC
you can install linux if you have an extra empty partition on the hard disk. Linux installation is pretty much guided.
Steve
2008-05-23 08:40:12 UTC
Partition the HDD


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...