[01:20] <cjwatson> CarlFK: depends what the qemu's doing :)
[01:23] <CarlFK> cjwatson: wget  http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux and initrd.gz
[01:23] <CarlFK> qemu -kernel linux -initrd initrd.gz hd.qcow2
[01:25] <CarlFK> seems to be installing past where it was previously eroded
[01:26] <cjwatson> err. I mean a from-scratch test case
[01:26] <cjwatson> as in "install this minimal set of packages in a chroot"
[01:27] <cjwatson> dpkg logic errors shouldn't require emulation to reproduce
[01:27] <cjwatson> so no, that isn't really the sort of thing I'm looking for, but thanks
[01:29] <CarlFK> it isn't so much the emulation as a way to boot the installer - but I think you want to remove the installer from the mix too
[01:31] <cjwatson> I had a way to boot the installer already
[01:32] <cjwatson> that was just the simplest possible reproduction using (a lightly modified version of) your preseed file
[01:57] <twb> Hey, so I'm trying to do a network install while my stupid broken DHCP server isn't providing a default route *or* nameservers.
[01:58] <twb> I manually added the route, but d-i asked me for nameservers, so I assumed it had, you know, added the ones I gave it to resolv.conf.
[01:58] <twb> But it hadn't; resolv.conf has no nameserver entries.  This might be a bug.
[02:00] <marceloaragorn21> hi all
[02:00] <marceloaragorn21> does anybody know a kind of driver or module for "eb1a:2710 eMPIA Technology, Inc. SilverCrest WebCam" to load into Ubuntu Hardly ????
[02:01] <twb> marceloaragorn21: that sounds like a question for #ubuntu; this channel is about getting Ubuntu installed and booting.
[02:02] <marceloaragorn21> ok... sorry
[02:02] <marceloaragorn21> i'm desperate to know about this :-)
[02:02] <marceloaragorn21> i've already asked in #ubuntu
[02:03] <twb> I'm afraid it's not appropriate to ask it here.
[02:04] <marceloaragorn21> ok..
[02:05] <marceloaragorn21> thanks for the tip :)
[02:12] <cjwatson> twb: I think it's probably a bug, yes; it'll have gone unnoticed because that only happens in the corner case where your DHCP server doesn't provide nameserver entries. Please file it. However, something would need to be done to make sure those nameserver entries didn't get blatted by dhclient later on the installed system, wouldn't it?
[02:12] <twb> I don't know.
[02:12] <cjwatson> twb: oh, it's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=362029
[02:12] <twb> Ah, thanks.
[02:13]  * twb runs "bts subscribe"
[06:48] <_ruben> hmm .. is there way to install ubuntu server (hardy) by booting from a cd, but load all/most other stuff (atleast packages, but preferably also the installer) from a local mirror?
[06:48] <_ruben> most netboot docs i found are geared towards desktop
[06:49] <cjwatson> you can burn http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/installer-i386/current/images/netboot/mini.iso to a CD and install from that; the netboot images can install any flavour of Ubuntu
[06:50] <cjwatson> you'd just need to select appropriate server tasks, and possibly install the server kernel (either by preseeding or just post-install) if you so desire
[06:50] <_ruben> hmm .. lets try that (except for the burning part, can use the iso directly)
[06:50] <cjwatson> emulation?
[06:51] <_ruben> virtual media over lan .. but for some reason the install stalls when i try to do the full install using that
[06:55] <_ruben> and i guess preseeding really is smth i oughta look into
[07:04] <_ruben> ah crap .. dont have the installer files on my local mirror yet, and for some reason debmiror (or actually perl) broke on that box .. sigh .. nice way to start the day
[07:40] <_ruben> wow .. using local mirror instead of virtual cdrom surely feels *much* faster .. thanks for the tip, cjwatson
[12:33] <davmor2> evand: I'm testing that wubi with an over the net install so far so good I'll let you know if it works shortly though :)
[12:36] <davmor2> evand: fails drops into initramfs
[12:38] <davmor2> is there any debugging info that would be useful?
[13:09] <TheMuso> cjwatson: When you can get a minute, and if you have a current casper bzr, assuming its not been fixed in LP, would you mind throwing me a tarball of the casper bzr when you get a chance? I'd like to do some work on the a11y bits of that this week.
[14:01] <evand> davmor2: casper.log.  Also if you boot without quiet splash it should give you the exact error.
[14:02] <davmor2> evand: I had a quick look through that it looks like it can't mount sda1
[14:03] <davmor2> I'll double check to be sure though
[14:09] <davmor2> evand: these are the lines from casper.log
[14:09] <davmor2> Cannot mount /dev/sda1 on /isodevice
[14:09] <davmor2> mount: mounting /dev/sda1 on /isodevice failed: No such device
[14:10] <evand> davmor2: ok, can you open a new bug report with that information?
[14:10] <davmor2> evand: Also running in verbose mode shows no faults
[14:13] <evand> ok
[14:18] <davmor2> evand: https://bugs.launchpad.net/wubi/+bug/268123
[14:20] <evand> thanks
[14:20] <davmor2> np's
[14:46] <cjwatson> TheMuso: http://people.ubuntu.com/~cjwatson/tmp/casper-trunk.tar.gz
[14:50] <TheMuso> cjwatson: Got it, thanks.
[15:44] <CIA-44> partman-auto: cjwatson * r269 existing-partitions/ (4 files in 3 dirs):
[15:44] <CIA-44> partman-auto: Introduce $partno{ } recipe syntax to operate on existing partitions
[15:44] <CIA-44> partman-auto: (LP: #195608).
[15:44] <CIA-44> partman-auto: cjwatson * r270 existing-partitions/lib/auto-shared.sh: fix syntax error
[15:47] <cjwatson> eek, think I might have bitten off more than I can chew with this project, it's complicated
[15:51] <evand> yikes
[15:52] <davmor2> That's really bad
[15:55] <cjwatson> hmm?
[15:55] <davmor2> cjwatson: Stop doubting yourself man you can do it :D
[15:57]  * davmor2 had a whole stream of uplifting comments but then thought they were probably useless :(
[15:57] <cjwatson> the complexity is working out how to do the "clear disk except for this small set of partitions that I've chosen to reuse" (which I think is the nearest useful equivalent to "wipe whole disk and repartition" if your recipe wants to reuse existing partitions ...)
[15:58] <cjwatson> also have to do something with partman-auto-lvm
[15:59] <cjwatson> and not sure what $partno{ foo } $lvmok{ } ought to mean
[16:00] <davmor2> cjwatson: Is partman clever enough to know what tags are set to the current partitions?
[16:01] <CIA-44> partman-auto-lvm: cjwatson * r204 existing-partitions/ (debian/changelog debian/control lib/auto-lvm.sh):
[16:01] <CIA-44> partman-auto-lvm: Honour $partno{ } syntax to operate on existing partitions in envelope;
[16:01] <CIA-44> partman-auto-lvm: requires partman-auto (>= 78ubuntu2).
[16:01] <cjwatson> davmor2: tags?
[16:01] <davmor2> home etc
[16:02] <cjwatson> err, I'm not sure I know what you mean
[16:02] <cjwatson> do you mean where a partition is mounted? if so, do you mean in the current installation, or remembering it somehow from previous installations?
[16:04] <davmor2> cjwatson: the most likely partition you will want to keep will be var and home wouldn't it?   If so would partman recognise these mount points or will you have to put a name to a partition?
[16:05] <davmor2> previous installation I think.  In hardy is on the machine and you want to install intrepid but not wipe home
[16:05] <cjwatson> firstly, this is strictly for preseeding - custom jobs only, likely within a particular organisation with rather set partitioning layouts. I've only implemented a way to reuse existing partitions by partition number
[16:06] <cjwatson> secondly, the mountpoint isn't actually a property of the partition so that sort of thing is very difficult
[16:07] <cjwatson> in a multi-partition layout, you have an /etc/fstab file in your / partition that lists the partitions and corresponding mountpoints
[16:07] <cjwatson> each individual partition, in principle and often in practice, has no idea where it's mounted
[16:07] <cjwatson> i.e. you can't tell just by looking at that partition
[16:08] <davmor2> shame that
[16:08] <cjwatson> (there are some heuristics you could imagine using, but I'm expecting this to be used more for organisation-specific mountpoints than for /var and /home, really)
[16:09] <cjwatson> although /home is a viable case. I don't think /var is
[16:09] <cjwatson> /var/lib/dpkg definitely needs to be wiped, for one thing ...
[16:09] <davmor2> cjwatson: var is on servers unless you setup userdir etc
[16:10] <cjwatson> servers tend to upgrade forever, not reinstall
[16:10] <davmor2> true
[16:10] <cjwatson> I don't see them as a major use case here
[16:10] <cjwatson> proper servers also have backups :)
[16:11] <davmor2> very true :)
[16:11] <davmor2> or serveral if you're really paranoid
[16:14] <davmor2> It is a nice puzzle I'll give you that :)
[16:21] <davmor2> cjwatson: is the idea to have this as an option on the installer?  Like the chooser for multiple discs?
[16:23] <cjwatson> no, just for preseeding
[16:23] <CarlFK>  ﻿(10:05:46 AM) cjwatson: ...I've only implemented a way to reuse existing partitions by partition number
[16:24] <CarlFK> have you considered label ?
[16:24] <davmor2> right so this would be like the auto install stuff then yes?
[16:24] <CarlFK> or whatever this is UUID=eaeac11a-98d8-41c5-999d-0f70153a655d
[16:25] <cjwatson> CarlFK: considered but not yet implemented
[16:25] <davmor2> what tool will be used to create the presseed?
[16:26] <CarlFK> relying on partition number makes me nervous - every so often it seems to change, mainly with new kernels, which is very often what you get with a new install
[16:26] <CarlFK> davmor2: I use vi :)
[16:26] <CarlFK> davmor2: I start with the example file and hack it
[16:29] <davmor2> Ah okay.  So you just need something that says "reuse partition 1 2 3 name boot / var keep 4 5 name home swap"  kinda thing in a format that partman understands what to do with it right?
[16:42] <cjwatson> it's for people who are already used to creating preseed files more than anything else; at least to start with. maybe in future ubiquity could make use of it or something but I wasn't thinking of that yet
[16:43] <cjwatson> CarlFK: I've never encountered partition *numbers* within a disk changing. Disk device names change, but the partition numbering is stable IME
[16:47] <CarlFK> cjwatson:  ah.  curios how you will identify the device - but I can wait and see what you come up with :)
[16:52] <davmor2> cjwatson: so basically the preseed is a text file that gives the installer instructions on what to do correct?  If so would my way of selecting reuse partition sda1 sda2 sda3 name /boot / /var not be viable?
[16:53] <CarlFK> davmor2: yep
[16:55] <davmor2> and have reuse format the partition in a similar fashion to the advanced system now?
[16:57] <CarlFK> davmor2: http://www.debian.org/releases/etch/example-preseed.txt
[17:06] <cjwatson> CarlFK: you already have to identify the device when preseeding partitioning; I'm not changing anything there
[17:07] <cjwatson> davmor2: let me clarify, what I'm doing is a *very* small change to the existing format; I'm absolutely not embarking on a rewrite of the existing recipe format
[17:07] <davmor2> cjwatson: np's
[17:08] <cjwatson> so it needs to fit into what's there now, which basically means that we make it possible to add $partno{ } lines to a partition stanza and have that be applied to an existing partition rather than creating a new one
[17:08] <cjwatson> we basically already have a format that does what you're describing, except for reusing existing partitions
[17:10] <CarlFK> cjwatson: good point - i think my fear is from never using a preseed if I wanted to keep anything.  but as long as it works most of the time, and you have a backup for when it doesn't, no problem.
[18:07] <CIA-44> ubiquity: cjwatson * r2805 ubiquity/ (82 files in 3 dirs):
[18:07] <CIA-44> ubiquity: Change "Automatically sign in" to "Log in automatically", to match
[18:07] <CIA-44> ubiquity: wording elsewhere (LP: #266995).
[19:30] <kirkland> cjwatson: around?
[19:39] <cjwatson> kirkland: best leave a message, I'm about to leave to catch a train
[19:39] <kirkland> cjwatson: k
[20:01] <kirkland> evand: hey, are you around?
[20:02] <evand> ja
[20:04] <kirkland> evand: i'm looking for the right source package
[20:04] <kirkland> evand: partman/raid related
[20:05] <kirkland> evand: partman-md isn't quite it....
[20:05] <kirkland> evand: i don't see just a plain "partman" package
[20:06] <evand> partman-base ?
[20:08] <kirkland> evand: aha!
[20:08] <kirkland> evand: apt-cache search partman didn't find anything
[20:09] <evand> yeah, udebs don't turn up in apt-cache.
[20:09] <kirkland> evand: is there an equivalent search tool?
[20:13] <evand> no idea, I generally dig through here: https://launchpad.net/~ubuntu-installer/+related-software and here: http://svn.debian.org/wsvn/d-i/trunk/packages/partman/?rev=0&sc=0
[20:14] <kirkland> evand: okey dok
[20:23] <kirkland> evand: okay, next question....
[20:23] <evand> sure
[20:23] <kirkland> evand: in partman-base, if I add a "db_metaget mdadm/boot_degraded BOOT_DEGRADED"
[20:24] <kirkland> evand: and i put that into the partman-base .templates file
[20:24] <kirkland> evand: and the user makes that selection in partitioning
[20:24] <kirkland> evand: i'm hoping that true/false value will be stored in the debconf db
[20:24] <kirkland> evand: such that when the mdadm package gets installed later
[20:25] <kirkland> evand: the mdadm's postinst will do a db_get and handle the true/false appropriately
[20:25] <kirkland> evand: does that sound right to you?
[20:27] <evand> I don't believe metaget is what you want here.  I imagine you want to use get.
[20:27] <kirkland> evand: cool.  what's the difference, briefly?
[20:29] <evand> metaget gets fields, such as the description, get retrieves the value of the question.  See debconf-devel(7) for more details.
[20:29] <evand> or more commonly, the choices
[20:29] <evand> for metaget, that is
[20:30] <kirkland> evand: cool
[21:20] <kirkland> evand: what does the "oh, crap, you don't have swapspace defined" check?
[21:28] <evand> partman-basicfilesystems/no_swap
[21:28] <evand> is the question
[21:29] <evand> it's used in partman-basicfilesystems/check.d/check_swap