I'm encountering a few problems while trying to come up with a 'cut down' Ubuntu install CD, and was wondering if anyone had any<br>
solutions/suggestions.<br>
<br>
The instructions found at
<a href="https://wiki.ubuntu.com/InstallCDCustomizationHowTo">https://wiki.ubuntu.com/InstallCDCustomizationHowTo</a> don't seem to
contain quite enough information to get everything working correctly,
unfortunately.<br>
<br>
I manage to get through to the installation phase. At around 70% of the
way through the installation process, 'installing intrd-tools'
terminates with an error. Looking through /var/log/* indicates that an
error occurred in the 'initramfs-tools' installation process.<br>
<br>
I suspect the apt-ftparchive step, in conjunction with the package signing process.<br>
<br>
The attached script demonstrates the problem..<br>
Requirements:<br>
* A breezy install<br>
* A net connection, to grab the ubuntu-keyring source<br>
* breezy install ISO<br>
* gpg<br>
* qemu, to test the resulting install.<br>
* 6 gig of free space (in /tmp by default), for a temporary qemu
install file, the destination CD iso image, and an extracted/modified
copy of the CD<br>
* sudo password to mount the CD as a loopback device (and unmount).<br>
<br>
Modify the BASEDIR / CDIMAGE variables in the script, as appropriate. (NOTE: The signing passphrase is 'installtest')<br>
<br>
On install inside qemu, feel free to use a dummy IP address/config.<br>
<br>
The script will:<br>
* Generate a temporary gpg key for you<br>
* Grab the ubuntu-keyring source<br>
* Rebuild the package, signed with the temporary signing key.<br>
<br>
The error returned once ubuntu gets into the installation phase, will be:<br>
"Unable to install initrd-tools..<br>
An error was returned while trying to install the initrd-tools<br>
package onto the target system."<br>
<br>
Any assistance would be appreciated.<br>
Once I get everything working, I'll modify the InstallCDCustomizationHowTo wiki page appropriately.<br>
<br>
Regards,<br>
<br>
Leigh.<br>