/srv/irclogs.ubuntu.com/2012/05/25/#ubuntu-installer.txt

cjwatsonxnox: debconf is certainly not optional for anything remotely related to the installer; it's a core facility01:25
cjwatsonHowever, debconf-set is not part of debconf :-)01:25
CIA-62ubiquity: cjwatson * r5485 trunk/debian/ (changelog ubiquity.install-any): Install debconf-set from debian-installer-utils, useful for preseeding.01:27
xnoxcjwatson: aha =)07:52
xnoxmpt: https://wiki.ubuntu.com/Ubiquity/AdvancedPartitioningSchemes08:49
xnoxmpt: https://picasaweb.google.com/105922848292507689403/Beginning?authuser=0&feat=directlink08:49
xnoxmpt: https://picasaweb.google.com/105922848292507689403/SingleDiskStandardInstall?authuser=0&feat=directlink08:49
xnoxplease note this is just the first slideshow: the beginning steps & typical full-disk install08:50
xnoxthe screenshots do not always show every single click/tab, usually the default highlight is: "save option" (no, cancel, back, etc), simply the top option, rarely something useful (e.g. default to english keyboard).08:51
mptxnox, great, thanks. Will you be around in 3 hours? What time zone are you in?09:38
xnoxmpt: I am UK based. I will be around in 3 hours.09:38
xnoxmpt: I have a meeting at 15:00 UK time (GMT+1 right now?!)09:39
mptok09:39
xnoxmpt: I still need to do slideshows for the other cases. Were the first two ok?09:40
xnoxas in would you still prefer video?09:40
mptxnox, I don't see Raid or LVM in either of those galleries12:38
mptxnox, yes, slideshows would be fine12:38
xnoxmpt: I have added 'guided lvm' & crypt slideshows to the https://wiki.ubuntu.com/Ubiquity/AdvancedPartitioningSchemes12:39
* mpt wonders wtf "relidaving" means in "Relidaving gnupg..."12:39
xnoxRAID is still to do12:39
xnoxmpt: link to all galleries: https://picasaweb.google.com/10592284829250768940312:40
mptthanks12:42
mptxnox, have you met (or talked to) Dustin Kirkland?12:51
xnoxmpt: I know who he is. I have seen him at the UDS. I believe he is not aware who I am.12:52
mptxnox, I'm still reading this stuff, but meanwhile, bug 791885 and bug 817507 look like they might be duplicates.13:09
ubot2Launchpad bug 791885 in ubiquity "Ubiquity crash with RAID 0 array - grub could not install" [Undecided,Confirmed] https://launchpad.net/bugs/79188513:09
ubot2Launchpad bug 817507 in ubiquity "Grub-install fails on the RAID0 array" [Undecided,Confirmed] https://launchpad.net/bugs/81750713:10
xnoxok thanks.13:10
* xnox is considering to rename wiki page to Ubiquity/ThisStuff =)13:10
mpt"will not have swap or will use a swapfile"13:11
mptcjwatson, iirc there's been a long-standing to-do to switch from using a swap partition to a swap file by default. Is that right?13:12
xnoxmpt: yes, but it's not massive priority. The questions about hibernate/suspend are still not fully resolved, afaik.13:13
cjwatsonIndeed, it's something we'd eventually like to do to simplify partitioning; hopefully this LTS cycle but it's not scheduled for 12.1013:15
cjwatsonGiven previous experience I'd not want to do it by default without explicit support time allocated from the kernel team13:15
xnoxcjwatson: alternative & server d-i cd's are build from debian-installer package, ubiquity or somewhere else?13:16
cjwatsonThey contain objects from the debian-installer source package, but the ISO images themselves are built by a branch of debian-cd13:18
mptxnox, do you have handy a screenshot of the current advanced partitioning step, so I can design something that doesn't require the new overall design?13:25
xnoxcjwatson: ok.13:32
xnoxmpt: you mean ubiquity's advanced partitioning?13:33
mptxnox, yes13:33
* xnox had to reboot due to X.org crashing. sorry for the delay.13:33
xnoxmpt one moment13:35
xnoxmpt: https://picasaweb.google.com/105922848292507689403/Ubiquity?authuser=0&feat=directlink13:42
xnoxthere are a few13:43
mpteugh, there's something gone strange with that "Install this third-party software" checkbox13:43
xnoxmpt: I think you need to allow 'download updates' before that one becomes active13:44
xnoxno13:44
xnoxyou don't have to13:44
xnoxit's simply 'gone ugly in a VM'13:44
mptxnox, looks like a few of those dialogs have coped badly with being ported to GTK313:46
mpt"Create a new partition" in particular13:46
mptand "Create a new empty partition on this device?"13:46
mpt+table13:46
xnoxmpt: =/ this is precise release image, not quantal's gtk313:46
xnoxin a VM13:46
mptodd13:46
xnoxI will try bare-metal boot and take screenshots again to check the quality13:47
mptxnox, no, Ubiquity in 12.04 uses GTK313:47
xnoxoh ok.13:47
* xnox was thinking about python3 (sorry) which is being ported in quantal13:48
* xnox it must be friday13:48
mptxnox, which varieties of Raid does the alternate installer currently allow?13:50
xnoxmpt: I remember that cjwatson was saying something along the lines, that it should be possible to ctrl+click on devices and then "combine" them into RAID/LVM or convert it into encrypted volume.13:50
cjwatsonChoices: RAID0, RAID1, RAID5, RAID6, RAID1013:50
xnoxmpt: let me check, I think 0, 1, 5, 6. Plus it allows nesting raids to do 1+0 and 0+1.13:50
mptMy notes say "RAID 0 isn't really RAID at all, but a close alternative to LVM (bug 43453), though it is possible to run one on top of the other."13:52
ubot2Launchpad bug 43453 in ubiquity "live cd partitioner doesn't understand lvm properly" [Medium,Confirmed] https://launchpad.net/bugs/4345313:52
mptDoes that match your understanding?13:52
cjwatsonIt's not redundant, but it's also not best understood as an alternative to LVM13:53
mptIn what situations would you choose one or the other?13:54
cjwatsonIt's a method of aggregating multiple block devices into one by alternating blocks among the disks13:54
cjwatsonYou might use RAID0 if you just want a very low-performance-impact way to aggregate a bunch of disks together13:54
mptSo is LVM slower than RAID0?13:55
cjwatsonLet me finish :)13:55
mptsorry13:55
cjwatsonWhat you get out of it is effectively a single partition whose size is the sum of all the components; but it still roughly behaves as a simple traditional partition13:56
cjwatsonLVM is more a swiss army knife approach: you feed it a load of physical volumes (partitions) and it lets you create logical volumes on top without having to care very much about which disks they happen to live on; if for example you later need to replace a disk, you can say to LVM "please move all my data off this disk I'm about to remove" and then swap in a new one13:58
cjwatsonI don't think there's a major performance difference, but RAID0 is very much simpler13:58
mptxnox, no RAID 10?13:58
cjwatsonRAID10 is there, I was quoting the code above13:58
xnoxRAID 10 is same as RAID 1+0. FIrst you create RAID 1 from 2 disks (I) then another RAID1 from another 2 disks (II). Then assemble both I & II into RAID0.13:59
xnox(4 disks in total)13:59
* xnox stacking like a matroshka doll ...14:00
xnoxsimilarly you can do reverse, e.g. RAID 0+1 when you do it the other way around =)14:00
cjwatsonhttp://en.wikipedia.org/wiki/RAID_0 has some example applications14:01
cjwatsonI do think it's kind of niche, but mostly it's there because there's not much cognitive difference between four choices and five, and it is something people occasionally ask for so I don't think it's worth the rather minor optimisation of removing it and making those people either redesign their workflow or go and assemble arrays by hand14:02
mptthanks cjwatson14:06
mptxnox, if you want something to do right now, I suggest choosing which thing you want to add first: (a) LVM, (b) RAID 0, (c) other RAID types. Then add a button at the bottom right of the partition table, for now labelled (a) "LVM Setup…", (b) "RAID 0 Setup…", or (c) "RAID Setup…", that opens an intro dialog.14:12
mptxnox, then on Wednesday I'll finish the design of the intro dialog.14:12
xnox(a) LUKS (crypt)14:12
xnox(b) LVM14:13
mptI was leaving out LUKS until you've talked with Dustin :-)14:13
mptbecause he's been working on full-disk encryption, and I don't know whether it's the same kind14:13
xnoxno it's not the same14:14
mptand it would be annoying if we ended up with two kinds of full-disk encryption, neither of which you could switch to after installation14:14
cjwatsonI think it'd be crazy to do full-disk encryption other than via cryptsetup14:16
cjwatson(i.e. LUKS)14:17
cjwatsonNo idea why Dustin wants to reinvent that wheel in a slightly different shape14:17
* xnox away on a call14:17
evany objections to a ubiquity upload?14:25
cjwatsonNone from me, was mostly holding off in case you had more to do with m-a14:25
evnope14:26
evsorting that now then14:26
cjwatsonfixes one critical so we definitely should14:26
cjwatsonta14:26
CIA-62ubiquity: evand * r5486 ubiquity/ (d-i/manifest debian/changelog):14:27
CIA-62ubiquity: Automatic update of included source packages: base-installer14:27
CIA-62ubiquity: 1.122ubuntu8, flash-kernel 2.28ubuntu43.14:27
CIA-62ubiquity: evand * r5487 ubiquity/debian/changelog: releasing version 2.11.215:04
bdmurraycjwatson: is it possible there was a bug in /etc/default/grub handling? https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/995555/comments/315:43
ubot2Launchpad bug 995555 in ubuntu-meta "package ubuntu-standard 1.267 failed to install/upgrade: ErrorMessage: dependency problems - leaving unconfigured" [Low,Fix committed]15:43
bdmurraycjwatson: for CMDLINE_LINUX=" quiet splash"  e.g. with a space in the beginning?15:43
cjwatsonWell, that isn't actually a bug15:43
cjwatsonI mean, having the space there15:44
cjwatsonOh, but you mean if that's what the file is like on the way in?15:44
roadmrHi again :) What should I use in a preseed's partman/early_command on Ubiquity in lieu of debconf-set? <- this doesn't seem to work on Ubiquity, only d-i15:45
cjwatsonI fixed that in ubiquity 2.11.2.  You had quit IRC so I couldn't tell you at the time.15:46
cjwatsonHowever, you can use this instead:15:46
roadmrcjwatson: oh! damn time zone differences :/15:46
cjwatson. /usr/share/debconf/confmodule; db_set partman-auto/disk /dev/sda15:46
cjwatsonIf that's part of a longer script, make sure that ". /usr/share/debconf/confmodule" is the very first thing in the script15:47
roadmrcjwatson: yes, it's a small script, I'll do that15:47
roadmrcjwatson: this solution is what we'll use probably, since we need it to work in older releases, so the 2.11.2 fix may not be available on those :915:48
cjwatsonSure15:48
roadmrcjwatson: thanks :) as usual15:48
cjwatsonbdmurray: Certainly there are multiple known bugs in /etc/default/grub handling anyway; it's a mess15:48

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