/srv/irclogs.ubuntu.com/2008/09/09/#ubuntu-installer.txt

=== superm1|away is now known as superm1
cjwatsonCarlFK: depends what the qemu's doing :)01:20
CarlFKcjwatson: wget  http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux and initrd.gz01:23
CarlFKqemu -kernel linux -initrd initrd.gz hd.qcow201:23
CarlFKseems to be installing past where it was previously eroded01:25
cjwatsonerr. I mean a from-scratch test case01:26
cjwatsonas in "install this minimal set of packages in a chroot"01:26
cjwatsondpkg logic errors shouldn't require emulation to reproduce01:27
cjwatsonso no, that isn't really the sort of thing I'm looking for, but thanks01:27
CarlFKit 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 too01:29
cjwatsonI had a way to boot the installer already01:31
cjwatsonthat was just the simplest possible reproduction using (a lightly modified version of) your preseed file01:32
twbHey, so I'm trying to do a network install while my stupid broken DHCP server isn't providing a default route *or* nameservers.01:57
twbI 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
twbBut it hadn't; resolv.conf has no nameserver entries.  This might be a bug.01:58
marceloaragorn21hi all02:00
marceloaragorn21does anybody know a kind of driver or module for "eb1a:2710 eMPIA Technology, Inc. SilverCrest WebCam" to load into Ubuntu Hardly ????02:00
twbmarceloaragorn21: that sounds like a question for #ubuntu; this channel is about getting Ubuntu installed and booting.02:01
marceloaragorn21ok... sorry02:02
marceloaragorn21i'm desperate to know about this :-)02:02
marceloaragorn21i've already asked in #ubuntu02:02
twbI'm afraid it's not appropriate to ask it here.02:03
marceloaragorn21ok..02:04
marceloaragorn21thanks for the tip :)02:05
cjwatsontwb: 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
twbI don't know.02:12
cjwatsontwb: oh, it's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=36202902:12
twbAh, thanks.02:12
* twb runs "bts subscribe"02:13
_rubenhmm .. 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
_rubenmost netboot docs i found are geared towards desktop06:48
cjwatsonyou 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 Ubuntu06:49
cjwatsonyou'd just need to select appropriate server tasks, and possibly install the server kernel (either by preseeding or just post-install) if you so desire06:50
_rubenhmm .. lets try that (except for the burning part, can use the iso directly)06:50
cjwatsonemulation?06:50
_rubenvirtual media over lan .. but for some reason the install stalls when i try to do the full install using that06:51
_rubenand i guess preseeding really is smth i oughta look into06:55
_rubenah 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 day07:04
=== superm1 is now known as superm1|away
_rubenwow .. using local mirror instead of virtual cdrom surely feels *much* faster .. thanks for the tip, cjwatson07:40
davmor2evand: 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:33
davmor2evand: fails drops into initramfs12:36
davmor2is there any debugging info that would be useful?12:38
TheMusocjwatson: 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.13:09
evanddavmor2: casper.log.  Also if you boot without quiet splash it should give you the exact error.14:01
davmor2evand: I had a quick look through that it looks like it can't mount sda114:02
davmor2I'll double check to be sure though14:03
davmor2evand: these are the lines from casper.log14:09
davmor2Cannot mount /dev/sda1 on /isodevice14:09
davmor2mount: mounting /dev/sda1 on /isodevice failed: No such device14:09
evanddavmor2: ok, can you open a new bug report with that information?14:10
davmor2evand: Also running in verbose mode shows no faults14:10
evandok14:13
davmor2evand: https://bugs.launchpad.net/wubi/+bug/26812314:18
evandthanks14:20
davmor2np's14:20
cjwatsonTheMuso: http://people.ubuntu.com/~cjwatson/tmp/casper-trunk.tar.gz14:46
TheMusocjwatson: Got it, thanks.14:50
CIA-44partman-auto: cjwatson * r269 existing-partitions/ (4 files in 3 dirs):15:44
CIA-44partman-auto: Introduce $partno{ } recipe syntax to operate on existing partitions15:44
CIA-44partman-auto: (LP: #195608).15:44
CIA-44partman-auto: cjwatson * r270 existing-partitions/lib/auto-shared.sh: fix syntax error15:44
cjwatsoneek, think I might have bitten off more than I can chew with this project, it's complicated15:47
evandyikes15:51
davmor2That's really bad15:52
cjwatsonhmm?15:55
davmor2cjwatson: Stop doubting yourself man you can do it :D15:55
* davmor2 had a whole stream of uplifting comments but then thought they were probably useless :(15:57
cjwatsonthe 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:57
cjwatsonalso have to do something with partman-auto-lvm15:58
cjwatsonand not sure what $partno{ foo } $lvmok{ } ought to mean15:59
davmor2cjwatson: Is partman clever enough to know what tags are set to the current partitions?16:00
CIA-44partman-auto-lvm: cjwatson * r204 existing-partitions/ (debian/changelog debian/control lib/auto-lvm.sh):16:01
CIA-44partman-auto-lvm: Honour $partno{ } syntax to operate on existing partitions in envelope;16:01
CIA-44partman-auto-lvm: requires partman-auto (>= 78ubuntu2).16:01
cjwatsondavmor2: tags?16:01
davmor2home etc16:01
cjwatsonerr, I'm not sure I know what you mean16:02
cjwatsondo you mean where a partition is mounted? if so, do you mean in the current installation, or remembering it somehow from previous installations?16:02
davmor2cjwatson: 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:04
davmor2previous installation I think.  In hardy is on the machine and you want to install intrepid but not wipe home16:05
cjwatsonfirstly, 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 number16:05
cjwatsonsecondly, the mountpoint isn't actually a property of the partition so that sort of thing is very difficult16:06
cjwatsonin a multi-partition layout, you have an /etc/fstab file in your / partition that lists the partitions and corresponding mountpoints16:07
cjwatsoneach individual partition, in principle and often in practice, has no idea where it's mounted16:07
cjwatsoni.e. you can't tell just by looking at that partition16:07
davmor2shame that16: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:08
cjwatsonalthough /home is a viable case. I don't think /var is16:09
cjwatson/var/lib/dpkg definitely needs to be wiped, for one thing ...16:09
davmor2cjwatson: var is on servers unless you setup userdir etc16:09
cjwatsonservers tend to upgrade forever, not reinstall16:10
davmor2true16:10
cjwatsonI don't see them as a major use case here16:10
cjwatsonproper servers also have backups :)16:10
davmor2very true :)16:11
davmor2or serveral if you're really paranoid16:11
davmor2It is a nice puzzle I'll give you that :)16:14
davmor2cjwatson: is the idea to have this as an option on the installer?  Like the chooser for multiple discs?16:21
cjwatsonno, just for preseeding16:23
CarlFK (10:05:46 AM) cjwatson: ...I've only implemented a way to reuse existing partitions by partition number16:23
CarlFKhave you considered label ?16:24
davmor2right so this would be like the auto install stuff then yes?16:24
CarlFKor whatever this is UUID=eaeac11a-98d8-41c5-999d-0f70153a655d16:24
cjwatsonCarlFK: considered but not yet implemented16:25
davmor2what tool will be used to create the presseed?16:25
CarlFKrelying 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 install16:26
CarlFKdavmor2: I use vi :)16:26
CarlFKdavmor2: I start with the example file and hack it16:26
davmor2Ah 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:29
=== superm1|away is now known as superm1
cjwatsonit'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 yet16:42
cjwatsonCarlFK: I've never encountered partition *numbers* within a disk changing. Disk device names change, but the partition numbering is stable IME16:43
CarlFKcjwatson:  ah.  curios how you will identify the device - but I can wait and see what you come up with :)16:47
davmor2cjwatson: 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:52
CarlFKdavmor2: yep16:53
davmor2and have reuse format the partition in a similar fashion to the advanced system now?16:55
CarlFKdavmor2: http://www.debian.org/releases/etch/example-preseed.txt16:57
cjwatsonCarlFK: you already have to identify the device when preseeding partitioning; I'm not changing anything there17:06
cjwatsondavmor2: 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 format17:07
davmor2cjwatson: np's17:07
cjwatsonso 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 one17:08
cjwatsonwe basically already have a format that does what you're describing, except for reusing existing partitions17:08
CarlFKcjwatson: 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.17:10
=== superm1 is now known as superm1|away
=== superm1|away is now known as superm1
CIA-44ubiquity: cjwatson * r2805 ubiquity/ (82 files in 3 dirs):18:07
CIA-44ubiquity: Change "Automatically sign in" to "Log in automatically", to match18:07
CIA-44ubiquity: wording elsewhere (LP: #266995).18:07
kirklandcjwatson: around?19:30
cjwatsonkirkland: best leave a message, I'm about to leave to catch a train19:39
kirklandcjwatson: k19:39
kirklandevand: hey, are you around?20:01
evandja20:02
kirklandevand: i'm looking for the right source package20:04
kirklandevand: partman/raid related20:04
kirklandevand: partman-md isn't quite it....20:05
kirklandevand: i don't see just a plain "partman" package20:05
evandpartman-base ?20:06
kirklandevand: aha!20:08
kirklandevand: apt-cache search partman didn't find anything20:08
evandyeah, udebs don't turn up in apt-cache.20:09
kirklandevand: is there an equivalent search tool?20:09
evandno 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=020:13
kirklandevand: okey dok20:14
kirklandevand: okay, next question....20:23
evandsure20:23
kirklandevand: in partman-base, if I add a "db_metaget mdadm/boot_degraded BOOT_DEGRADED"20:23
kirklandevand: and i put that into the partman-base .templates file20:24
kirklandevand: and the user makes that selection in partitioning20:24
kirklandevand: i'm hoping that true/false value will be stored in the debconf db20:24
kirklandevand: such that when the mdadm package gets installed later20:24
kirklandevand: the mdadm's postinst will do a db_get and handle the true/false appropriately20:25
kirklandevand: does that sound right to you?20:25
evandI don't believe metaget is what you want here.  I imagine you want to use get.20:27
kirklandevand: cool.  what's the difference, briefly?20:27
evandmetaget gets fields, such as the description, get retrieves the value of the question.  See debconf-devel(7) for more details.20:29
evandor more commonly, the choices20:29
evandfor metaget, that is20:29
kirklandevand: cool20:30
kirklandevand: what does the "oh, crap, you don't have swapspace defined" check?21:20
evandpartman-basicfilesystems/no_swap21:28
evandis the question21:28
evandit's used in partman-basicfilesystems/check.d/check_swap21:29
=== superm1 is now known as superm1|away

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