=== superm1|away is now known as superm1 [01:20] CarlFK: depends what the qemu's doing :) [01:23] cjwatson: wget http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux and initrd.gz [01:23] qemu -kernel linux -initrd initrd.gz hd.qcow2 [01:25] seems to be installing past where it was previously eroded [01:26] err. I mean a from-scratch test case [01:26] as in "install this minimal set of packages in a chroot" [01:27] dpkg logic errors shouldn't require emulation to reproduce [01:27] so no, that isn't really the sort of thing I'm looking for, but thanks [01:29] 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] I had a way to boot the installer already [01:32] that was just the simplest possible reproduction using (a lightly modified version of) your preseed file [01:57] 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] 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] But it hadn't; resolv.conf has no nameserver entries. This might be a bug. [02:00] hi all [02:00] does anybody know a kind of driver or module for "eb1a:2710 eMPIA Technology, Inc. SilverCrest WebCam" to load into Ubuntu Hardly ???? [02:01] marceloaragorn21: that sounds like a question for #ubuntu; this channel is about getting Ubuntu installed and booting. [02:02] ok... sorry [02:02] i'm desperate to know about this :-) [02:02] i've already asked in #ubuntu [02:03] I'm afraid it's not appropriate to ask it here. [02:04] ok.. [02:05] thanks for the tip :) [02:12] 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] I don't know. [02:12] twb: oh, it's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=362029 [02:12] 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] 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] 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] 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 === superm1 is now known as superm1|away [07:40] <_ruben> wow .. using local mirror instead of virtual cdrom surely feels *much* faster .. thanks for the tip, cjwatson [12:33] 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] evand: fails drops into initramfs [12:38] is there any debugging info that would be useful? [13:09] 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] davmor2: casper.log. Also if you boot without quiet splash it should give you the exact error. [14:02] evand: I had a quick look through that it looks like it can't mount sda1 [14:03] I'll double check to be sure though [14:09] evand: these are the lines from casper.log [14:09] Cannot mount /dev/sda1 on /isodevice [14:09] mount: mounting /dev/sda1 on /isodevice failed: No such device [14:10] davmor2: ok, can you open a new bug report with that information? [14:10] evand: Also running in verbose mode shows no faults [14:13] ok [14:18] evand: https://bugs.launchpad.net/wubi/+bug/268123 [14:20] thanks [14:20] np's [14:46] TheMuso: http://people.ubuntu.com/~cjwatson/tmp/casper-trunk.tar.gz [14:50] cjwatson: Got it, thanks. [15:44] partman-auto: cjwatson * r269 existing-partitions/ (4 files in 3 dirs): [15:44] partman-auto: Introduce $partno{ } recipe syntax to operate on existing partitions [15:44] partman-auto: (LP: #195608). [15:44] partman-auto: cjwatson * r270 existing-partitions/lib/auto-shared.sh: fix syntax error [15:47] eek, think I might have bitten off more than I can chew with this project, it's complicated [15:51] yikes [15:52] That's really bad [15:55] hmm? [15:55] 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] 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] also have to do something with partman-auto-lvm [15:59] and not sure what $partno{ foo } $lvmok{ } ought to mean [16:00] cjwatson: Is partman clever enough to know what tags are set to the current partitions? [16:01] partman-auto-lvm: cjwatson * r204 existing-partitions/ (debian/changelog debian/control lib/auto-lvm.sh): [16:01] partman-auto-lvm: Honour $partno{ } syntax to operate on existing partitions in envelope; [16:01] partman-auto-lvm: requires partman-auto (>= 78ubuntu2). [16:01] davmor2: tags? [16:01] home etc [16:02] err, I'm not sure I know what you mean [16:02] 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] 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] previous installation I think. In hardy is on the machine and you want to install intrepid but not wipe home [16:05] 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] secondly, the mountpoint isn't actually a property of the partition so that sort of thing is very difficult [16:07] in a multi-partition layout, you have an /etc/fstab file in your / partition that lists the partitions and corresponding mountpoints [16:07] each individual partition, in principle and often in practice, has no idea where it's mounted [16:07] i.e. you can't tell just by looking at that partition [16:08] shame that [16:08] (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] although /home is a viable case. I don't think /var is [16:09] /var/lib/dpkg definitely needs to be wiped, for one thing ... [16:09] cjwatson: var is on servers unless you setup userdir etc [16:10] servers tend to upgrade forever, not reinstall [16:10] true [16:10] I don't see them as a major use case here [16:10] proper servers also have backups :) [16:11] very true :) [16:11] or serveral if you're really paranoid [16:14] It is a nice puzzle I'll give you that :) [16:21] cjwatson: is the idea to have this as an option on the installer? Like the chooser for multiple discs? [16:23] no, just for preseeding [16:23] (10:05:46 AM) cjwatson: ...I've only implemented a way to reuse existing partitions by partition number [16:24] have you considered label ? [16:24] right so this would be like the auto install stuff then yes? [16:24] or whatever this is UUID=eaeac11a-98d8-41c5-999d-0f70153a655d [16:25] CarlFK: considered but not yet implemented [16:25] what tool will be used to create the presseed? [16:26] 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] davmor2: I use vi :) [16:26] davmor2: I start with the example file and hack it [16:29] 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? === superm1|away is now known as superm1 [16:42] 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] CarlFK: I've never encountered partition *numbers* within a disk changing. Disk device names change, but the partition numbering is stable IME [16:47] cjwatson: ah. curios how you will identify the device - but I can wait and see what you come up with :) [16:52] 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] davmor2: yep [16:55] and have reuse format the partition in a similar fashion to the advanced system now? [16:57] davmor2: http://www.debian.org/releases/etch/example-preseed.txt [17:06] CarlFK: you already have to identify the device when preseeding partitioning; I'm not changing anything there [17:07] 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] cjwatson: np's [17:08] 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] we basically already have a format that does what you're describing, except for reusing existing partitions [17:10] 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. === superm1 is now known as superm1|away === superm1|away is now known as superm1 [18:07] ubiquity: cjwatson * r2805 ubiquity/ (82 files in 3 dirs): [18:07] ubiquity: Change "Automatically sign in" to "Log in automatically", to match [18:07] ubiquity: wording elsewhere (LP: #266995). [19:30] cjwatson: around? [19:39] kirkland: best leave a message, I'm about to leave to catch a train [19:39] cjwatson: k [20:01] evand: hey, are you around? [20:02] ja [20:04] evand: i'm looking for the right source package [20:04] evand: partman/raid related [20:05] evand: partman-md isn't quite it.... [20:05] evand: i don't see just a plain "partman" package [20:06] partman-base ? [20:08] evand: aha! [20:08] evand: apt-cache search partman didn't find anything [20:09] yeah, udebs don't turn up in apt-cache. [20:09] evand: is there an equivalent search tool? [20:13] 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] evand: okey dok [20:23] evand: okay, next question.... [20:23] sure [20:23] evand: in partman-base, if I add a "db_metaget mdadm/boot_degraded BOOT_DEGRADED" [20:24] evand: and i put that into the partman-base .templates file [20:24] evand: and the user makes that selection in partitioning [20:24] evand: i'm hoping that true/false value will be stored in the debconf db [20:24] evand: such that when the mdadm package gets installed later [20:25] evand: the mdadm's postinst will do a db_get and handle the true/false appropriately [20:25] evand: does that sound right to you? [20:27] I don't believe metaget is what you want here. I imagine you want to use get. [20:27] evand: cool. what's the difference, briefly? [20:29] metaget gets fields, such as the description, get retrieves the value of the question. See debconf-devel(7) for more details. [20:29] or more commonly, the choices [20:29] for metaget, that is [20:30] evand: cool [21:20] evand: what does the "oh, crap, you don't have swapspace defined" check? [21:28] partman-basicfilesystems/no_swap [21:28] is the question [21:29] it's used in partman-basicfilesystems/check.d/check_swap === superm1 is now known as superm1|away