/srv/irclogs.ubuntu.com/2012/11/17/#ubuntu-installer.txt

smartboyhwcjwatson, are you off today? I might propose another change......08:56
cjwatsonsmartboyhw: feel free to propose it, but it's Saturday, I'm sure pestering me about it can wait until it isn't the weekend?09:28
smartboyhwcjwatson or others: Please pay sometime to look into https://code.launchpad.net/~smartboyhw/wubi/bug-1080090/+merge/13477615:23
ynnivDoes anyone have a working preseed for a distro served by old-releases.ubuntu.com?22:32
ynnivI am trying to preseed ubuntu 7.10, but debconf seems to ignore "choose-mirror-bin mirror/http/hostname string old-releases.ubuntu.com"22:32
cjwatsonynniv: "choose-mirror-bin" should be "d-i" there, but that error wouldn't break installation, just leave some cruft on the installed system22:51
cjwatsonynniv: two possible things you might have done wrong:22:51
cjwatsonynniv: 1) you might be missing "d-i mirror/country string enter information manually" (it's "manual" in >=8.04, but 7.10 required the cumbersome "enter information manually")22:52
cjwatsonynniv: 2) I was going to have another possibility here but I've realised it's a non-issue :)22:54
ynnivhah. ok, does https://gist.github.com/4101032 look like an appropriate chunk of preseed?22:54
cjwatsonseems roughly plausible22:57
cjwatsonif it still doesn't work, extract and post the syslog after an installation attempt with the DEBCONF_DEBUG=developer boot parameter22:57
ynnivI'll give it a whirl. That was extremely helpful, thank you.23:00
cjwatsonyou're welcome23:00
bgAfternoon, folks. I'm trying to track down anything related to the build process for the netboot kernel and initrd. Anyone know if its documented anywhere?23:19
cjwatsonbg: It's all in the debian-installer source package23:20
cjwatsonNote that the kernel is just the regular kernel23:20
cjwatsonBuilding the debian-installer source package in the standard way produces a variety of installer images including the netboot ones23:21
bgAwesome, thanks for the lead.23:21
cjwatsonYou can type 'make' in the build/ subdirectory therein to be offered a list of make targets that build single images rather than the whole lot (which takes a while)23:22
bgI'm knee deep in trying to make network installs work with 12.04 on UEFI hardware. It is a very dark place.23:22
cjwatsonYeah, there's little prospect of that yet.23:23
cjwatsonIt's not even clear that it works on 12.10; Steve tells me that he ran into some as-yet-undiagnosed bug in GRUB's tftp driver when he tried.23:23
bgI've got a flimsy setup that should work for our very limited deployment need, but it is not pretty.23:24
cjwatsonWhat boot loader are you using - or are you launching the kernel directly somehow?23:25
bgUEFI grabs iPXE over TFTP (for fancy menus, other OSes, etc). iPXE downloads a grub binary with an embedded kernel+initrd.23:26
bgUsing the casper vmlinuz and initrd gets me into a pretty functional state with console, but the netinst bits don't include the i915 driver, and vesafb doesn't work under UEFI23:27
cjwatsonRight, so you don't have to rely on GRUB's networking drivers, which in any case weren't anything like sufficient in 12.0423:29
bgEven in upstream, the efinet http and tftp stuff exhibits mysterious hangs when attempting to download a kernel/initrd23:30
cjwatsonIndeed, that was the bug I was alluding to above23:30
cjwatsonPerhaps try efifb rather than the i915 driver?  It's simpler23:30
bgThat's one of the things I'd like to try, but it's missing from the casper initrd so it brought me to the same conclusion: I need to build my own.23:32
bg(and that's underway! thanks again for the tip)23:32
cjwatsonYeah, though if you want netboot then surely you don't mean the casper initrd long-term?23:32
cjwatsonUnless you're netbooting the live image in which case the information above is inaccurate23:32
bgI was only toying with the casper bits because I knew they worked when installing from USB23:32
cjwatsonOK23:33
cjwatsonTo be clear, debian-installer builds the images in http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/23:33
cjwatson(among others)23:33
bgright, which is exactly the stuff we're using for vanilla PXE deployment23:35
bgthis EFI twist has been a big hurdle.23:35
cjwatsonTell me about it23:36
bgI'm curious to see how the quantal backport kernel could make things even more complicated! e.g. in 6 months when another round of new hardware shows up that requires 3.5, we'll somehow need to use the backport kernel to install 12.04.23:36
cjwatsonActually the next debian-installer image set in precise will include images built using the quantal kernel23:37
cjwatsonAs an option23:37
bgOh, that's good to hear23:37
cjwatsonIt's needed for all the secure boot stuff23:37
bgI'm plugging my ears on that topic. Things are complicated enough without introducing signing at this point.23:38
cjwatsonYeah, don't introduce it if you don't have to23:38
cjwatsonUnfortunately I only got to plug my ears for just so long23:39
bgHas the signing infra been a nightmare?23:39
cjwatsonModerately23:39
cjwatsonAnd of course new and exciting firmware bugs23:41
bgre: your comment before about the netboot kernel being standard, does it just reuse the -generic .config?23:44
cjwatsonIt literally copies the kernel23:45
cjwatsonNo point in us rebuilding it for the installer images23:45
cjwatsonAnd yeah, for amd64 it's the -generic kernel23:46
bgworks for me!23:46
cjwatsonYou might possibly find http://wiki.debian.org/DebianInstaller/Modify/CustomKernel helpful, though you'll need to substitute heavily for Ubuntu differences23:46
cjwatsonHopefully you don't actually need to rebuild the kernel and you can skip all that and the localudebs bits23:47
cjwatsonWell, providing that the kernel udebs include the modules you need23:47
cjwatsonIf not then you'll have to glue that in23:47
cjwatsonIn extremis there are various tricks in the d-i build system for adding individual files - see e.g. build/README23:48
cjwatsonFor a one-off that may be rather quicker23:49
cjwatsonAnyway, must go ...23:49
bgThanks so much for the help23:49
cjwatsonGood luck :-)23:49
bgFrankly, given how much cjwatson@ I see on bugs/lists, you're a machine.23:49
bgI'd be lying if I said I hadn't poked in here looking for you specifically.23:49
cjwatsonHeh, s/machine/insomniac/ ...23:52
infinitycjwatson: There's a difference?23:53
cjwatsonYou can switch machines off23:54
infinityI find a frying pan to the head can work wonders.23:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!