Ubuntu Hardy Heron Two Disc Multi Boot
This installation features Ubuntu Hardy Heron installing with Debian, Ubuntu Feisty Fawn and Windows XP Home Edition already installed in the first hard disk.
Ubuntu Hardy Heron will be installed in the second hard disk, and Hardy's GRUB will be installed in the second hard disk's MBR.
Edited Tuesday, June 10 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

This webpage is for the Ubuntu 'Hardy Heron 8.04 LTS', 'alternate CD' installer.
The released install CD is called ubuntu-8.04-alternate-i386.iso, and the md5sum is 166991d61e7c79a452b604f0d25d07f9 


Ubuntu Hardy Heron has just been officially released.

This web page is has been newly updated to date for the officially released Hardy Heron 'Alternate' installation CD.

A little more editing may be done to improve this page as time goes on.


 For help with the 'Desktop' Live/Install CD, I recommend Aysiu's website,  and in particular, this page, http://www.psychocats.net/ubuntu/installing
And while you are there check out the rest of Aysiu's site too, you'll find lots of other good information there. http://www.psychocats.net/ubuntu/index.php 


 Vista users , please visit the following web-page for a Vista-specific dual boot how-to by molly_001,
DUAL BOOT VISTA and LINUX (Ubuntu 6.06) http://tinyurl.com/hrbhy

Also for Vista Users, EasyBCD
EasyBCD is NeoSmart Technologies' multiple award-winning answer to tweaking the new Windows Vista bootloader. With EasyBCD, almost anything is possible. Setting up and configuring Windows boot entries is simple, and there is no easier way to quickly boot right into Linux, Mac OS X, or BSD straight from the Windows Vista bootloader - on the fly, no expert knowledge needed!

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.
 Thanks confused57 and lha,catlett and all participants for the information in these threads.
Dualboot Two Hard Drives

Here is is a post by lha about how to install Ubuntu with Windows in a computer with two hard disks without overwriting the IPL for the Windows bootloader in the first hard disk's MBR.
If you feel comfortable with reaching inside your computer and unplugging your hard disks physically and changing jumper settings around then possibly this idea would suit you.
This is a very good method if there is an extra hard disk available.
Particularly note post #6.

Please read the entire  Pre-install Page  of this site before beginning any install.
Please read the whole page and make sure you make the appropriate preparations.

Backing up your important data before beginning any install is especially important.


This is not an official Ubuntu website                       

These three are  |  Ubuntu  |   Ubuntu Forums  |    Official Ubuntu Wiki

Here is a link to the Official Ubuntu Installation Guide,  it explains all about the Debian installer.
You should read that first and look at the illustrations in this website after that.                                    

BRIEFING
The computer used for this installation is an Acer Aspire T310 Desktop PC.
It has a 3.00 GHz Intel Pentium 4 CPU, 2 x 512 MB Main Memory, ATI 9200 Video card with 128 MB video memory, and two PATA (IDE) hard disk drives of 80.0 GB each.

This install resizes a data partition in the second hard disk to make room for the new Hardy Heron partitions. Then it creates a Linux EXT3 operating system (root) partition (primary), and the remaining space is used as a swap area.

A number of Linux enthusiasts are interested in multiple booting more than one Linux, and how to move their /home files forward from an older Linux installation to a new one.
Rather than having a separate /home partition it's a better idea to have Linux operating systems installed separately, each in their own in nice neat integral installation.
That way we have a chance to running the new operating system for a while and trying it out first to make sure everything in it works well and does everything you need before we go ahead and make it our main operating system.
If you're new to Linux and you have two installations of Linux you can use one installation for a 'sandbox', for trying out linux commands and software that you may not be familiar with. You can learnmuch faster when you're not scared of making a mistake and 'borking' your good installation.
If you are an experienced Linux user you might want to start testing Ubuntu 8.10, Intrepid Ibex, the next version of Ubuntu, when it becomes available for testing. You might replace your old Gutsy install with Interpid Ibex when that time comes.

The length of time this install might take will depend mainly on the speed of my computer.
This took me 43 minutes with this one from the start of the installation until I had Ubuntu installed and booted and ready to work with. (While pausing to edit this web page a few times).
It took me another 5 minutes to mount Debian and edit Debian's /boot/grub/menu.lst to boot the second hard disk's MBR, and reboot to try that out and make sure it works.

You should not begin an install when you have a time limit in case you have any problems. For example, don't start an install at 07:00 when you know you'll be needing your computer for work at 08:00. It is safer to install on Friday after work or Saturday if that is your day off. Then if anything goes wrong you'll have more time to fix it and be in a calm mental state. Being in a calm mental state is very important when doing this type of task, even though, as you will see, it is quite easy.
 
To begin, you need to place your CD in your CD-ROM drive and re-start your computer.
You should see something like the illustration below in your monitor.


p2d/001.png
As you can see, Ubuntu supports a lot of languages.
I always just choose 'English' here.




p2d/1bfat32.png
fig 3 multi                             
 Install Ubuntu 
The text mode install is the popular choice for most good professional or home users.
It's a good idea to scroll down one line and check your CD for defects first though.
I will run through the rest of the options below, but this option is the one that this web-page is mainly about. 

Check the CD for defects, that is a good idea!
It only takes five minutes or so and might save you hours of frustration if you have a bad burn. You already ran an md5sum test on your .iso download too, of course. I recommend checking the CD for defects. I do that.
If you want to see what happened when I didn't, look in this link, Hardy Heron Beta / Gutsy Gibbon Graphical Installation C

Rescue a broken system, (Rescue mode) this option loads a kernel and goes through  similar process as the first part of the text mode install. When it gets up to about fig7 stage, it asks for a device to use a a root file system. You would choose your Linux (Ubuntu) partition, you need to know which partition that is beforehand. (It's easier if you don't have a lot of partitions to choose from, or keep a notebook, or just know it).
Rescue options are as show in this illustration below,
[!!] Enter rescue mode

Rescue operations


Execute a shell in /dev/sda2
Execute a shell in the installer environment
Reinstall GRUB boot loader
Choose a different root file system
Reboot the system

<Go Back>                                          

Mostly the option to use will be  re-installing GRUB. Click Here to see that illustrated.

There are also lots of things you can do if you boot to a shell (rescue console). You will need to know Linux commands or be following some kind of instructions carefully. Repair instructions in the forums and the wiki sometimes advise us to execute a shell in rescue mode. To exit the shell, type the following command,
code:
# exit

That brings you back to the [!!] Enter Rescue Mode panel, from there you can re-boot or else <Go Back>.  If you keep choosing <Go Back>, you will end up in the [?] Ubuntu installer main menu. From there you have a list of options. Scroll to the bottom of that to 'Abort the installation' if you don't need any of those. That will give you a confirmation screen with a warning on it. The warning only applies only to those who have progressed to an advanced stage of an install, most of the time it's safe to ignore it. The worst that can happen is Ubuntu won't be finished installing and you might need to delete re-install it if it was an interrupted installation. It is safe to ignore this warning most of the time.

See an illustration of the Ubuntu Installer Main Menu.............GO


Test Memory,
you can test your computer's RAM to make sure it's okay. (Memtest86+)
(Press'Esc' to exit the Memory test after you try it out).
Note: you should enter your computer's CMOS (BIOS) first, and disable the CPU internal and external caches (L1 and L2) before running memory tests. Don't forget to re-enable those again when you are finished.

Boot from first hard disk,
This re-boots the computer.

Here is a link to the Official Ubuntu Installation Guide's,  'How the Installer Works',  it explains all about the Debian installer. You should read that first and look at the illustrations in this website after that.
Here is a link to the Official Ubuntu Installation Guide's,  'Components Introduction' too.
I recommend reading the official documentation as well as looking at the pictures below here. 


Now that I have explained what the other options are for, I selected 'Install Ubuntu', and pressed 'Enter'.









p2d/x2.png
  fig 2 home
We are now proceeding with Setting up Ubuntu Installer and Hardware Configuration
(a link to the official Ubuntu documentation).
                
The first decision here is an easy one.     

Choose your language.  Your arrow keys can move the blue rectangle up or down the list to select a language. Then press 'Enter'.

The <Go Back> option is shown in the lower left corner of almost every panel. It does the same as explained above (read <Go Back> again). Your 'Tab' key is the one to use throughout this installation for moving the red highlighting from  'Yes' to 'No' or 'Go Back'.
 
This can be a very handy thing to know about.  For one thing, it is useful if you need to go back one or two steps and repeat something you didn't get right. There are also things you can do from the 'Ubuntu Installer Main Menu' later on, after the install. For example, if you need to re-install Grub or Lilo boot loaders to your MBR or to a partition, you might want to access these options from the Ubuntu Installer's Main Menu. You don't necessarily have to be doing an install to run the Ubuntu Install CD.
You can also use the Ubuntu Install CD's partitioner to do partitioning work if you need to.
Nowadays a GParted -- LiveCD is better for that though.
 
The 'Ubuntu Installer Main Menu' also offers an escape route in case something has gone wrong and you need to abort the installation and re-boot to fix something. Or it may be that you have suddenly realized you have made a mistake and wish to cancel everything and try again.
If you do find yourself wanting to do this, just be aware that the line for 'abort the installation' and it is right down below the bottom of your monitor's screen, and out of view. People may not realize they need to scroll down to find it. Highlight that and press 'Enter', and be ready to remove your CD from it's drawer or it will boot from the CD again before you know it.
 

 



!] Choose language

Based on your language, you are probably located in one of these countries or regions.

Choose a country, territory or area:

                                                            Australia       ^
                              Botswana        I
                              Canada          
                              Hong Kong        
                              India            
                              Ireland          
                              New Zealand      
                              Phillipines      
                              Singapore        
                              South Africa    
                              United Kingdom  v

<Go Back>
fig 3 home                             
                                                 Choose your country.
(Use your up or down arrow keys for scrolling, then press 'Enter')




                                                                                            
[!] Ubuntu installer main menu

You can try to have your keyboard layout detected by pressing a series of keys. If you do not want to do this, you will be able to select your keyboard layout from a list.

Detect keyboard layout?

<Go Back>                                          <Yes>     <No> 
fig 4 home        
If you have a special keyboard, you can choose <Yes> for a series of keyboard tests to help Ubuntu set up your special keyboard correctly. You will be asked to press certain keys.

I chose <No> for this, to skip the keyboard tests and move on to choose my keyboard from a list.
This will be faster.


[!!] Ubuntu installer main menu

The origin of the keyboard:

    Norway   
    Pakistan
    Poland 
    Portugal
    Romania
    Russia

    Serbia 
    Slovakia
    Slovenia
    South Africa
    Spain
    Sri Lanka
    Sweden
    Switzerland
    Syria
    Tajikistan
    Thailand
    Turkey
    USA                    

<Go Back>                                                                       
 I have a US type of keyboard so I always choose USA here, even though I live in Australia.
US keyboards are the standard type found in most countries in the world probably.




                 
[!!] Ubuntu installer main menu

There are more than one keyboard layouts with the origin you selected. Please select the layout matching your keyboard.

Keyboard Layout:

  USA - Alternative international (former us_intl)
  
USA - Classic Dvorak
 
USA - Colemak
  USA - Dvorak international
  USA - Dvorak
  USA - Group toggle on multiply/divide key
  USA - International (AltGr dead keys)
  USA - International (with dead keys)
  USA - Left handed Dvorak
  
USA - Macintosh
  USA - Right handed Dvorak
  USA - Russian phonetic
  USA - With Eurosign on 5
  USA                                                      

<Go Back>                                                     
 Now it's asking what kind of a US type of keyboard I have.
Mine's just an ordinary one, so I just selected 'USA' once again.



detecting hardware to find CD-ROM drives

                                21%                                

Loading module 'floppy' for 'Linux Floppy'...

                       fig 7 home
Scanning CD-ROM

                                19%                                

Scanning /cdrom/pool/main/l...

                       fig 8 home
Loading additional components

                                 45%                               

Retrieving Partman

                       fig 9 home
Detecting network hardware 

                                21%                                

Detecting hardware please wait...

                      fig 10 home
[!!] Configure the network

Your system has multiple network interfaces. Choose the one to use as the primary network interface during the installation. If possible, the first connected network interface found has been selected.
Primary network interface:

 eth0: Silicon Integrated Systems [SIS] SiS900 PCI Fast Ethernet  
 eth1: Broadcom Corporation BCM4318 [Airforce One 54g] 802.11g Wir

<Go Back>                                          
fig 11 home    
I didn't really see this panel in this computer, but some people might, so I wanted to show this one to people anyway.
I get this one when I'm installing in my laptop.
This panel only appears if your machine has more than one network interface.
Normally, it's best to install with your ethernet cable plugged in if possible, and select your ethernet card as the primary network interface.
                       

Configuring the network with DHCP

                                21%                                

This may take some time...

 <Cancel>

                   fig 12 home
              
[!] Configure the network

Please enter a hostname for this system.

The hostname is a single word that identifies your system to the network. If you don't know what your hostname should be, consult your network administrator. If you are setting up your own home network, you can make something up here.

Hostname:

 chonji_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 
<Go Back>                                              <Continue>
fig 13 home                      
Give your new operating system a host name. The way to do this is to move the cursor to the left with your 'backspace' key, and type in whatever you like here.
Press 'Enter' when ready.


Setting up the clock

                                19%                                

Getting the time from a network time server ...






[!] Configure the clock

Select a city in your time zone:

    Lord Howe Island
    Hobart
    Melbourne
    Sydney
    Broken Hill
    Brisbane            
    Lindeman
    Adelaide
    Darwin
    Perth

<Go Back>                                         




Detecting disks and other hardware

                                21%                                

Starting PC card services
...

                       fig 14 home

Starting up the partitioner

                                21%                                

Please wait
...





End of the first stage of the install
========================================================

========================================================
Start of the partitioning stage of the install



We are now about to begin the Partitioning and Mount Point Selection phase of the installation. Please refer to the above link to the official Ubuntu documentation for a  more detailed explanation of what can be done here.                                                  



[!!] Partition Disks

This installer can guide you through partitioning a disk (using different standard schemes) or, if you prefer, you can do it manually. With guided partitioning you will still have a chance later to review and customize the results.

If you choose guided partitioning for an entire disk, you will next be asked which disk should be used.

Partitioning method:

 Guided - resize SCSI1 (0,1,0), partition #1 (sdb) and use freed s
 Guided - use entire disk
 Guided - use entire disk and set up LVM
 
Guided - use entire disk and set up encrypted LVM
 Manual                                                          
<Go Back>                                          
fig 19 ntfs              
This one is an important decision.

(1) The first choice 'Guided - resize SCSI1 (0,1,0), partition #1 (sdb) and use freed s)', is asking me if I want to resize (shrink) an existing partition in my second hard disk to make room for this installation of Ubuntu Hardy Heron.
Actually, that's exactly what I want to do here.
This would be the best option to choose, but only because this web page is about how to use the partitioner, I have to show the manual option instead.
For most people, either this option or the one below would work best.

(2) The second choice,'Guided - use entire disk', would erase an entire disk including whatever data or other operating system was there before.
When I choose this option, the Ubuntu installer will then ask me which hard disk I want to use. To take a peek at that panel , click this link 'Select a disk to partition'.
This would actually be the easiest and fastest choice if I wanted to dedicate an entire hard disk to Ubuntu Hardy Heron, and everything will be done for me automatically.
It will use 'Guided partitioning' to automatically make a nice integral / (root) partition and swap area installation, and that's all I want.
I can't make a webpage to tell you how to do that, there are no decisions to make, it will be too easy and no-one will be interested. Instead I'll pretend there's data there in a partition I want to remain there so I'll need to use 'manual' partitioning instead.

(3) The third choice,'Guided - use entire disk and set up LVM', will erase an entire disk and use LVM, is one I haven't tested yet, but here's a link to a website that explains what LVM is.  (You'll need to scroll down a ways to get to the table of contents, from there it gets more interesting).
This is more for experts.
    
(4) The fourth option,'Guided - use entire disk and set up encrypted LVM', will erase an entire disk and use encrypted LVM, here is a link to an excellent web page in Softpedia that will guide you through this option,
Encrypted Ubuntu 8.04 - Step-by-step installation tutorial with screenshots!
Here are a couple of additional links about encrypted file systems, Running fsck on a LUKS encrypted partition in LVM, and Rescue an encrypted LUKS LVM volume.

(5) 'Manual' is the one I will choose to use now.
With this option I will be able to have complete control over everything that happens, and I'll be able to specify exactly what I want.

I have highlighted that one, and I press 'Enter'.



[!!] Partition Disks

This is an overview of your currently configured partitions and mount points. Select a partition to modify its settings (file system, mount point, etc.), a free space to create partitions, or a device to initialise its partition table.
 Guided partitioning
 Help on partitioning

SCSI1 (0,0,0) (sda)  -80.0 GB ATA ST380012A
       #1 primary     21.3 GB B K fat32       /media/sda1
       #2 primary     28.9 GB   K ext3        /media/sda2
       #4 primary     28.3 GB   K ext3        /media/sda4
       #5 logical      1.5 GB   F swap       swap
SCSI1 (0,1,0) (sdb)  -80.0 GB ATA WDC WD800JB-00JJ     
       #1 primary     80.0 GB B  K ext3      /media/sdb1      
 
 

 Undo changes to partititions
 Finish partitioning and write changes to disk

<Go Back>                                          
fig 17 home   
In this illustration I am being shown a list of my hard disks and thier partition tables.

The computer I am installing in now has two hard disks and both hard disks are IDE disks.

My first IDE hard disk is already full, if has Windows XP Home Edition in the first partition, Debian in the second partition and Ubuntu Feisty Fawn in the third partition, (which was given the partition number of four because the extended partition is occupying the number three).

My second hard disk has one ext3 partition occupying the entire disk, and it has a few files in it that I'm pretending I want to keep.

I am being asked to choose where I want to install Ubuntu.
If I had some free space already I might install Ubuntu in it.
Since I don't have any free space anywhere on my disks right now I will have to make some by resizing or deleting a partition.
I will choose to resize my ext3 data partition in my second hard disk and make that smaller. That will leave me some of the disk free to create a new partition in. I'll install Ubuntu there, so as you can see I have selected my #1 Primary partition in my second hard disk to do something with.
                      






[!!] Partition Disks

You are editing partition #1 of SCSI1 (0,1,0) (sdb). This partition is formatted with the Ext3 journaling file system.

 Partition settings:

               Use as:                  do not use
               Bootable flag:           off



               Resize the partition (currently  80.0 GB)  
               Copy data from another partition
               Erase data on this partition
               Delete the partition
               Done setting up the partition
 

    <Go Back>                                          
fig 18 multi    
In this illustration I am being shown details about my #1 Primary partition in my second hard disk and being asked which setting is it that I will want to work on.

I selected the option to resize the partition.
                       



[!!] Partition disks
Before you can select a new partition size, any previous changes have to be written to disk.

You cannot undo this operation.

Please note that the resize operation may take a long time.

Write the previous changes to disk and continue?
<Go Back>                                          <Yes>    <No>                                         
fig 19 home    
This is called  a 'confirmation screen', it's just to check that I'm aware this will change my partition table and confirm that I definitely want to go ahead with it. 
                      


[!!] Partition disks
The minimum size you can use is 15.0 GB or 18% and the maximum size is 80.0 GB.

Hint: Use "20%"(or"30%", etc.) for 20% (resp.30%, etc.) of the available free space for this partition. Use "max" as a shortcut for the maximum allowable size.

New partition size:

 20.0 GB_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
<Go Back>                                          
fig 20 home

REMINDER:
The number keys on the row above your letters on your keyboard are best.
If you have the habit of using the number keypad, remember to apply your numlock first!

The sign is telling me the minimum and maximum size I can use for the new size for my existing (ext3 data) partition.
It is asking me what new size do I want to use for my data partition now?

 I have an 80.0 GB hard disk and I only need 20.0 GB for this data, this will leave 60.0 GB of 'FREE SPACE' to divide up into more partitions.

 For this install I am planning, 
                                                  20.0 GB for data
                                                  59.0 GB for Ubuntu 
                                                +  1.0 GB Swap Area        (memory swap)
                                                 80.0 GB total

Don't worry about it too much. You can always resize at a later date  with a GParted livecd. That operation is relatively simple nowadays.
For swap area I use 1.0 GB, that should be plenty.

Please wait ...

                                0%                               

Checking ext3 file system in partition #1 of SCSI1
(0,1,0)




Please wait ...

                                 50%                             

Resizing the partition ...

                      


[!!] Partition Disks

This is an overview of your currently configured partitions and mount points. Select a partition to modify its settings (file system, mount point, etc.), a free space to create partitions, or a device to initialise its partition table.

 Guided partitioning
 Help on partitioning

SCSI1 (0,0,0) (sda)  -80.0 GB ATA ST380012A
       #1 primary     21.3 GB B K fat32       /media/sda1
       #2 primary     28.9 GB   K ext3        /media/sda2
       #4 primary     28.3 GB   K ext3        /media/sda4
       #5 logical      1.5 GB   F swap       swap
SCSI1 (0,1,0) (sdb)  -80.0 GB ATA WDC WD800JB-00JJ
       #1 primary     20.0 GB B K ext3        /media/sdb1     
          pri/log     60.0 GB     FREE SPACE              
 
 

 Undo changes to partititions
 Finish partitioning and write changes to disk

<Go Back>                                          
fig 23 multi

Here's the new partition table, showing me the 60.0 GB 'FREE SPACE' I asked for, and my data partition has been shrunk to only 20.0 GB.
 
For the next step, I have selected the 60.0 GB 'FREE SPACE', to do something with.  




[!!] Partition Disks

How to use this free space:
 
 Create a new partition                
 Automatically partition the free space
 Show Cylinder/Head/Sector information 

<Go Back>                                          
fig 24 home    
What do I want to do with this free space?
I want to create a new partition in it, so I have selected that line.





[!!] Partition disks

The maximum size you can use is 60.0 GB.

Hint: Use "20%"(or"30%", etc.) for 20% (resp.30%, etc.) of the available free space for this partition. Use "max" as a shortcut for the maximum allowable size.

New partition size:

 59.0 GB_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
<Go Back>                                          
fig 25 home  
To set the size for the partition I want to create I typed in '59.0 GB' on this line.  
This will be my new / (root) partition for the main part of the operating system and the software that comes with it for the new Ubuntu installation.




[!!] Partition Disks

Type for the new partition:
 
 Primary
 Logical

  <Go Back>                                          
fig 26 ntfs    
Now I need to tell the partitioner if this partition will be a 'Primary' partition or a logical partition.

A 'Primary' partition is a partition that will be listed in one of the four spaces in the partition table in the hard disk's Master Boot Record. We only have room there for four entries.

A 'Logical' partition can be made if we make one of the four entries in the Master Boot Record into a special 'extended' partition.
The Ubuntu installer's partitioner, 'Partman', will do this automatically if we select 'Logical'.
Inside the 'Extended' partition we can create quite a large number of 'logical' partitions. The main condition is, these are in a series or 'contiguous'. There can be a gap between them, but we mustn't seperate the logical partitions by placing any 'primary' partition between two logicals.
That would make any logical partitions on the other side of the interupting primary unuseable.


[!!] Partition Disks

Please choose whether you want the new partition to be created at the beginning or at the end of the available space.

 Location for the new partition:
               
Beginning  
       End               

               
    <Go Back>                                          
fig 27 home    
I want my new primary / partition to be at the beginning of the free space.






Please wait ...

                                19%                                

Computing the new state of the partition table

                       fig 28 home