-
Notifications
You must be signed in to change notification settings - Fork 3
Preparing the cmdr OS
Download Ubuntu Server 12.04.2 LTS x86 or x86_64 depending on your hardware needs.
(Note: There is a 12.04.3/4 but the kernel installed with this version caused problems with our Mimo Touch2 touchscreen. Until a solution is found, we recommend using 12.04.2)
Now mount the ISO with the following commands
mkdir ubuntu-12.04-mnt
sudo mount -o loop ubuntu-12.04.iso ubuntu-12.04-mnt
cp -r ubuntu-12.04-mnt ubuntu-12.04
where ubuntu-12.04.iso is the name of the image file. Now we need to copy the configuration files so that chef and other dependencies will be pre-installed and so the configuration can occur without the user needing to do anything. The cfg files can be found in the preseed folder of cmdr.
mv isolinux.cfg ubuntu-12.04/isolinux/
mv preseed.cfg ubuntu-12.04/preseed/
And now it is time to repackage this as an ISO you can burn to disc or flash drive.
cd ubuntu-12.04
mkisofs -D -r -V "ubuntu-auto" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ~/autoinstall.iso .
Now, inside your home directory there will be an iso file, autoinstall.iso that you can burn to a USB drive to install the correct OS for cmdr automatically. Startup Disk Creator from Ubuntu does this perfectly. Now, after burning this image to a flash drive, with whatever of the many unix tools you choose, insert this into the device and install this operating system.
If you are preparing a USB, you can just burn the Ubuntu Server image on to the USB with Startup Disk Creator, then manually drag and drop preseed.cfg and txt.cfg into their respective folders manually.