[13:46] <JHOSMAN> Hello, has anyone here worked with compiling Ubuntu ISO images with support UEFI? I tell you, I'm making an ISO Unattended Ubuntu, but I can not make it do the UEFI boot  in mode EFI active in bios, the iso says BosyBox and the install not running, in mode legacy run OK.
[13:59] <mdeslaur> JHOSMAN: this is a repo containing the tools that generate the official images, perhaps that can help: http://bazaar.launchpad.net/~ubuntu-cdimage/debian-cd/ubuntu/files
[13:59] <jalt> Hi, is there any better-maintained documentation about ubiquity than https://wiki.ubuntu.com/Ubiquity? More precisely documentation related to unattended/preseeded installs, and how to control which tasks/packages get installed?
[14:00] <xnox> jalt, one cannot controlled tasks/packages that get installed in ubiquity, as it is doing live-installer based installation and the squashfs is copied as a whole blob over to the installed system.
[14:01] <xnox> you want to use d-i, or use server.iso squashfs (as that only has base bootstrapped and nothing else)
[14:01] <xnox> or generate your own squashfs.
[14:01] <jalt> hmm i sort of knew that but I didn't realise the base squash-fs had ALL the packages
[14:01] <xnox> hence e.g. using xubuntu.iso one has xubuntu squashfs and all of it is copied over.
[14:01] <xnox> jalt, on a live cd -> yes it does.
[14:01] <xnox> cause the livecd environment is more or less what is copied onto target.
[14:01] <jalt> thanks for the quick response :)
[14:02] <xnox> (there is an overlayfs thin layer that differentiates base vs live; e.g. with default user setup)
[14:02] <xnox> that magic is done in casper
[14:03] <jalt> basically my goal was to get a preseeded install for a thinner xubuntu environement, something like xubuntu-core, but from the pristine official isos, i.e., no remastering
[14:13] <Sevio> jalt: the casper/filesystem.manifest-remove file may be useful to you for removing packages present on the live iso after installation, but to add stuff you'd have to remaster I think
[14:13] <jalt> is there any way to debug the install or check the post-install logs and see *exactly* which directives of the preseed file were executed vs. ignored? I know that netcfg, lvm/raid, pkgsel/tasksel and a few others are not honored by ubiquity, but I'd like to double check with the intention of trimming down the preseed file to make it easier to read and manage in the future.
[14:13] <Sevio> gtg
[14:13] <jalt> thanks Sevio
[14:14] <Sevio> got most of my info from here: http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/annotate/head:/doc/README
[14:33] <JHOSMAN> mdeslaur: This are my files: http://paste.ubuntu.com/23085214/
[14:33] <JHOSMAN> A normal iso says this: http://paste.ubuntu.com/23084984/ (from canonical)
[14:34] <JHOSMAN> My iso make unnatended says: http://paste.ubuntu.com/23084986/
[14:35] <xnox> jalt, ubiquity has support for lvm & crypto these days.
[14:36] <xnox> most things are ignored =) the things that are used, are around partman, user account setup, timezone/language selection, and minimal apt sources setup (with or without restricted extras)
[14:37] <jalt> perhaps I should have added that I already got it to "work" and now I was trying to fine tune it, but that is tough when the docs are so outdated and, well, plainly poorly undocumented to begin with
[14:38] <jalt> someone with wiki access should delete the whole thing and replace with this gem I found online: https://docs.google.com/document/d/1_4fDkd9TXQ0nUIL5Q-5W61TKrVpyS32x34GksL1uR8Q/edit?pref=2&pli=1#
[14:39] <xnox> which wiki?
[14:39] <jalt> all ubuntu wiki pages related to unattended installation ;)
[14:39] <xnox> haha
[14:40] <jalt> seriosuly, they are terribad, even for ubuntu standards.
[14:40] <jalt> and it's sad because stuff actually works
[14:40] <xnox> jalt, that google doc is very bad imho =) most people who use unattended desktop installs, use PXE / nfs boot of the live iso exported on the server. To reinstall thousands of desktops in one go, with preseeds fetched over the network.
[14:40] <xnox> that google doc doesn't work with secureboot uefi
[14:41] <xnox> and yes, it is possible to do unattended installs with desktop iso without remastering it
[14:41] <JHOSMAN> jalt: this documentation running?
[14:41] <jalt> almost jhosman. i didn't remaster the cd, and i am using a slightly different preseed file, but i got the boot parameters from it
[14:44] <jalt> xnox, i didn't want to depend on infrastructre to have pxe/tftp/nsf (and then maintain it). as for uefi and secureboot, burn it with fire. besides, if i was going to do a true mass deployment I'd use cloning software, or MaaS - if it ever gets good.
[14:45] <xnox> jalt, are you after something like "dd .iso to usb-stick; but append this pressed to it"
[14:45] <jalt> yep xnox
[14:45] <xnox> "boot into unattended install"?
[14:45] <jalt> precisely that
[14:45] <jalt> sadly i know i will need to remaster the iso at some point
[14:45] <jalt> or always add the boot params, which is annoying
[14:46] <xnox> i thought at one point we were talking about discoving pressed file on external media. E.g. boot official iso with a pressed on a usb stick plugged in.
[14:46] <xnox> kind of like cloud-init metadata style.
[14:46] <jalt> is that even possible? lol
[14:46] <JHOSMAN> I will use the steps of the document and emulate a machine with UEFI, I will be telling how it goes'll use Ubuntu 14.04 32 bits.
[14:46] <xnox> i386 install media has no support for uefi.
[14:48] <JHOSMAN> :( really=
[14:50] <jalt> i think fedora was going places with 32-bit UEFI, but I haven't followed that too closely. they wanted to get the cheap atom tables working, and they all have 64 bit processors but 32 bit UEFI, so it was very messy.
[14:50] <jalt> *atom tablets
[14:50] <xnox> in practice all of i386 uefi boards, support or have 64-bit cpus.
[14:51] <xnox> and they have gave up on 32bit uefi, and newer boards ship with 64-bit uefi, or are reflashable to 64-bit uefi.
[14:51] <xnox> with a bit of hacking one can install i386 system, and 32 or 64 bit grub-efi support. but it's not trivial.
[14:51] <jalt> xnox: can you tell me more about booting from an official iso and loading preseed files from a usb drive? or optimally dd an official iso to an usb and magically modify it via normal mounted fs operations?
[14:53] <xnox> neither is supported out of the box. I was talking hypothetically.
[14:53] <jalt> alas :(
[14:53] <xnox> e.g. preceed.cfg is loaded by default, but that means in d-i case modifying the initrd, or the .iso. .iso fs is iso9660 thing so even after dd to a usb disk it's not modifyable.
[14:54] <jalt> yep
[14:54] <xnox> usb-creator creates a modifyable bootable usb stick, but that doesn't have uefi support, but could support custom preseed.
[14:54] <jalt> right now i am loading the pressed from http url via modifying boot parameters on the dd'ed usb
[14:54] <xnox> we do automount certain usb disk-drives -> e.g. disk-inject-drives, but then one would still need to change bootprompt to load preseed file from tehre.
[14:54] <jalt> but of course that is not very practical
[14:54] <jalt> yep, that's what i am doing
[14:54] <jalt> for testing
[14:55] <xnox> modifying boot parameters on the dd'ed usb stick yeah that's the closest.
[14:55] <xnox> well, i think one can "update" iso9660 hopefully without destroying uefi support with a pressed.cfg file.
[14:55]  * xnox ponders about that for a second.
[14:56] <jalt> at that point you are better off replicating the official iso release procedure, like mdeslaur suggested
[14:56] <jalt> and simply replace the boot meny entries file and add a new custom.preseed file
[14:59] <JHOSMAN> jalt: Then I try to make the process with Ubuntu 14.04 64 bit with your documentation, and that would be fully desatentida installation and support UEFI right?
[14:59] <jalt> i don't know about uefi, but works with bios/legacy.
[15:01] <jalt> here's a similar guide: http://blog.utrescu.cat/Xubuntu_unattended/ it's in catalan, but it's very recent.
[15:03] <jalt> the magic ought to be on the parameters to burn the iso, i think. especially if you also need it to be hybrid (so it can be dd'ed into a usb pendrive)
[15:06] <JHOSMAN> what is the name of the keyboard Spanish / LatinAmerica?
[15:14] <jalt> JHOSMAN: is it not es-LA?
[15:15] <JHOSMAN> i dont know :(
[15:15] <JHOSMAN> :P jeje
[15:16] <JHOSMAN> in the night i try make a new iso file whit your Google Document.
[15:16] <JHOSMAN> But also what worries me is not work with UEFI :(
[15:21] <jalt> JHOSMAN, from google: http://askubuntu.com/questions/457528/how-do-i-create-an-efi-bootable-iso-of-a-customized-version-of-ubuntu
[15:21] <jalt> if you don't need iso-hybrid to boot from usb, those instructions apparently work (for 64 bit at least)
[15:23] <JHOSMAN> jalt: Last night I followed the same guide and why I come here, it did not work, did not start the installation emo do UEFI.
[15:23] <JHOSMAN> i use Ubuntu 14.04 x64 bits
[15:24] <jalt> sorry :( but i really have no experience with UEFI
[15:24] <JHOSMAN> example mkisofs no supported now, it's very older!
[15:24] <JHOSMAN> i use other software relationated of mkisofs
[16:57] <JHOSMAN> it's posible only enable text mode installer?
[17:51] <jalt> JHOSMAN: not from any of the desktop isos
[17:51] <JHOSMAN> ok
[17:52] <jalt> you need to use Ubuntu Server iso or mini.iso, but i can share my experiences with them
[17:52] <jalt> Server ISO uses pure d-i, so preseeding worked immediately
[17:52] <jalt> but i could not get xubuntu-desktop task to work (everything else was working)
[17:53] <jalt> mini.iso I kept overwriting the usdrive itself, so I gave up after a while
[17:53] <jalt> for either of them to work, you need auto=true priority=critical on the boot options.
[18:05] <JHOSMAN> mini iso no have desktop?
[18:09] <jalt> no, it's only 50MB and you need to download all packages from the repos.