Pre-install Page

Edited Saturday, August 09 2008

This web-page is part of a larger site giving examples of how to install Windows+Ubuntu Linux operating systems 'dual boot' in a computer.  Illustrated Dual Boot HomePage


PAGE INDEX

Where can I get Ubuntu from?

Why integrity check your downloaded .iso?

Checking the integrity of your .iso in Ubuntu

Checking the integrity of your .iso from a Linux live CD

Checking the integrity of your .iso in Windows

Burning the .iso to a CD-ROM

Preparing For The Install

Clean your optical drive lens

Back up your MBR

Help on Partitioning





Where can I get Ubuntu from?

Download from the internet
Ubuntu can be downloaded for free from the Get Ubuntu Download Page.
When I had a dial-up account with a 56k modem, Ubuntu 'Warty Warthog' seemed an enormous download. It took almost forever, but there were no internet usage charges from my ISP on dial-up accounts.
People with Broadband accounts, can download much faster, but if you have to pay your ISP by the MB, too much internet usage might cost you a little bit more money. If that is the case for you , then Ubuntu might not be free, so be careful and check first.
If you are lucky enough to have an 'unlimited downloads' broadband or cable account, it might not matter to you how much you download from the internet. In that case 'go for it'.

Bigpond Broadband customers,
If you live in Australia, you can download Ubuntu from the Bigpond File Library, and the exact place to look is in Ubuntu Linux files. If you are a Bigpond Broadband customer, the download is even free of internet usage charges. (The usage from downloads from the Bigpond site is not added to your bill). 

Make sure you read the details about the file carefully before you begin any download to make sure you select the right one.  
  • Make sure you pick out the latest version of Ubuntu
  • Choose between Ubuntu, Kubuntu, Xubuntu and Edubuntu, also 'Ultimate Edition' and 'Christian Edition', and more. There are also some nice video files you can download too.
  • pick whichever suits your computer, i386 (intel) or AMD64
  • This website is mainly about the 'Alternate' CD, but the 'Desktop' CD will be better for most people, if you have an average to modern computer.

Everyone
,
While you are at the site where you download the file from, be sure to have a look around for an MD5 checksum, and/or a SHA1 checksum. I always copy those to a text file and save it. When the download is complete I use it to verify the integrity of my downloaded .iso file.
For example,

Information URL: http://releases.ubuntu.com/releases/8.04/MD5SUMS

herman@amd64:~$ md5sum ubuntu-8.04-alternate-i386.iso
166991d61e7c79a452b604f0d25d07f9  ubuntu-8.04-alternate-i386.iso

herman@amd64:~$ md5sum ubuntu-8.04-desktop-i386.iso
8895167a794c5d8dedcc312fc62f1f1f  ubuntu-8.04-desktop-i386.iso

herman@amd64:~$ md5sum ubuntu-8.04-alternate-amd64.iso
7d0ac92c56361949d099dd9337c975e7  ubuntu-8.04-alternate-amd64.iso

herman@amd64:~$ md5sum ubuntu-8.04-desktop-amd64.iso
fc43f665ba51c4be0d95c011aefef45d  ubuntu-8.04-desktop-amd64.iso

Of course, if you download Kubuntu, Xubuntu, Edubuntu or Fluxbuntu they will have thier own different md5sums.

Downloading with either the wget command or with BitTorrent would be much more reilable than downloading files through any web browser. Your files are much more likely to be intact and pass the md5sum test.
Download very large files with the wget command

Download very large files with BitTorrent

What is Bittorrent?




Why integrity check your downloaded .iso?
To sum all this up, a bad .iso file means a bad CD, which is not only a waste of a good CD, it might cause you a lot of lost time and much frustration and headaches later on as well.
Quite often the .iso file gets accidentally corrupted a wee bit somehow on its way to us through our browser, or the copy we are downloading is itself a corrupted copy.

Theoretically, (although unlikely), there is also a potential for someone to tamper with software files somewhere along the lines, and plant spyware in it or similar, which we would not want.
(This could be more of a threat if you live in a non-democratic country with political problems).
It is a wise precaution to run an md5sum integrity check on your newly downloaded .iso file before burning it to a CD.
The md5sum integrity check and the sha1sum integrity check will show a completely different output if even as much as one small punctuation mark is missing or out of place in the whole .iso file.
An error as small as one wrong punctuation mark might seem trivial if it was a book to read. In computer software one tiny punctuation mark's worth of error could potentially  cause radical and unpredictable consequences for the computer's performance if it happens to occur in a vital spot in some code.

Often the install will go okay but you might have some 'broken packages' after the install.  Those are easy to fix.
Other times people have terrible problems with the install and no-one knows why.
It could be that a vital part of the install CD's software is corrupt or missing.
People can have all kinds of trouble trying to get their install completed and their system booted for the first time.
Checking the .iso and the CD-ROM's integrity with MD5 might prevent some of these problems.






Checking the integrity of your .iso in Ubuntu
If you have a friend who already has Ubuntu or any other linux installed this is very easy.
You only need to make sure the file is located in the /home/username folder, open a terminal and type, 
Code:
herman@amd64:~$ md5sum ubuntu-8.04-alternate-i386.iso
,and press enter and wait for a minute, you should have the same result from your md5sum check as the md5sum given near the download link from whatever website you downloaded it from. For mine it is:
Quote:
herman@amd64:~$ md5sum ubuntu-8.04-alternate-i386.iso
166991d61e7c79a452b604f0d25d07f9  ubuntu-8.04-alternate-i386.iso
This proves my file has been downloaded 100% intact and has not been corrupted or tampered.
It is safe to burn to a CD whenever I like.
If yours is different, check what it should be from your download site.

 
Another test is the sha1sum test:
Code:
herman@amd64:~$ sha1sum ubuntu-8.04-alternate-i386.iso
The result I expect from that test is:
herman@amd64:~$ sha1sum ubuntu-8.04-alternate-i386.iso
fa8a21313b4fa82a02c0bf4736f862d10c51be53  ubuntu-8.04-alternate-i386.iso
you can do the sha1 test too, to make really sure your .iso file is perfect if you want.

If it seems like too much trouble to run an MD5sum because you don't have a Ubuntu operating system already installed to run the test from, you can skip this test.
Nowadays there is an easier way to test your download, after you burn it to a CD. It's called 'Check CD for Defects', and it's a lot easier.  You can select that item from the first menu you get when you boot your new Ubuntu 'Alternate' CD.
The downside is you might waste a CD, unless you use CD-RW disks, which can be erased and used again.





Checking the integrity of your .iso from a Linux live CD Another way this could be done would be by using a Ubuntu  or Knoppix live CD and mounting the partition containing the .iso with that.
See my Mounting Page to learn how to 'mount' another filesystem in a Ubuntu Live (Desktop) CD.
Find the path for the .iso and run the md5sum from the live CD. Then verify the .iso in a similar way as explained above.




Checking the integrity of your .iso in Windows 
If you have no-one living near you who has any Linux system installed in their computer, and it seems to complicated for you to do it with the 'Desktop' Live CD as suggested above, you might have to check your downloaded .iso from your Windows-only computer. There are lots of different brands of software you can download and use for that.
One I tried that I can recommend is 'MD5summer'.
fig1md5
                                                     fig 1 md5                     
It is very simple to use. I just downloaded the installer for it, md5v12005 , (md5summer.exe) and double-clicked it to install it.

fig2md5
                                                     fig 2 md5 
After it is unzipped (I was using my Windows 98 test computer to try it out in), there will be two files, both named md5summer. Both have icons like two pieces of a jigsaw, and both have the same name. I right-clicked and clicked 'properties' on them to learn the difference. One is an application the other is an MD5 checksum container.

fig3md5
                                          fig 3 md5
When I double-clicked the first one, and a window appeared like a Windows Explorer window. I selected my folder called 'iso folder', where I left my  newly downloaded Ubuntu 'Breezy' install .iso . Then I clicked the 'create sums' button.
                  
fig4md5
                                       fig 3 md5   
  Another window opened called 'Create a list of files to sum'. It already had my ubuntu-5.10-install-i386 file listed in the left-hand pane. . I clicked it to highlight it, and then the 'add' button. The complete path for the file (file's full name) appeared in the right pane. Then I clicked 'OK'.       
                 
fig5md5  
                 fig 5 md5
  A new window appeared called 'MD5sums: generating...
 
After a few minutes my MD5 checksum appeared:   126751a2dc5528c2f9044d9e4ee36d61   the same as I get when I check it with Linux, so it must be correct!
NOTICE: The example shown here is for Ubuntu 'Breezy Badger 5.04', which was an earlier release of Ubuntu.    
Thanks Ubuntu forum member Bartender for your help with this subject.
   
There are other kinds of software available on the internet for checking md5sums. It shouldn't matter if you prefer to use a different instead.



        

Burning the .iso to a CD-ROM
Burn your .iso as an .iso CD, not as a data CD
Since everyone has different CD burning software in the operating system they are using to begin with, it's impossible to give specific details on how to burn the .iso to a CD-ROM.
The main thing is to make sure you burn the .iso as an '.iso', and not as a regular 'data' CD.
If you burn the .iso as 'data', you won't be able to boot from the CD to run the install.
Burn to Good Quality Media
When you buy blank CD-ROM or CD-RW disks, read the information on the side of the container they come in and make sure you get good quality CD-ROM or CD-RW disks. You want disks that are suitable quality for software, not just for audio (music). You might have to pay a little more, but it will be worth it.
Burn At A Slow, Steady Speed
 Such as 4X or even slower. (I burn at 1X for this job). It's not a race, and a few minutes extra will be more than made up for when I have a good CD the first time.


       


Preparing to Install 
 Just like most other things you do, you can make it it lot easier on yourself and have more chance of achieving a good result by beginning with the right preparations for the job.
 
1)Check how much room you have on your hard disk, and decide how much you need to keep for Windows, and how much for any other partitions you might want. The initial install is at least 1.8 GB without any files or extra software installed.The smallest partition size I have used was 3.0 GB. It was okay for what I wanted it for at the time. Don't forget to allow for your extra FAT32 logical partition if you have NTFS. Most modern computers have nice big hard drives. 10.0 GB is a good size to begin with if you have the hard drive space.

2) Back up all your data!  Back up all your data!  Back up all your data! You can always restore your old operating system and data as long as you have everything backed up. If you decide to copy one of these example installs, you will be doing some operations which can result in erasing everything out of your computer if you make a mistake or have some bad luck. You need to be confident that you or someone else can easily restore everything back to normal if things should go wrong.
If you do not feel confident about being able to fully restore your system it might be better to wait until your computer skills develop more, or make sure you have someone who does know what to do lined up to help if you need it.
 
3) Defrag Windows to consolidate Windows files near the beginning of your hard disk, ready for resizing your Windows partition.
This doesn't matter for the 'Desktop' Live CD's partitioner, only for the 'Alternate' CD.
The Ubuntu 'Alternate' CD's partitioner, 'partman', will refuse to do anything if it finds Windows files in the way, and normally Windows tends to scatter its files all over the place on the hard disk.  It is best to give Windows a good defragging before installing Ubuntu.
Sometimes you may need to defrag several times. You should run Scandisk first for best results, and then run the Disk Defragmenter after that.
Geek Girls website has the best how-to I have seen to help you make Microsoft utilities work properly. Look under 'windows guides'-->' windows tools & techniques',-->' why defrag?', and see especially where it explains step by step: efficient defragging. I use this method all the time for running either scandisk or defrag.  It really works great! (And saves a lot of time too).

* Here's another tip I have read about concerning the degragging of Windows.  This is optional, and is not really necessary for most computers unless you have already had problems resizing.
Windows has a thing called a 'page file'. This is kind of like 'fake' memory. It's for when your real memory is getting a bit full. It's kind of a 'slow lane' for memory. It works by writting slow moving memory stuff temporarily to the hard disk  leaving your real memory available for the 'fast lane' stuff. The 'page file' shows up as a big green unmovable block in the defragmenter.
 It might be a good idea to get that out of the way too, before defragging the partition.
Just turn it off in 'Control Panel' -->'System' --> 'System Properties'-->'Advanced' tab -->'Performance, Settings button' --> 'Advanced' tab, 'Virtual Memory',-->'Change', take note of your settings (on a piece of paper), and click the radio button for 'no paging file' -->'Set', 'Apply', 'Okay'.
Then restart your computer and now you can run defrag as many times as you need to, without the big green block in the way.
   (If you do this, don't forget to go back and turn it on again later, after the resizing is over, and Ubuntu is installed).

The ubuntu-6.06-desktop-i386.iso and later editions use the GParted partitioner, and these do not require prior defragging of Windows. I don't know how it works, but GParted can resize Windows no problems at all without wasting any time defragging first. Of course defragging is always a good thing anyway though.

For the 'Desktop' Live CD's partitioner: It's a good idea to run CHKDSK /R on your NTFS file system.
If you find that the Ubuntu 'Desktop' Live CD's partitioner refuses to resize your NTFS partition, it is probably because it needs a file system check. CHKDSK can be run from Windows or from a Windows Recovery Console. NTFS and FAT32 file system repair and maintenance.


4) Make an emergency boot floppy disk or CD-ROM for booting either Windows or your new Linux install just in case of any possible bootloader difficulty.
Super Grub Disk  is free and it's only a small download and it's extremely useful. Take a look at this website's Super Grub Disk Page for more help if you need any.

GAG Boot Manager is another good emergency boot disk, especially for booting Windows with .
To see my GAG Boot Manager Page, Click Here.

For extreme problems booting Windows,
Here's the ultimate web-page for heavy duty, hard case Windows boot disks and troubleshooting, Click Here. You can also download NTLDR boot discs from this site now and I highly recommend them. These are not for booting Linux with, but they will boot Windows in some situations when chainloading from Grub or even Super Grub disk doesn't work.

5) Back up your MBR
If you are really scared of the Linux bootloader you can back up your MBR first, Click Here to see how to use a Linux live CD for doing that. This is optional.

6) Have your network and internet connections plugged in and other hardware turned on.
(So Ubuntu can auto-detect your network hardware during the installation).
This is not vital, but it does help a little.
 
7) When doing any kind of partitioning work and installing operating systems, it is recommended that you use a good, dependable UPS unit between your computer and the household electricity outlet. This is particularly important during this critical time, as even a very short power failure or fluctuation in your electricity supply can have unpredictable consequences. 

8) Check your hardware's suitability for the new software 
 
In any computer
It's a wise precaution to try out the 'Desktop' (Live CD) version of Ubuntu. 
This will help to determine if Ubuntu will work okay  with your computer's hardware.
If your computer runs the 'Desktop' CD well it is a good sign, if not, proceed with caution.
The live CD runs a little slowly in the best of computers, but test whether things like your monitor and sound, keyboard and mouse, network connections and other important things like that will work. Often if one or two things don't work, you can fix them after the install. But if more than one or two things don't work, it might be too much work. Therefore poor live CD performance is an indicator for caution, but does not rule out installation completely.
I have had good installs with a shaky CD drive, but have had to keep repeating the install process several times before 'getting there' in the end. It can still result in a satisfactory installation.

LAPTOPS 
If your computer is a laptop or notebook,  great progress has been made in making Ubuntu suitable for all laptops. I don't think there is any special reason these days to think a laptop wouldn't be supported just because it is a laptop.
You can check to see if your laptop is on one of the supported laptops lists.
 
https://wiki.ubuntu.com/LaptopTestingTeam
 
http://www.ubuntu.com/support/custom/hplaptops
 
http://linux-on-laptops.com/

If your laptop hasn't been mentioned it doesn't mean you can't install. Just take the same precautions as for a desktop computer (back up your data), and go ahead and take the plunge!




Clean your optical drive lens
Even if a CD/DVD drive can read music and video CDs and DVDs okay you can still have problems with a software CD due to a little dirt on the optical drive lens.

If your installation CD won't boot or freezes part of the way through and maybe ends in red warning screens it could be that you have a dirty CD/DVD drive.
This is another reason why it is important to make data backups before using hard disk partitioning and operating system installation discs.
Just a small grain of dust or oily film on your optical drive lens can cause major havoc and result in something like a corrupted partition table. Normally such dirt is invisible to the naked eye, and this can happen to anyone, regardless of how clean your house and computer is.
Keeping your computer and its surroundings clean is a big help though.

Sometimes it is enough to run a special lens cleaning CD, some people recommend those and others don't believe in them at all, saying they can scratch your lens. If you buy a DVD/CD drive lens cleaning disk, make sure it's good quality.

Some say it's better to just blast a little compressed air into your CD drawer, but others say that will will only move some of the dust around, not clean your drive properly.

The main thing is to get the lens clean somehow.
If your CD/DVD drive is really dirty then maybe neither of those above solutions will be enough.

In some types of optical drives, the lens  slides right out with the CD drawer so it's more exposed and prone to getting dirty, but on the other hand, you can reach it easily and clean it with a Qtip (cotton bud) dipped in ethyl alchohol (methylated spirits).

If the lens is built to stay protected inside your CD/DVD drive box, you might have to open your computer case and remove the optical drive, take it apart, clean it properly and put everything back together again, (or buy a new drive if you're not so technically inclined).

Here are some links about how to clean optical drives,
 
Computer Cleaning Guide (and then click on the DVD/CD Drives link)

Cleaning Your Xbox DVD Drive (the principles will work for pretty much any CD or DVD drive).

Smart Computing: How to Maintain Your Optical Drives





Back up your MBR      (Optional)
Some people are a little worried about installing Ubuntu because Ubuntu will install GRUB bootloader's IPL to MBR in the first hard disk unless you specify otherwise.
The 'Alternate CD', which this website is about, gives you full control of what bootloader will be used and where you want to install the IPL for it.
Usually it is best to install GRUB to MBR.
If you want to try installing GRUB to MBR, but you're not sure if you will like GRUB or not, or if you are afraid GRUB might not work properly in your special computer, I have added a how-to in my back-up & restore page about how to use any live cd to back up the IPL in your MBR before beginning an install. (And restore it again later if you want to).
It's quite simple and easy to do, Back up your MBR





Help on Partitioning

The 'Alternate' CD's Ubuntu installer features 'Partman' disk partitioner from Debian, based on GNU libparted.

GNU PartedQTPartedGParted LiveCD and Parted Magic are also all very good disk partitioning programs based on LibParted.

You should only use a good 'Parted based hard disk partitioning program if you're going to install Ubuntu.  Then stick with 'Parted based partition editors.
Avoid mixing hard disk partitioners, (don't alternate between different brands).

help_on_partitioning

The makers of every brand of hard disk partitioning software all recommend users should back up their data before using their software.No matter how safe the disk partitioning software you use is, you still need to back up all your data first.  





Partitioning Rules
We can have between zero and four primary partitions in each hard disk, or we can have between zero and three primary partitions plus one extended partition.
An extended partition can contain zero or more logical partitions. Logical partitions must be 'contiguous' (arranged in a series).

A partition that has its own entry in the partition table inside the hard disk's Master Boot Record is called a 'primary' partition.
The reason why can't have more than four primary partitions because there are only four 16 byte spaces for partition details reserved in the partition table.




A hard disk divided into the maximum of 4 primary partitions. No more partitions can be added.
They can all be different sizes, and there can be free spaces (gaps) in between.






There is a way to create more than just four primary partitions.
We can make one of them as an 'extended' partition instead of a regular primary partition.
An 'extended' partition is something like an empty box, and inside that we can create one or more 'logical' partitions.
By using an extended type of partition and dividing it up into logical partitions, we can divide a hard disk up into a great number of partitions, many more than just four.






This is only possible if the 'logical' partitions can be 'contiguous' or arranged in a series.







It's okay to make your extended partition first on the hard disk or in the middle of the hard disk.

Something we can't do is place a 'primary' partition in between two logical partitions or the series of logical partitions will be broken and become unusable. Logical partitions are strung together like a series circuit or a chain.
It is okay to leave an empty space between logical partitions, but we can't place a 'primary' partition in between two logical partitions or the series of logical partitions will be broken and become unusable.

For this reason it is best to plan ahead a little and try to make sure we have room to add more 'primary' partitions or 'logical' partitions in groups in our hard disks.
We probably don't want to use up out maximum of four primary partitions too soon, it is a good idea to make an extended partition sometime before we run out.

What not to do:





free space
We don't want to 'paint ourselves into a corner' by 'boxing in' our extended partition by surrounding it with primary partitions.
In the illustration above, the four partition limit is used up. The extended partition is in between the primary partitions. There is free space at the end of the disc, but no more partitions can be created.

What not to do:


free space
In this illustration all four partitions have been made as primary partitions so no more partitions can be made in this hard disk, and there is free space that can't be used.

 It doesn't matter what you do as long as you're thinking ahead, Linux partitions can be 'moved' these days with the latest versions of GParted, but it can be a slow process. They can also be copied and pasted into an equal or larger area of free space, providing the partitioning rule won't be broken in the process.
If you can plan your partitions well to begin with it will save you some time and frustration in the long run.



Windows normally prefers to be installed and booted in a primary partition, but Linux can be installed in either 'primary' partitions or 'logical' partitions, it doesn't matter.


Windows C:
A typical partitioning scheme to begin with would be the simple situation where Windows is installed in a primary partition that takes up all of the hard disk.


Windows FAT32
/dev/hda1
Ubuntu ext3
/dev/hda2


The Ubuntu+FAT32 page in this website shows how to resize Windows and install Ubuntu in the newly created free space.
Ubuntu makes an ext3 partition for it's main part, or '/' (root filesystem), plus a small swap area. A 'swap' area is like a page file, but it's in a partition.
By default, the swap area is logical but it really doesn't matter.
Windows with the FAT32 filesystem is the best for dual booting with Linux because it's no problem to access Windows files from Ubuntu and read and write to them.



Windows NTFS
/dev/hda1
Ubuntu ext3
/dev/hda2
 fat32
 data
share
In the Ubuntu+NTFS page, Windows XP Home Edition is resized smaller.
A primary partition is made to install the Ubuntu / (root) file system in and there's a logical partition for a FAT32 shared data partition.
Linux has no problem writing to NTFS nowadays, but carefukl users might still like to keep using a FAT32 shared data partition anyway. It allows files being transferred between Linux and Windows to be scanned for viruses. Linux is immune to viruses, but a virus can be accidentally passed from Linux to Windows in certain types of files, so it's best to scan them for viruses first.
There's a swap area at the end of the hard disk.

Windows NTFS
/dev/hda1
Ubuntu
'/ '
/home ext3
/dev/hda5
 fat32
 data
share
Separate /home install resizes the Windows partition to a smaller size to make room for the Linux partitions.
Then it creates a Linux EXT3 operating system (root) partition (primary).  At first the files in / will only take up about 1.8 GB, but good size for a / partition would be at least 5.0 GB to allow roon for adding software.
It makes a logical EXT3  /home partition, (logical), a FAT32 data partition, (logical), and the remaining space is used as a swap area.


If you find later on that you got your partition sizes wrong, or your needs have changed since you made the partitions, don't worry about it. GParted -- LiveCD is free and only a small download and can do everything you need with all your partitions and filesystems.
It can even move Linux partitions from the start of the partition as well as the end.
NTFS is not a problem, GParted -- LiveCD can create NTFS filesystems too.




Partitioning Laptops
reco
very

 Windows
Normally laptops and a few desktops computers too, come with a small 'recovery' partition before the operating system partition.
Normally they don't take up very much hard disk space, so it would be best to just leave them alone.
Please refer to the instructions for your brand and model of computer to find out if you can make or obtain your own Windows Installation Disc or Recovery CD, in case the hard disk's partition table might ever get accidentally corrupted somehow and the recovery partition can't help you.
What not to do:
Never delete a recovery partition or any other partition unless you're sure you will still be able to re-install your old operating system somehow without it.  
What You might be able to do:
  • Ask your computer manufacturer to give you a proper 'Installation Disk' for the software that you paid for when you purchased the computer, as without that you really don't have the software permanently.
  • You may be able to use Partimage in Linux to make a carbon copy of your other operating system and restore it from that image instead, if your other operating system ever needs to be re-installed. 
  • You may be able to go to BartPE website and make a BartePE LiveCD as a Rescue Disk for your other operating system and once you have made that you might be able to use files in your hard drive to further make your own 'Installation CD'.
Your Recovery partition might be given an entry in your new GRUB menu when you install Ubuntu.
If it does, it might not be correctly labelled. You can edit the title for it in your GRUB menu by editing your /boot/grub/menu.lst file in Ubuntu.
Make sure you never boot the recovery partition by mistake. In some computers it will erase and reformat your entire hard disk! At least it might erase and reformat your other operating system.



Windows Default Dual Boot
Windows can normally only be installed and booted in a primary partition, but sometimes it can be installed and booted in a logical partition if it boots through another Windows installation.
For example,
Windows 98
installed originally
'boot' partition
Windows XP,
installed in logical partition
depends on Windows 98 to boot it.
What you should not do if you have a Windows dual boot set up by the Windows default method, is to delete your Windows 98 install to install Ubuntu there. If you do you will also be deleting the files Windows XP needs to boot, which were transferred to Windows 98 when 'XP was installed.
If you do that you will be making a big mistake and I am not sure if it can be easily repaired.
Here is a great link on the subject: Understanding Multibooting and Booting Windows from an Extended Partition  by Dan Goodall.

Windows 98
'boot'
(primary)
Windows XP
(logical)
Ubuntu
(logical)
What you can do is simply reduce the size of your Windows XP logical and install Ubuntu in a logical partition too. Ubuntu will boot just as well in a logical partition, it makes no difference at all.
Also, if all the data is removed and Windows 98 is cleaned up, it can be shrunk to a minimal size and really doesn't take up very much hard disk space at all. The Windows XP partition can be moved with GParted -- LiveCD and that should make a little more room for Ubuntu.




Two Hard Disks

/dev/hda Ubuntu (primary master) (hd0,0)


/dev/hdb Windows (primary slave) (hd1,0)
People wanting to dual boot with two (or more) hard disks should read this great thread and links provided from it on the subject in Ubuntu Web Forums.    Dualboot Two Hard Drives
Thanks confused57 and lha, catlett, Sutekh, shoki, gn2, mingus, bulldog, xpod, Bigbluecat and all other participants for the information in these threads.

It is only a little bit more complicated to use two or more hard disks for installing operating systems on. I have helped users with up to seven hard disks. If they are all IDE or all SATA it is reasonably trouble free. When IDE and SATA drives are together in the same computer it can mean whatever bootloader you use might need a little manual help to get fully configured. That's not usually too much of a problem, it's relatively simple to figure out.



Windows and Linux Multiple Boot Arrangements
Windows
FAT32
Debian
Gutsy Hardy
The small dark blue partition after Window is a dedicated grub partition. It isn't vital to have a dedicated grub partition, but it can be an improvement in a multiple boot Linux set-up.

I prefer to install each of my Linuxes as a single partition install, all in one 'root' partition. (As opposed to having a separate /home). That way I can multiple boot lots of operating systems without making such a complicated mess of my hard disks. Each operating system is independent. I like things better that way.
The red partition is the swap area that all my Linux operating systems share.
If you are going to try previewing and testing a new version of Ubuntu before it is officially released, there is a smart way to do it.
You don't need any data in it, (keep your data somewhere else), and you want to be able to restore your whole partition in a hurry with most of your added software, settings and updates.
The spare partition at the end of the disk could be used to store compressed Partimage backups of my Hardy test installation. If I get a bad update or try an experiment that causes some kind of severe problems for my Hardy test install and I think it will be too much work to repair it, I can just delete the whole partition.
I can then just restore it again to an earlier state from the Partimage backup. Aysiu has the best web page about how to Use PartImage




Windows and Two Linux With a Shared /home
Windows NTFS
/dev/hda1
Ubuntu
Dapper
'/ '
Kubuntu
Edgy
'/ '
/home ext3
/dev/hda5
 fat32
 data
share
In this type of partition arrangement two Linux operating systems are sharing a common /home partition, and the swap area. Both operating systems have access to the same files.

Of course, another thing we can do is install more than one desktop in an operating system. I have one operating system that can be booted as Ubuntu, Kubuntu or Xubuntu by selecting a different desktop at login. There is no need to have separate partitions to try out different desktops, just install as many different desktops as you like in the one system. There are many more desktops available.
...but that's a subject for after you install!

For a different discussion on how you can partition your hard disks, please visit Aysiu's
 Plan Partitions web page. Aysiu site features the Desktop CD installer, and Aysiu has a nice page about partitioning schemes there. You should read that one too.
 



Back to Top