Changes between Version 23 and Version 24 of Documentation/SupportedImages/BuildingBaselineImage


Ignore:
Timestamp:
May 2, 2013, 12:45:02 AM (12 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/SupportedImages/BuildingBaselineImage

    v23 v24  
    102102    ln -s /usr/bin/lsusb /sbin/lsusb
    103103    }}}
    104  1. Switch to a swap file instead of swap partition:
    105     1. Make the file:
     104 1. Add the making a swap file [attachment:mkswap.sh script] to /etc/init.d
    106105    {{{
    107     dd if=/dev/zero of=/swapfile bs=1G count=2
    108     mkswap /swapfile
    109     chown root.root /swapfile
    110     chmod 0600 swapfile
    111     }}}
    112     1. Edit the fstab to make /swapfile the mounted swap device: Add this line:
    113     {{{
    114     /swapfile none            swap    sw              0       0
     106cd /etc/init.d/
     107wget http://www.orbit-lab.org/raw-attachment/wiki/Documentation/SupportedImages/BuildingBaselineImage/mkswap.sh
     108chmod +x mkswap.sh
     109update-rc.d mkswap.sh defaults 99
     110cd /
    115111    }}}
    116112 1. You may need to edit /etc/fstab to make sure that the mount point for / is /dev/sda1 (instead of the uuid), and edit
     
    118114
    119115=== OMF configuration ===
    120  1. To install the necessary packages from the mytestbed.net repository we need to first configure /etc/apt/sources.list . We will need only the precise repository.
    121 
     116 1. To install the necessary packages from the mytestbed.net repository we need to first configure /etc/apt/sources.list . We will need only the precise repository. Edit the /etc/apt/sources.list
     117add the following line.
     118    {{{
     119deb http://pkg.mytestbed.net/ubuntu precise/
     120    }}}
    122121 1. Add the following packages and files
    123122    {{{
     
    128127    }}}
    129128
    130 === Final Steps ====
     129=== Final Steps ===
    131130 1. Run the prepare [attachment:prepare.sh file]
     131    {{{
     132cd /root
     133wget http://www.orbit-lab.org/raw-attachment/wiki/Documentation/SupportedImages/BuildingBaselineImage/prepare.sh
     134chmod +x prepare.sh
     135./prepare.sh
     136    }}}
    132137
    133 ----
    134 === Ubuntu 12.04 ===
    135 
    136 Installing Ubuntu 12.04 with the default installation media fails because the prepackaged kernel requires PAE suppport. PAE is an memory addressing scheme that allows 32 CPUs to access more than 4GB of ram. The Via C3 processors don't support this feature. Documented [http://en.wikipedia.org/wiki/VIA_C3 here].  To resolve this a work around is documented [http://www.webupd8.org/2012/05/how-to-install-ubuntu-1204-on-non-pae.html here] and [http://askubuntu.com/questions/117744/how-can-i-install-12-04-on-a-non-pae-cpu-error-kernel-requires-features-not-p here]. The crux of their recommendation is to use the netbook mini.iso (Downloadable [http://www.archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/netboot/non-pae/ here]) installer (Which actually has nothing to do with netbooks as it is entirely capable of download the full desktop install) to do the installation. This installer uses the non-pae kernel (vmlinuz-3.2.0-27-generic) and does successfully install. The default install sets the quiet and splash kernel flags which may make it seem like the install failed.
    137 
    138 Mostly I've followed the directions for 11.10, however:
    139  1. When installing the oml libraries, I ran into this error:
    140     {{{
    141 The following packages have unmet dependencies:
    142  oml2-gpslogger : Depends: libgps19 (>= 2.90~svn6694) but it is not installable
    143 E: Unable to correct problems, you have held broken packages.
    144     }}}
    145     For now, I'm just going to skip that package.
    146  1. For now I'm also skipping the
    147     {{{
    148 mv /var/lib/dhcp /var/lib/dhcp3
    149     }}}
    150     step, just in case it's no longer needed. If it is I will make a symlink instead. Still commented the send host name line however.
    151 
    152 
    153 === FIX ME ===
    154 
    155