/srv/irclogs.ubuntu.com/2009/09/03/#ubuntu-installer.txt

=== robbiew is now known as robbiew-dinner
=== NCommander is now known as Guest14048
=== saispo_ is now known as saispo
yann|workquestion about a customized alternate intrepid cd - any idea what could cause the installer not to see tasks minimal/standard/xubuntu-desktop ?09:32
yann|workwould the lack of a Release.gpg cause this ?09:33
davmor2evand, cjwatson bug 403021 seems to still be in effect on nv/nvidia drivers but not others.09:47
ubottuLaunchpad bug 403021 in ubiquity "OEM install: black screen with cursor on login" [High,Confirmed] https://launchpad.net/bugs/40302109:47
cjwatsondavmor2: I think the X team will have to deal with that if it's hardware-specific09:59
davmor2cjwatson: do you think it would be best to write a new bug out for it then?10:03
cjwatsonI'll just reassign it10:06
cjwatsonevand: you're the assignee at the moment - is that OK with you?10:06
evandcjwatson: fine by me10:19
evandcool! For whatever reason, it didn't register with me that we'd get the slideshow and encrypted home in oem-config for free.  Hooray for mterry and merges11:02
davmor2evand: I saw that but I'm not going to test till post a511:09
davmor2cjwatson: I thought that grub was meant to be hidden now?11:34
cjwatsononly if you don't have other operating systems installed11:35
davmor2ah I got another one on the other disc in the machine I forgot about that :)11:38
CIA-33wubi: evand * r150 trunk/ (data/wubildr.cfg debian/changelog):12:25
CIA-33wubi: Use the correct syntax for grub2 (elif does not exist). Thanks to12:25
CIA-33wubi: Colin Watson for the tip.12:25
=== Nicke_ is now known as Nicke
=== davmor22 is now known as davmor2
evandcjwatson: Have you seen https://bugs.edge.launchpad.net/ubuntu/+source/ubiquity/+bug/419194 ?  I just want to make sure it hasn't fallen into an email black hole.14:01
ubottuLaunchpad bug 419194 in ubiquity "We have hardly any data on why people cancel installations" [Wishlist,Confirmed]14:01
cjwatsonoh, sorry, didn't realise that was waiting for me; I'll reply in the bug14:03
evandno worries and thanks14:07
rgreeningheya evand14:20
CIA-33usb-creator: rgreening * r151 usb-creator/ (TODO debian/changelog usbcreator/frontends/gtk/frontend.py): * Fix exit button(s) which fail to exit in usb-creator-gtk (on fail or successful install dialog)14:23
evandrgreening: hi14:24
rgreeningevand: I just made a change, but it doesn't completely work... bugger. exit button signals in usb-creator-gtk. I thought adding quit method signal was it... seems not...14:25
ogracjwatson, is the diverting of update-initramfs from casper a new thing in karmic ? i cant remember that it was like that in jaunty14:26
evandwhere was the exit button failing to work for you?  it's been working fine here in all my testing.14:26
cjwatsonogra: bzr blame is your friend, it's what I'd have to do to answer your question anyway14:27
ograheh, ok14:27
rgreeningevand: on successfull install, gtk/python hung in background14:27
cjwatsonor the changelog ...14:27
rgreeningso, clicking exit did not close down the app correctly, just hid the main menu.14:27
rgreeningdialog window I mean..14:28
ogracjwatson, also the update-initramfs run at the end of the install, is that one new ? we already run one in-target a while before14:28
ogracjwatson, looking at bug 42210114:28
ubottuLaunchpad bug 422101 in initramfs-tools "initramfs-tools package seems to fail postinstall on armel" [High,Confirmed] https://launchpad.net/bugs/42210114:28
cjwatsonI have no idea whether it's new, sorry14:28
* ogra doesnt see what makes the second one necessary14:28
cjwatsonI doubt it's deliberate14:29
cjwatsonthe installer is a complex system, you sometimes get emergent behaviour14:29
ograindeed14:29
rgreeningevand: hmmm... maybe the problem is in def success in gtk/frontend.py. it calls sys.exit(0) and not gtk.main_quit().14:30
cjwatsonit's not like there's a run_update_initramfs_again_to_annoy_ogra() method :)14:30
cjwatsonin this case, it's run again due to a dpkg trigger while removing packages14:30
cjwatsonaccording to the log, triggered while removing dmraid14:31
cjwatsonperhaps /dev is not bind-mounted at that point or something?14:31
evandrgreening: looking into it now14:33
rgreeningevand: ok.14:33
rgreeningevand: fixed14:35
evandoh?14:36
rgreeningevand: needs to call gtk.main_quit() in success14:36
evandah, good deal14:36
rgreeningnot sys.exit14:36
rgreening:)14:36
evandthanks a bunch!14:36
rgreeningI should have realized that14:36
rgreeninglol14:36
rgreeningI'll update14:36
CIA-33usb-creator: rgreening * r152 usb-creator/usbcreator/frontends/gtk/frontend.py:14:38
CIA-33usb-creator: * Use gtk.main_quit() in success method reather than sys.exit(0), otherwise app hangs.14:38
CIA-33usb-creator: * Revert previous attempt to fix issue above.14:38
rgreeningok, one less issue :)14:38
rgreeningevand: how goes getting ISO images to work again?14:39
evandit goes.  I've been buried under ubiquity/oem-config bugs today14:39
rgreeningah.14:39
CIA-33usb-creator: evand * r153 usb-creator/ (debian/changelog usbcreator/frontends/gtk/frontend.py):14:46
CIA-33usb-creator: Fail more gracefully when an error occurs while setting up the install14:46
CIA-33usb-creator: routine.14:46
CIA-33usb-creator: rgreening * r154 usb-creator/usbcreator/frontends/kde/frontend.py: * Update kde/frontend.py to match gtk/frontend.py for handle graceful failed installations15:25
rgreeningevand: did you notice that from trunk that the target list now contains a bunch of devices which should not appear. For one, any device with 0 capacity and 0 free should not show.I also see my CD-ROM show up in available targets. It's a read-only device, so it should be filtered too. SOmething broke this, but not sure what.15:43
rgreeningevand: did you figure out how to get Format working yet?15:50
superm1cjwatson, i've been getting general protection crashes in libgobject-2.0.so.0.2105.0, usually when getting to the formating stage, but apport isn't catching them, any tips?  just gdb around the python process for ubiquity?15:58
cjwatsonthat, or maybe 'ulimit -c 0' inside the sudo first will convince it to drop a core file16:00
superm1k16:00
superm1must have intimidated it by threatening a debugger, now it doesn't even want to reproduce :(16:07
yann|workdoes anyone has an idea about what in a customized alternate intrepid cd could cause the installer not to see tasks minimal/standard/xubuntu-desktop ?16:19
yann|workthe fun thing is, I have no problem with any customization, as long as I do not add a new component besides main and friends16:20
yann|workeven removing the Release.gpg does not cause the problem, so the event triggering the problem seems to be the sole addition of this "extra" component16:21
yann|workI can't imagine *that* being the root problem16:21
evandrgreening: that's known.  I'm halfway through bringing back disk block devices in support of formatting and disk image writing.16:22
evandrgreening: re format button> https://bugs.freedesktop.org/show_bug.cgi?id=2354116:23
ubottuFreedesktop bug 23541 in operations "PartitionTableCreate method times out when 'none' is specified as a parameter." [Normal,New]16:23
rgreeningright, was just wondering progress :)16:26
rgreeningevand: did you see my other note about the target list having devices listed it should not?16:28
rgreeningevand: oh, and what was it that was required to get the ISO image to work again? Rather than having to burn a CDR first?16:29
CIA-33usb-creator: rgreening * r155 usb-creator/ (debian/changelog usbcreator/frontends/kde/frontend.py): * Remove unused get_solid_drive() from kde frontend16:39
davmor2cjwatson: as soon as this last install finishe on my vista box I'm going to reinstall vista and try and help figure out why it's not showing up in grub16:58
CIA-33usb-creator: evand * r156 usb-creator/ (5 files in 5 dirs):18:05
CIA-33usb-creator: * Fully re-enable ISO image support (LP: #422671)18:05
CIA-33usb-creator: * Add some debugging breadcrumbs.18:05
CIA-33usb-creator: evand * r157 trunk/TODO: Flesh out the TODO item on PolicyKit support.18:24
CIA-33usb-creator: rgreening * r157 usb-creator/usbcreator/frontends/kde/frontend.py: * Update KDE frontend to support ISO images again18:26
rgreeninghmm.. evand diverged... r15718:27
evandrgreening: eh? You've diverged?18:28
rgreeningwe both committed r157 at same moment18:28
evandbzr log lp:usb-creator shows r157 as what I just committed18:28
evandah18:28
rgreeninglet me merge18:28
rgreening1 sec18:28
evandif I may give a tip, use bzr bind whenever possible18:28
rgreeningnever used bind?18:29
CIA-33usb-creator: rgreening * r158 usb-creator/TODO: Attempt to merge divergence18:29
evandit will check with lp:usb-creator to make sure you're up to date before committing, then lock lp:usb-creator, and then commit18:30
rgreeningah. I run bzr commit then bzr push18:30
rgreeningso, bzr bind then push instead?18:30
superm1you just bind once, then your push is combined with the commit action18:31
rgreeningoh18:31
rgreeningnice18:31
* rgreening is still green with bzr goodiness18:31
rgreeningok, I've done the bind. should be good from now on then.18:33
=== robbiew is now known as robbiew-lunch
rgreeningty for the hint18:34
rgreeningevand: Ok, so, testing with ISO image works now. However, at end of install, I get /dev/loop0 and my usb stick /dev/sdc1 still mounted. Shouldn't these get released in back-end when finished with them?18:58
rgreeninge.g. unmounted...18:59
=== robbiew-lunch is now known as robbiew
davmor2cjwatson: right got vista on and ubuntu installed along side and the only options visible on grub2 are those of Ubuntu's20:14
CIA-33ubiquity: cjwatson * r3428 ubiquity/ (4 files in 3 dirs):21:07
CIA-33ubiquity: Add support for the biosgrub partman method, to be added in21:07
CIA-33ubiquity: partman-partitioning 71.21:07
cjwatsondavmor2: can you mount your Vista partition on /mnt please, then 'ls -al /mnt/; ls -al /mnt/boot/'21:08
davmor2cjwatson: is this the system bit you want me to mount with the boot info in?21:09
cjwatsonyeah21:10
cjwatsonpresumably it's an NTFS partition?21:10
davmor2cjwatson: http://pastebin.com/f7e0322de21:15
cjwatsonhmm! that ought to work then21:16
cjwatsoninstaller syslog? (pointer to somewhere you already uploaded this works too, if applicable ...)21:17
davmor2cjwatson: it's not going to be thrown by the fact that the partition is called system and there is another called vista is it?21:17
cjwatsonit shouldn't care what the partition is called21:18
cjwatsonit just goes through all the partitions it can find and sees what it can detect21:18
davmor2cjwatson: the weird thing is, I get the pause in grub2 just no option to install21:19
cjwatsonsyslog and maybe also /boot/grub/grub.cfg would be good21:19
davmor2http://pastebin.com/f710768a21:19
davmor2that is syslog21:19
cjwatsonyou caught me just as I was about to go and watch some Angel though ...21:19
cjwatson"Unknown post id, it may have expired or been deleted"21:20
davmor2from /var/log/install21:20
cjwatson(your pastebin url)21:20
davmor2http://pastebin.com/f7107681a21:20
davmor2I missed the 121:20
davmor2grub.cfg is http://pastebin.com/f4b12794621:22
cjwatsonhmph. I'm going to have to come back to this later, sorry :(21:22
CIA-33clock-setup: cjwatson * r209 ubuntu/ (debian/changelog finish-install.d/10clock-setup):21:24
CIA-33clock-setup: Pass --utc or --localtime option to hwclock as appropriate, as well as21:24
CIA-33clock-setup: --noadjfile (LP: #423247).21:24
davmor2cjwatson: no probs the vista install is on backup and I always have cds of ubuntu :)21:24
cjwatsonyeah, I hate wasting your time though21:25
cjwatsonbut I think my wife might forget who I am soon, so ...21:25
CIA-33clock-setup: cjwatson * r210 ubuntu/debian/changelog: releasing version 0.98ubuntu221:25
davmor2snap I'm off in a second21:25
tormodhow do I unpack an initrd.lz? lzma -dc fails22:07
tormodso is the normal initrd gonna stay gzip and the CD one use lzma?22:10
tormodheh, I came up with poor man's more (that works) in the initrd: mas() { i=1; while read a; do sed -n $i,`expr $i + 10`p < $1 ; i=`expr $i + 11`; done }22:57
cjwatsontormod: err, lzma -dc ought to do it ...23:17
cjwatsontormod: yeah, lzma is too slow and memory-hungry for the normal initrd, but in the live CD case the trade-offs flip round because space is so much more important23:18
cjwatsonas in, that space lets us fit in another language or two23:19
tormodI get: initrd.lz:  unknown suffix -- unchanged23:22
tormodok, works: cat ../initrd.lz |lzma -dc|cpio -id23:24
tormodI thought it would work as gzip did.23:24
cjwatsonoh, lzma doesn't like the .lz suffix23:25
cjwatsonbut .lzma, which is what it wants, would create problems when writing the CD contents to a FAT filesystem, which is something people do do from time to time23:25
cjwatsonso yeah, compromise23:25
cjwatsonwhen xz is a bit more widely deployed we may be able to switch to that23:26
tormodhmm with -S lz it would work23:26
cjwatsonyeah23:26
cjwatsonsorry, I did deal with this problem a while back but forgot ...23:26
tormodbtw, is there a small editor with few deps that is convenient to drop into the initrd? sed -i gets tiring...23:27
cjwatsonnano is the usual candidate23:28
tormodhave you tried it?23:29
cjwatsonit's the only editor provided in d-i; you might say that ...23:29
cjwatsonI'm not its biggest fan but it's serviceable23:29
tormodjust wondered if ncurses etc would work fine23:30
cjwatsonyou might need to copy in terminfo as well23:30
cjwatsonbut if you don't want to include curses, then about your only option is going to be ed23:30
cjwatsonwhich might not necessarily be a bad choice, at least it's interactive ...23:31
cjwatson(just)23:31
tormodit's better than sed :)23:31
tormodbtw, is the broken more (=cat ?) a feature or bug?23:32
cjwatsonit might be worth enabling CONFIG_FEATURE_USE_TERMIOS in the initramfs23:34
cjwatsoner, in busybox23:34
cjwatsonfeel free to file a bug23:34

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