Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

Dual-Booting Windows XP/Vista And Ubuntu 7.04


In this tutorial I will teach you how to dual-boot between Windows XP/Vista and Ubuntu.

This tutorial will be split up into two parts:

  • Part one for people who have no operating system installed.
  • Part two for people who have Windows XP/Vista installed and don’t want to re-install Windows.

 

Part 1: Fresh start

In this part I will go though every step from installing Windows and Ubuntu to creating the dual-boot.

Windows XP + Ubuntu 7.04

What you will need:

  • Windows XP Boot Disk
  • Ubuntu 7.04 Boot Disk

Make sure your computer is set to boot from a CD.

To check this go into your BIOS. From there go to “Boot” and go to “Boot Priorities”. Make sure CD-ROM is set to boot first and you’re all set.

 

Installing Windows XP

Now I am going go over how to install Windows XP step-by-step.

1. Make sure your XP boot up disk is in the CD-ROM and start your PC.

2. A blue MS-DOS screen will load up first asking you if you want to install drivers or run an Automated System Recovery. Just wait for them to go by and then Windows will begin to load files needed to install XP.

xp1mr0

2. Now you will see a Welcome to Setup screen. From here just press Enter.

xp2uf1

3. Agree to the license agreement by pressing F8.

xp3ph6

4. Now to the important part of this installation. You will now see a screen where you will tell Windows XP to install itself. We aren’t going to give XP the entire hard drive as we will be giving some to Ubuntu also. Press the C button on your keyboard to create a new partition.

xpsetup3partitionrk5

5. You will now see a screen in which you can edit the size of our new partition. Depending on your hard drive size and preference, determine the amount of gigabytes (GB) you are going to give XP to use. After you have chosen the size hit Enter to create the partition.

Note –

  • Windows XP requires at least 1.5 gigabytes of hard drive space.
  • 1000 megabytes (MB)= 1 gigabyte (GB). So when entering XP’s partition make sure to write it as 90000 instead of 90, because it reads in megabytes, not gigabytes.

xpsetup3partitionrk5

6. You will now be brought back to the screen in step 4. Highlight the new partition you created and press Enter to install.

7. The next screen will ask you how you would like to format the partition (FAT32 or NTFS). The choice is up to you and what you prefer. If you need help then check out this article FAT32 or NTFS: Making the Choice. Regardless of your choice, choose the quick option as this will make the installation go a whole lot quicker.

xp4qa1

8. The last step before Windows installs itself onto your system. Just press F to begin formatting.

formatingup1

9. Now just wait…

xp5ns4

10. After the installation has completed your system will reboot and now it is time to finish up installing Windows XP. This part should be pretty self-explanatory so I will let you complete it with your own choices.

xp6ei7

Congrats! You have fully installed Windows XP on your system. Activate windows if you want or do anything thing else to it. When ready go on to the next part to install Ubuntu and get the dual-boot up.

 

Installing Ubuntu 7.04 + Dual-Boot

Again make sure your computer is set to boot from CD-ROM.

1. Insert the Ubuntu 7.04 boot disk and start up your computer. The boot screen will come up next. Highlight the Start or install Ubuntu choice and press Enter. Be patient while the loader goes back and forth. This may take a few minutes.

bootsn5

2. After that Ubuntu will load up and you will be presented with a very bare screen. Double click on the Install icon to begin setting up Ubuntu.

screenshot1ox2

3. After you double-click on the install icon it will first ask you to pick your preferred language. Choose one and click Forward.

screenshot2dg1

4. The next screen will ask you to pick a location near you for time purposes.

screenshot3ww9

5. Now to choose your keyboard layout. Most commonly it is U.S English.

screenshot4nz1

6. Once again it is time to partition your hard drive. From this screen make sure that Manual is checked and click Forward.

screenshot6zy7

7. First let’s create the SWAP file. Click on New partition. The SWAP file won’t need a whole lot of space to run, so just give it 512 megabytes which will be more than enough for it to run. Now just change the Use as: option to SWAP while keeping the type of partition as Primary and the location as Beginning. Click OK to add it.

screenshot9dv8

8. Now make sure free space is highlighted and click New partition again. This time we will add the hard drive space for Ubuntu to use. Give it what ever amount of space you would like depending on your hard drive space. Just remember to give it at least 2 GB though I recommend you give it much more. Now change the Use as: to ext3 and keep the rest of the settings the same. Click OK to add.

screenshot10ik8

9. Next right-click on the partition ext3 and click edit. From here change the mount point to a forward slash / and click OK.

screenshot12zi0

10. You should see a screen similar to this one, but with the partition NTFS on it. Last thing to do before proceeding is check the box next to ext3 to format and then click Forward.

screenshot13kr9

11. The next screen is going to ask you if you want to import any accounts you may have on Windows XP. If you want to do it, if not just proceed.

screenshot14di5

12. Time to enter your personal information. Just as a note: your login has to be all lowercase letters.

screenshot15ag5

13. Now just confirm all the information and click Install to start enjoying the beauty of Linux!

screenshot16lm5

 

End Notes

Well congratulations you have just fully installed both Windows XP and Ubuntu 7.04 to run on the same system under a dual-boot! I hope you enjoyed reading this as I have had a blast writing it.

Quick thanks to Paul Thurrott for letting me use the Windows XP installation images!

Windows Vista + Ubuntu 7.04

What you will need:

  • Windows Vista Boot Disk
  • Ubuntu 7.04 Boot Disk

Make sure your computer is set to boot from a CD.

To check this go into your BIOS. From there go to “Boot” and go to “Boot Priorities”. Make sure CD-ROM is set to boot first and you’re all set.

 

Installing Windows Vista

Now I am going go over how to install Windows Vista step-by-step.

1. Make sure your Vista boot up disk is in the CD-ROM and start your PC.

2. When it begins to boot you should see a black screen with a loading bar. This may take a few minutes so just let it load everything.

winvistainstallclean001en5

3. Next select your language, time/currency format, and keyboard method. Then press Next.

winvistainstallclean004wq2

4. Now just click Install to continue.

winvistainstallclean005bb4

5. Now type in your activation key and check Automatically activate Windows when I’m online if you would like. Then click Next.

winvistainstallclean009yw4

6. From here choose the version of Vista you purchased and then check the box I have selected the edition of Windows that I purchased. Click Next.

winvistainstallclean013js4

7. Time to read (though no one does) and agree to the license agreement. Check the box that you do and click s.

winvistainstallclean014vq4

8. The following screen will now ask you how you want to install. As you booted from the disk the top option is likely shaded out. So just click on Custom (advanced) to continue.

winvistainstallclean016mr7

9. Now we get to the good stuff! It is time to partition your drive. You should see your hard drive in the box. Click on Drive options (advance) so we can edit.

winvistainstallclean017fq1

10. You should now see four different options (Delete, Extend, Format, and New). Click on New and then choose how much space you want to give the new partition. Click Apply to create the new partition. When you are satisfied click Next to finish up.

Note –

  • Windows Vista recommends at least 15 GB of hard drive space.
  • 1000 megabytes (MB)= 1 gigabyte (GB).

winvistainstallclean020rt0

11. Now Windows Vista will install itself onto your hard drive. After it is finished Windows will restart your computer and it will be time for you to edit your personal options.

winvistainstallclean029cs3

Finished! After you complete all the personal information you are ready to install Ubuntu and create your dual-boot.

 

Installing Ubuntu 7.04 + Dual-Boot

Again make sure your computer is set to boot from CD-ROM.

1. Insert the Ubuntu 7.04 boot disk and start up your computer. The boot screen will come up next. Highlight the Start or install Ubuntu choice and press Enter. Be patient while the loader goes back and forth. This may take a few minutes.

bootsn5

2. After that Ubuntu will load up and you will be presented with a very bare screen. Double click on the Install icon to begin setting up Ubuntu.

screenshot1ox2

3. After you double-click on the install icon it will first ask you to pick your preferred language. Choose one and click Forward.

screenshot2dg1

4. The next screen will ask you to pick a location near you for time purposes.

screenshot3ww9

5. Now to choose your keyboard layout. Most commonly it is U.S English.

screenshot4nz1

6. Once again it is time to partition your hard drive. From this screen make sure that Manual is checked and click Forward.

screenshot6zy7

Now you should see a screen entitled Prepare partitions. We are now going to create the partition in which Ubuntu will run on plus a file called “SWAP” to act as virtual memory.

screenshot8rp5

7. First let’s create the SWAP file. Click on New partition. The SWAP file won’t need a whole lot of space to run, so just give it 512 megabytes which will be more then enough for it to run. Now just change the Use as: option to SWAP while keeping the type of partition as Primary and the location as Beginning. Click OK to add it.

screenshot9dv8

8. Now make sure free space is highlighted and click New partition again. This time we will add the hard drive space for Ubuntu to use. Give it what ever amount of space you would like depending on your hard drive space. Just remember to give it at least 2 GB though I recommend you give it much more. Now change the Use as: to ext3 and keep the rest of the settings the same. Click OK to add.

screenshot10ik8

9. Next right-click on the partition ext3 and click edit. From here change the mount point to a forward slash / and click OK.

screenshot12zi0

10. You should see a screen similar to this one, but with the partition NTFS on it. Last thing to do before proceeding is check the box next to ext3 to format and then click Forward.

screenshot13kr9

11. The next screen is going to ask you if you want to import any accounts you may have on Windows Vista. If you want to do it, if not just proceed.

screenshot14di5

12. Time to enter your personal information. Just as a note: your login has to be all lowercase letters.

screenshot16lm5

End Notes

Congrats on setting up both Windows Vista and Ubuntu 7.04 as dual-boot! I hope this guide will be a helpful resource for anyone attempting dual-booting. Thanks for reading.

Quick thanks again to the amazing Paul Thurrott for letting me use the Windows Vista installation images!

If you are reading this part of the guide, then you likely have a computer in which XP/Vista takes up if not all, almost all of your hard drive space. This will help you edit your partitions in order to make space for Ubuntu.

Disclaimer – Editing your partitions on an already installed OS is not always the safest method. You should back-up all data that is important to you in case an accident occurs. Also I take no responsibility for any data loss as a result of using my guide.

Editing XP Partitions

Unfortunately Windows XP does not come with any utility to edit your partitions. This also makes editing XP a bit more difficult.

You have two options on how to do this:

  • Buy a partition editor (best choice would be Partition Magic).
  • Do the following steps I am about to show: using a System Rescue CD and GParted.

 

Editing XP partitions using System Rescue CD

What you will need:

  • System Rescue CD

 

Creating the Disk

We will now create the System Rescue CD.

1. Download “System Rescue CD 0.3.7” from Sourceforge.net – System Rescue CD Download

2. Now we are going to burn the ISO file to a blank disk. A good program to use is “Infra Recorder” – Infra Recorder Download

3. Now burn the image to the CD (Actions > Burn Image).

4. Locate the ISO file you downloaded before and click Open. Next click OK to begin burning.

 

Editing XP Partitions

Now it’s time to edit the XP partitions. It is VERY important that you properly shut down XP. If you do not you will not be able to edit the partitions properly. So after your disk is done burning make sure you fully shut down your computer by going to the Start Menu and selecting Shut down instead of just pushing a button on your computer case to do it.

Next make sure your computer is set to boot from a CD.

To check this go into your BIOS. From there go to “Boot” and go to “Boot Priorities”. Make sure CD-ROM is set to boot first and you’re all set.

1. Insert your “System Rescue CD” and start up your computer.

2. When you see the following screen press Enter to let the CD boot.

sysresccd001640x480yk5

3. After it has completely loaded you will be presented with a black screen that includes a bunch of options. We want to run all this in a graphical view so type

startx

and press Enter.

sysresccd006640x480ey1

4. When it is finished loading look to the right sidebar and double-click on the mini hard drive picture.

sysresccd0303640x480qe7

5. This will open up GParted. Wait a bit for it to scan your disks. Now right-click on the NTFS drive and click on Resize/Move.

sysresccd003640x480ba6

6. From here you can either use the movable bar to edit your partitions or type them in. Personally I find it much easier to use the bar, but it is up to you. After you have resized it click on Resize/Move.

sysresccd004640x480ng0

7. Now click Apply to permanently resize your partition.

That’s it! Now just follow my guide on how to install Ubuntu with a dual-boot on the previous page to complete your installation.

 

Editing Vista Partitions

Lucky for us Windows Vista does come with a partition editing utility and it is extremely easy to use.

1. To start right-click on My Computer and select the Manage option to open up Computer Management.

sn1sk7

2. Next double-click on Storage.

sn2bm3

3. Double-click on Disk Management to view your partitions.

sn3nv9

4. We are now in the partitions section, so right-click on the partition that Vista is installed on (most likely the C: drive and the NTFS file system). Now click on Shrink Volume.

If the shrink option happens to be greyed out which may be the case for some people, then click here.

sn5ia0

5. From here just shrink it till you are pleased and have enough to install Ubuntu 7.04 (at least 2GB) and a SWAP file (at least 512MB) and then click Shrink.

sn6hw1

That’s all! Now just refer back to the previous pages in order to get Ubuntu set up.

 

The End

Thanks to everyone who has taken the time to read this. I hope this guide has served as a great resource for you all.

If you have comments or concerns just leave me a comment as I would love to hear your feedback on this tutorial.

Enjoy =) – Cargoship

 

 

 

Comments

comments