Ubuntu Trusty 14.04 Installer

From PrgmrWiki

Install

Partition disks

xvda is the only writeable disk. A separate boot partition can be used, but it should be formatted ext2, ext3, or ext4.

At this step you can select "Guided - use entire disk" here:

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │                                                                         │
  │ The 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 customise 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 Virtual disk 6 (xvdf) and use freed space          │
  │      Guided - use entire disk                                           │
  │      Guided - use entire disk and set up LVM                            │
  │      Guided - use entire disk and set up encrypted LVM                  │
  │      Manual                                                             │
  │                                                                         │
  │     <Go Back>                                                           │
  │                                                                         │
  └─────────────────────────────────────────────────────────────────────────┘

Select xvda:

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │                                                                         │
  │ Note that all data on the disk you select will be erased, but not       │
  │ before you have confirmed that you really want to make the changes.     │
  │                                                                         │
  │ Select disk to partition:                                               │
  │                                                                         │
  │       Virtual disk 1 (xvda) - 3.2 GB Xen Virtual Block Device           │
  │       Virtual disk 5 (xvde) - 1.1 GB Xen Virtual Block Device           │
  │       Virtual disk 6 (xvdf) - 5.4 GB Xen Virtual Block Device           │
  │                                                                         │
  │     <Go Back>                                                           │
  │                                                                         │
  └─────────────────────────────────────────────────────────────────────────┘

Install the GRUB boot loader on a hard disk

Select yes for simplicity, though we will instead install the package "pv-grub-menu" in a later step.

   ┌──────────┤ [!] Install the GRUB boot loader on a hard disk ├──────────┐
   │                                                                       │
   │ The following other operating systems have been detected on this      │
   │ computer: Debian GNU/Linux (7.6)                                      │
  ┌│                                                                       │
  ││ If all of your operating systems are listed above, then it should be  │
  ││ safe to install the boot loader to the master boot record of your     │
  ││ first hard drive. When your computer boots, you will be able to       │
  ││ choose to load one of these operating systems or your new system.     │
  ││                                                                       │
  └│ Install the GRUB boot loader to the master boot record?               │
   │                                                                       │
   │     <Go Back>                                       <Yes>    <No>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Finish the installation

Select "<Yes> for clock set to UTC:

   ┌────────────────────┤ [!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│ System clocks are generally set to Coordinated Universal Time (UTC).  │
  ││ The operating system uses your time zone to convert system time into  │
  ││ local time. This is recommended unless you also use another operating │
  ││ system that expects the clock to be set to local time.                │
  ││                                                                       │
  ││ Is the system clock set to UTC?                                       │
  └│                                                                       │
   │     <Go Back>                                       <Yes>    <No>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Select "<Go Back> at the end of the installation:

   ┌───────────────────┤ [!!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│                         Installation complete                         │
  ││ Installation is complete, so it is time to boot into your new system. │
  ││ Make sure to remove the installation media (CD-ROM, floppies), so     │
  ││ that you boot into the new system rather than restarting the          │
  ││ installation.                                                         │
  ││                                                                       │
  └│     <Go Back>                                          <Continue>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Select "execute a shell":

             ┌─────────┤ [!] Debian installer main menu ├─────────┐
             │                                                    │
             │ Choose the next step in the install process:       │
             │                                                    │
             │   Set up users and passwords                       │
             │   Configure the clock                          ▒   │
             │   Detect disks                                 ▒   │
             │   Partition disks                              ▒   │
             │   Install the base system                      ▒   │
             │   Configure the package manager                ▒   │
             │   Select and install software                  ▒   │
             │   Install the GRUB boot loader on a hard disk  ▒   │
             │   Install the LILO boot loader on a hard disk  ▒   │
             │   Continue without boot loader                 ▒   │
             │   Finish the installation                      ▒   │
             │   Change debconf priority                      ▒   │
             │   Save debug logs                                  │
             │   Execute a shell                              ▒   │
             │   Abort the installation                           │
             │                                                    │
             └────────────────────────────────────────────────────┘

Perform the following at the shell prompt:

chroot /target
apt-get install -y pv-grub-menu

If you made a separate boot partition in the "Partition disks section", for example:

  │       Virtual disk 1 (xvda) - 3.2 GB Xen Virtual Block Device  ▒        │
  │       >     #1  primary  126.9 MB    f  ext4    /boot                   │
  │       >     #3  primary    2.9 GB    f  ext4    /              ▒        │
  │       >     #5  logical  184.5 MB    F  swap    swap           ▒        │

Then perform the following step before leaving the chroot:

cd /boot
ln -s . boot

Finally type 'exit' until you leave the shell and then select "Finish the installation" , this time selecting " <Continue>" at:

   ┌───────────────────┤ [!!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│                         Installation complete                         │
  ││ Installation is complete, so it is time to boot into your new system. │
  ││ Make sure to remove the installation media (CD-ROM, floppies), so     │
  ││ that you boot into the new system rather than restarting the          │
  ││ installation.                                                         │
  ││                                                                       │
  └│     <Go Back>                                          <Continue>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘