/srv/irclogs.ubuntu.com/2013/05/23/#ubuntu-installer.txt

maxbHello, can anyone suggest further reading after https://wiki.ubuntu.com/UbiquityAutomation for more details?07:24
mattcenGrueMaster: Thanks for your input earlier, but unfortunately my preseed already has the two lines you suggested. Back to square one.07:29
mattcenmaxb: Assuming you read the debian-installer preseed guide, I'd imagine that'd be all you need? I don't use ubiquity so can't be of any further help.07:30
maxbThe wiki page is a little thin on the details. I guess I can always go read the ubiquity source code07:31
xnoxmaxb: well, we embed d-i, so some d-i things work. But most plugins, self-evidently in the source code read values from debconf.08:12
xnoxmaxb, what are you after?08:12
maxbWell, apt sources.list customizations first08:13
maxbI could just go straight to the source code, I just wanted to double check there wasn't any more detailed documentation first08:15
xnoxmaxb: there is this: http://www.debian.org/releases/stable/i386/apb.html.en but note that some things are not done via d-i, but re-implemented/adjusted to use squashfs installation.08:17
xnoxmaxb: these should work https://help.ubuntu.com/13.04/installation-guide/i386/apbs04.html#preseed-apt08:18
maxbYeah, I've worked with d-i preseeding before, it's the differences from that that I'm most interested in08:18
xnoxmaxb: well see configure_apt in scripts/plugininstall.py & there are also target_hooks that can be run.08:24
maxbok, thanks for the pointer08:25
Peace-guys i have disabled secure boot uefi and i have activated legacy boot09:18
Peace-i was doing the partitions09:18
Peace-and i got09:18
Peace-http://wstaw.org/m/2013/05/23/plasma-desktopaL6776.png09:18
Peace-so now what should i do? without ruin windows stuff09:19
cjwatsonCreate that separate partition09:20
Peace-ok i will try09:20
cjwatsonThe dialog is obscuring enough of your partition table that I can't see whether you have space for it without resizing/deleting something else09:20
Peace-ok new screenshot09:21
peace-vaiocjwatson: http://wstaw.org/m/2013/05/23/plasma-desktopOG6776.png09:22
cjwatsonYeah, you'll have to resize something to make room09:23
peace-vaiook09:23
cjwatsonAs the dialog says, it only needs to be 1MB09:23
cjwatsonWell, you might be able to squeeze it in between sda10 and sda709:23
Peace-cjwatson: but i need to use ext4 ? point of mount ?09:24
cjwatsonI forget exactly how the KDE frontend displays it, but hopefully you'll see a "Use as" dropdown with "Reserved BIOS boot area" as one of the options, as per the dialog09:24
cjwatsonNo, follow the instructions on screen :)09:24
cjwatsonDon't make things up09:24
cjwatson"Reserved BIOS boot area"09:24
cjwatsonIf it doesn't say that (which would be a bug), look for "bios_grub"09:25
Peace-ok ok i found09:25
Peace-:D09:25
Peace-cjwatson: thank you very much09:28
cjwatsonnp09:28
Peace-cjwatson: btw if i have uefi disabled windows doesnt' boot09:33
Peace-i hope that grub will fix that for me :D09:33
cjwatsonyou can't just rip uefi out from under Windows 8 and expect it to work09:33
cjwatsongrub can't fix that for you09:34
Peace-xD09:34
cjwatson(never mind that grub in raring has some problems chain-loading Windows 8 in uefi mode, but that's a different matter ...)09:34
Peace-so i need to enable it to choose windows ?09:34
cjwatsonyes09:34
Peace-oh ok09:34
cjwatsonassuming it's Windows 8 anyway09:35
cjwatsonbut it probably is on a UEFI machine09:35
Peace-i asked just to know cuz windows 8 is a crap system09:35
Peace-i don't think i will boot to windows so often09:35
cjwatsonyou seem to have made some trouble for yourself by disabling uefi entirely.  why not just disable the secure boot part, assuming that was the bit that really bothered you?09:35
cjwatson(though it's probably more trouble now to go back and redo it ...)09:36
Peace-cjwatson: i was trying to boot insto kubuntu09:37
cjwatsonnote that there are systems that have trouble booting OSes from GPT in BIOS mode - hopefully yours isn't one, but they do exist; the ones I've seen can still boot but just won't do it automatically09:37
cjwatsonah, granted, we still need to fix Kubuntu for UEFI.  saucy might be happier there, needs testing09:37
Peace-so it didn't work with uefi , disabled via bios => switched to usb legacy somethin like that and it worked09:38
cjwatsonthis came up at UDS.  it's a little mysterious why it failed; as far as I can see the only thing missing for Kubuntu was the signed kernel09:39
Peace-cjwatson: anyway  i did 4 restoring dvd for windows ...09:39
cjwatsonbut that isn't supposed to be a failure09:39
maxbI've been attempting to use qemu to test an ubiquity installation, but it seems like qemu's SDL display doesn't want to display the graphical environment. Is this a known issue?11:43
xnoxmaxb: try a different graphics? -vga should work correctly.11:44
maxb"-vga std" /11:45
maxb"-vga std" ?11:45
maxbDone of the documented -vga options seem to work.11:46
maxbIt works through the syslinux part of the boot, but as soon as it tries to boot linux, I just end up with an unresponsive console with a cursor flashing. If I wait a bit, the window resizes, but it still displays just a text mode cursor11:48
maxbI suppose VNC might work, though that requires running a separate client - more difficult to launch from a script11:48
=== kentb-out is now known as kentb
GrueMastermattcen: Morning.  I'll look and see what I can come up with.  One thing you can do is do a manual install, then get the d-i settings used from a d-i dump, although it is quite ugly.  Lot of extra "stuff".15:03
GrueMasterAlthough someone with inside knowledge (aka cjwatson) might know more and have better answers.15:05
cjwatsonPbas1: Hm, this really isn't very clear ...15:50
cjwatsonLooks like netcfg is exiting non-zero for some reason, but I'll have to insert a bit more instrumentation to see why15:51
Pbas1K thxs a lot (I spend 2 week to try to resolve that ... without success).15:55
Pbas1but the install cd must working because I generate a correct one but ... I can't remember how15:57
Pbas1as soon  I generate Packages.gz and Release it doesn't work anymore.15:57
cjwatsonYeah, I'm still looking15:57
cjwatsonCertainly doesn't seem to be doing much at the load-cdrom stage, which is suspicious15:59
cjwatsonPbas1: You seem to be missing a bunch of the stuff I'd expect to be here; for example you have no bootstrap-base package listed16:04
cjwatsonOh16:04
Pbas1debootstrap?16:04
cjwatsonYes, you have completely fouled this up I'm afraid :-)16:05
cjwatson/dists/lucid/main/binary-i386/Packages* lists a load of installer modules (*.udeb)16:05
cjwatsonAll the *.udeb entries must be in /dists/lucid/main/debian-installer/binary-i386/Packages*16:05
cjwatsonSo you need to look at why whatever you did to regenerate the Packages files got that wrong16:06
cjwatsonThe way it is, basically half the installer's brain is missing16:06
Pbas1My iso contain /cdrom/pool/main/d/debootstrap/debootstrap-udeb_1.0.20ubuntu1.4_all.udeb like the ubuntu server CD16:11
Pbas1and I see udeb file in Package*16:12
ogra_in /dists/lucid/main/debian-installer/binary-i386/  ? or in dists/lucid/main/binary-i386/ ?16:12
ogra_:)16:12
ogra_you want the former16:13
ogra_(or d-i does)16:13
Pbas1both16:13
Pbas1I agree :-)16:13
cjwatsonPbas1: The contents of pool/ are not what I'm talking about16:14
cjwatsonPbas1: You have some udebs referenced in /dists/lucid/main/debian-installer/binary-i386/Packages, but not all.  I don't know why.16:14
cjwatsonPbas1: A lot of important ones are in dists/lucid/main/binary-i386/Packages instead.16:14
cjwatsonPbas1: And that's your problem.16:15
Pbas1Ok then I can try to correct with apt-ftparchive from the top level of pool16:16
cjwatsonHappy to look at your apt-ftparchive configuration.16:16
cjwatsonIf you run it with the same configuration a second time it'll presumably still just get it wrong in the same way.16:16
Pbas1yes but my packages* will list all my udeb (my kernel 3 udeb and the old one)16:18
Pbas1I don't use override option with apt-ftparchive I just lanch this command:16:18
Pbas1apt-ftparchive packages ./pool/main/ |gzip > dists/stable/main/binary-i386/Packages.gz16:19
Pbas1apt-ftparchive packages ./pool/main/debian-installer/ |gzip > dists/stable/main/debian-installer/binary-i386/Packages.gz16:19
cjwatsonYeah, that's completely wrong.16:19
Pbas1no surprise16:19
cjwatsonThere's no need to put your udebs in their own directory in the pool, and you've confused yourself badly by doing so.16:20
Pbas1I separate the installer kernel3'udeb files that I generate.16:20
cjwatsonI understand what you've done, but my point stands.16:21
Pbas1I will copy all my udeb in pool/main then16:21
cjwatsonI don't think it's possible to do this correctly with apt-ftparchive's "packages" subcommand.16:21
cjwatsonOr, well, you could but you'd have to filter the resulting files afterwards.16:22
cjwatsonBetter to set up a configuration file and use "apt-ftparchive generate".16:22
cjwatsonThen you can use Packages::Extensions entries in the appropriate sections to select .debs or .udebs.16:22
Pbas1I tried this option but I failed with override option (that I don't understand)16:23
cjwatsonIt could use examples, really.  Let me try to write you something more correct16:25
Pbas1Thxs I tried without success with this doc: https://help.ubuntu.com/community/InstallCDCustomization#Building_the_repository_with_apt-ftparchive16:26
cjwatsonYeah, that was what I was about to recommend, actually.  Please tell me *specifically* (with a transcript) what went wrong when you tried that16:28
Pbas1the result was wrong :-( : the same thing =< the installer stop after the network config.16:29
Pbas1the override file didn't contain 3.0 kernel ref anyway16:30
cjwatsonShouldn't need to16:30
cjwatsonCan you please prepare a set of configuration files according to that doc, and send me a tarball of them?  What you're trying to do here is get me to the point where I can reproduce your problem.16:31
cjwatsonBecause I'll probably be able to find a small tweak that *does* work.16:31
cjwatsonBut it would take me quite a while to write it all from scratch, and it sounds like you've tried most of it already ...16:31
Pbas1yes but I deleted that: my forge is a virtual machine...16:32
Pbas1but I can begin that again.16:32
cjwatsonThanks.  The configuration files in that doc look roughly right to me, and they'd be where I'd begin to save time in any case16:33
cjwatsonThere are various subtle issues that can arise from leaving out the override files for things in our archive (although as I say they shouldn't make much difference for the kernel .udebs you're adding), so I wouldn't like to write something that omits them.16:34
Pbas1all my new udeb are in pool/main/debian-installer/16:36
cjwatsonIrrelevant16:36
cjwatsonThe structure of the pool is not supposed to matter16:36
cjwatsonNot at this level, anyway16:37
cjwatsonIt only matters because of the particular apt-ftparchive commands you're using - which are problematic in any event, so it's better to come up with something correct16:37
cjwatsonLike I say, I'm happy to help given a starting point, just don't have time to prepare the entire thing from scratch16:37
Pbas1I didn't know if there are predefined structure16:38
Pbas1K I will prepare a nice tarball16:38
cjwatsonThe dists tree has structure that matters, but in general pool is only supposed to be inspected by way of the Filename references in Packages/Sources files16:38
maxbIs it possible to disable the initial "press a key" boot screen with the (choices) = (keyboard) icon, and go straight to the syslinux menu? (perhaps by changing syslinux.cfg?)17:13
cjwatsonThat's governed by the hidden-timeout setting in gfxboot.cfg17:15
maxbthanks :-)17:15
maxbHrm, I'm trying to enable oem-config by preseeding oem-config/enable to true, and it *is* causing the installer to mention OEM mode in the window title, but it's not actually leaving the new system set up for booting into the temporary OEM user17:20
cjwatsonToday's image?17:21
maxbcjwatson: raring release21:31
maxbSo my problem with oem-config seems to have been that I confused it by preseeding a user name22:33
maxbExcept without preseeding a user name, I seem to be unable to convince it to skip displaying that page of the installer prompts22:34
=== kentb is now known as kentb-out
maxbHrm. It seems if I preseed them to the same values oem-config-udeb sets anyway, it skips the page22:44
maxbArgh. It looks like a side effect of bug 1167622 is that raring installation media is not reliably usable for EFI installations23:07
ubot2Launchpad bug 1167622 in linux (Ubuntu) "Cannot change EFI variables using efibootmgr (raring regression)" [Medium,Confirmed] https://launchpad.net/bugs/116762223:07
maxbIs there any Ubiquity way to install extra packages? An analogue to pkgsel/include ?23:35

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