[13:46] 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] 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] 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] 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] you want to use d-i, or use server.iso squashfs (as that only has base bootstrapped and nothing else) [14:01] or generate your own squashfs. [14:01] hmm i sort of knew that but I didn't realise the base squash-fs had ALL the packages [14:01] hence e.g. using xubuntu.iso one has xubuntu squashfs and all of it is copied over. [14:01] jalt, on a live cd -> yes it does. [14:01] cause the livecd environment is more or less what is copied onto target. [14:01] thanks for the quick response :) [14:02] (there is an overlayfs thin layer that differentiates base vs live; e.g. with default user setup) [14:02] that magic is done in casper [14:03] 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] 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] 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] gtg [14:13] thanks Sevio [14:14] got most of my info from here: http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/annotate/head:/doc/README [14:33] mdeslaur: This are my files: http://paste.ubuntu.com/23085214/ [14:33] A normal iso says this: http://paste.ubuntu.com/23084984/ (from canonical) [14:34] My iso make unnatended says: http://paste.ubuntu.com/23084986/ [14:35] jalt, ubiquity has support for lvm & crypto these days. [14:36] 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] 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] 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] which wiki? [14:39] all ubuntu wiki pages related to unattended installation ;) [14:39] haha [14:40] seriosuly, they are terribad, even for ubuntu standards. [14:40] and it's sad because stuff actually works [14:40] 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] that google doc doesn't work with secureboot uefi [14:41] and yes, it is possible to do unattended installs with desktop iso without remastering it [14:41] jalt: this documentation running? [14:41] 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] 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] jalt, are you after something like "dd .iso to usb-stick; but append this pressed to it" [14:45] yep xnox [14:45] "boot into unattended install"? [14:45] precisely that [14:45] sadly i know i will need to remaster the iso at some point [14:45] or always add the boot params, which is annoying [14:46] 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] kind of like cloud-init metadata style. [14:46] is that even possible? lol [14:46] 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] i386 install media has no support for uefi. [14:48] :( really= [14:50] 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] *atom tablets [14:50] in practice all of i386 uefi boards, support or have 64-bit cpus. [14:51] 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] 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] 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] neither is supported out of the box. I was talking hypothetically. [14:53] alas :( [14:53] 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] yep [14:54] usb-creator creates a modifyable bootable usb stick, but that doesn't have uefi support, but could support custom preseed. [14:54] right now i am loading the pressed from http url via modifying boot parameters on the dd'ed usb [14:54] 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] but of course that is not very practical [14:54] yep, that's what i am doing [14:54] for testing [14:55] modifying boot parameters on the dd'ed usb stick yeah that's the closest. [14:55] 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] at that point you are better off replicating the official iso release procedure, like mdeslaur suggested [14:56] and simply replace the boot meny entries file and add a new custom.preseed file [14:59] 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] i don't know about uefi, but works with bios/legacy. [15:01] here's a similar guide: http://blog.utrescu.cat/Xubuntu_unattended/ it's in catalan, but it's very recent. [15:03] 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] what is the name of the keyboard Spanish / LatinAmerica? [15:14] JHOSMAN: is it not es-LA? [15:15] i dont know :( [15:15] :P jeje [15:16] in the night i try make a new iso file whit your Google Document. [15:16] But also what worries me is not work with UEFI :( [15:21] JHOSMAN, from google: http://askubuntu.com/questions/457528/how-do-i-create-an-efi-bootable-iso-of-a-customized-version-of-ubuntu [15:21] if you don't need iso-hybrid to boot from usb, those instructions apparently work (for 64 bit at least) [15:23] 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] i use Ubuntu 14.04 x64 bits [15:24] sorry :( but i really have no experience with UEFI [15:24] example mkisofs no supported now, it's very older! [15:24] i use other software relationated of mkisofs === davmor2_ is now known as davmor2 [16:57] it's posible only enable text mode installer? [17:51] JHOSMAN: not from any of the desktop isos [17:51] ok [17:52] you need to use Ubuntu Server iso or mini.iso, but i can share my experiences with them [17:52] Server ISO uses pure d-i, so preseeding worked immediately [17:52] but i could not get xubuntu-desktop task to work (everything else was working) [17:53] mini.iso I kept overwriting the usdrive itself, so I gave up after a while [17:53] for either of them to work, you need auto=true priority=critical on the boot options. [18:05] mini iso no have desktop? [18:09] no, it's only 50MB and you need to download all packages from the repos. === sakrecoer is now known as sakrecoer_