Changes between Version 23 and Version 24 of Documentation/SupportedImages/BuildingBaselineImage
- Timestamp:
- May 2, 2013, 12:45:02 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/SupportedImages/BuildingBaselineImage
v23 v24 102 102 ln -s /usr/bin/lsusb /sbin/lsusb 103 103 }}} 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 106 105 {{{ 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 106 cd /etc/init.d/ 107 wget http://www.orbit-lab.org/raw-attachment/wiki/Documentation/SupportedImages/BuildingBaselineImage/mkswap.sh 108 chmod +x mkswap.sh 109 update-rc.d mkswap.sh defaults 99 110 cd / 115 111 }}} 116 112 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 … … 118 114 119 115 === 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 117 add the following line. 118 {{{ 119 deb http://pkg.mytestbed.net/ubuntu precise/ 120 }}} 122 121 1. Add the following packages and files 123 122 {{{ … … 128 127 }}} 129 128 130 === Final Steps === =129 === Final Steps === 131 130 1. Run the prepare [attachment:prepare.sh file] 131 {{{ 132 cd /root 133 wget http://www.orbit-lab.org/raw-attachment/wiki/Documentation/SupportedImages/BuildingBaselineImage/prepare.sh 134 chmod +x prepare.sh 135 ./prepare.sh 136 }}} 132 137 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 installable143 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 the147 {{{148 mv /var/lib/dhcp /var/lib/dhcp3149 }}}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