/srv/irclogs.ubuntu.com/2008/05/02/#ubuntu-installer.txt

figmentj1324hi08:26
OmahnHello everyone. Yesterday in the preseeding talk by evand a tool called debconf-get-selections was mentioned for saving the selected answers from an install. Unfortunately I can't find this on my alternate install environment. I can see debconf-set-selections and debconf-get but no debconf-get-selections.. any ideas?12:16
* Omahn wonders if the use of the server CD is the issue here12:18
cjwatsonit won't be there until after reboot12:21
cjwatsonyou do have to be careful with its output - it should only be used in conjunction with the installation guide12:21
cjwatsonoh, remember to install debconf-utils12:21
OmahnAha. evand suggested that it needed to be done in the installation environment.12:22
cjwatsondebconf-get-selections --installer12:23
cjwatson(for alternate/server installations)12:23
Omahncjwatson: Perfect. Thanks.12:29
OmahnAlmost working :-)14:59
OmahnI've getting the confirmation dialog about removing existing logical volume data, even though I have:14:59
Omahnd-i partman-auto/purge_lvm_from_device boolean true14:59
Omahnin my preseed.14:59
Omahn# And the same goes for the confirmation to write the lvm partitions.14:59
Omahnd-i partman-lvm/confirm boolean true14:59
OmahnA bug or am I doing it wrong?...14:59
cjwatsonexactly which messages are you seeing? We need the text in order to search15:01
xivulonevand, bean123 has updated the grub4dos svn code15:01
xivulonI can now do the new builds which support find + relative path15:01
OmahnJust doing another build now, I'll copy the text when it gets there.15:02
xivulonevand, can you please run the tests in https://bugs.launchpad.net/wubi/+bug/217348/comments/915:02
xivulonand if successful patch grub-installer as indicated?15:02
evandxivulon: will do15:03
xivulongreat!15:03
xivulonalso seems that the vista bug is fixed with the 7z trick (davmor2)15:04
xivulonnote that to build the CD build you use a different command: make wubi-selfextract15:04
xivulonwhich will also run make and create 2 different binaries15:04
OmahnReady for this screen text?..15:05
Omahn[!!] Partition disks15:05
OmahnThe selected device already contains logical volumes and/or volume15:05
Omahngroups from a previous LVM installation, which must be removed from15:05
Omahnthe disk before creating any partitions.15:05
OmahnNote that this will also permanently erase any data currently on the15:06
Omahnlogical volumes.15:06
OmahnRemove existing logical volume data?15:06
Omahn(done) :-)15:06
evandxivulon: I thought you said the 7z trick did not work for you?15:06
cjwatsond-i partman-lvm/device_remove_lvm boolean true15:06
Omahnaha.. I'll stick that in and try again..15:07
xivulonevand that was using UPX15:07
evandah, my mistake15:07
xivulonUPX cretes a package that when unpacked is not bit-identical to the original :(15:07
xivulonand since nsis uses internal CRC check those fails15:07
xivulon7z is a bit larger but does not suffer from the same issue15:07
xivulonThe other attempt in the middle was to postpone the eject call to the very end, but it did not work and I have reverted the changes15:08
Omahncjwatson: Perfect. I'm guessing that should go into appendix B of the installation guide?..15:10
cjwatsonOmahn: yep, I just edited my local copy to include that15:10
Omahncjwatson: By local copy, do you mean locally checked out copy? :-)15:10
cjwatsonwhatever terminology you prefer15:11
OmahnGood stuff. Just wanted to make sure it goes back in to the docs.15:11
cjwatsonI don't really understand the distinction you're drawing15:11
OmahnWell, if you have a local copy of the installation guide on your machine, editing it is of no use to other users unless it goes back upstream to the distro.15:12
cjwatsonyes, I mean my checkout of the guide's source; I'm the person who normally uploads it15:12
OmahnFantastic. :-)15:12
OmahnBTW - how did you find the answer? Or did you know it already? (for future reference)15:12
cjwatsonI searched the templates files in a couple of candidate packages15:13
cjwatsoni.e. roughly analogous to reading the source15:14
OmahnI see. Thanks.15:14
cjwatsonwe don't really have any way to automatically generate documentation from debconf templates yet, unfortunately, even though the format would theoretically support it15:15
OmahnOk. I'm guessing documenting every possible option would be overkill anyway?15:15
cjwatsonoverkill and probably harmful15:16
evandsome options are not meant to be used outside the installer, preseeding them can have unexpected results.15:17
evander, questions15:18
OmahnDoes a 'server' tasksel exist? I've just used standard for now but that installs openoffice which doesn't seem ideal for our servers.15:18
cjwatsonstandard doesn't itself install openoffice.org; the things you're missing are:15:19
cjwatsond-i pkgsel/language-pack-patterns string15:19
cjwatsond-i pkgsel/install-language-support boolean false15:20
cjwatson(from /cdrom/preseed/ubuntu-server.seed on server CDs)15:20
OmahnI've just realised I used the alternative installer CD.. that would explain it..15:21
cjwatsonyou'd need to preseed those items either way (at least theoretically)15:22
OmahnI've added them and just reinstalling with the server CD.15:22
CIA-1anna: cjwatson * r410 ubuntu/debian/changelog: releasing version 1.31ubuntu115:46
evandxivulon: didn't work for me.  Did it work for you?  It doesn't seem like it would as I don't believe you can do 'root find...'16:16
xivulonevand hm I tested directly with an edited menu.lst and missed that...16:25
xivulongood point16:25
xivulonwe have 3 options then:16:26
xivulon1) go for the wubi specific case: root ()/ubuntu/disks16:26
xivulon2) ask bean 123 to change the root syntax root()/ubuntu/disks --find=/path/to/look/for16:27
xivulon3) change update-grub / grub-installer to support an extra line: find --set-root16:27
xivulonany preference?16:29
evanddefinitely not 3, imo.16:32
evandI suppose 1 is our best bet.16:32
xivulon1 is the first patch provided then, I have been suggesting it around and nobody complained so far16:34
evandwell actually, I take that back.  I guess 3 wouldn't be terrible, but I'm not swayed.16:34
evandok16:35
xivulon1 is not invasive but it ties the implementation to wubi16:36
xivulonthe question is there anyone else likely to use grub-installer/bootdev_directory?16:37
evandI doubt it.  cjwatson does going with 1 seem unreasonable to you?16:37
cjwatson3 sounds like the right long-term answer, but for 8.04.1 we should pick the thing that's most contained and least likely to affect anything else, IMO16:40
evandagreed, so 1 for now and we'll work on 3 in 8.10.16:41
xivulonsounds good to me16:42
xivulonhttps://bugs.launchpad.net/wubi/+bug/217348/comments/516:42
xivulonI would still need to upgrade grub4dos since that includes fixes for gate A20 #22431116:47
evandok16:52
xivulonevand we posted together :)16:59
xivulon"Forget the above post" now looks bad on my comment to #217348...17:00
evandheh, whoops17:00
xivulonediting comments in LP is #1 on my wishlist17:00
evandcjwatson: for changes to packages that are going to go into proposed (grub-installer), should I create a hardy branch or is it safe to commit to trunk?17:39
cjwatsonhardy branch would be good17:40
xivulonhmm I have already committed a few changes to wubi/hardy branch would that be ok?17:40
evandack'ed17:41
evandxivulon: I'd prefer to have a branch of Wubi for just the things that are going to go into 8.04.117:43
xivulonevand then I will rename hardy -> hardy.old (obsoleted) and re-upload hardy as of 501 (since do not know other way to revert things in launchpad)17:46
xivulonthen I will add hardy.pointrelease or something with the extra changes17:46
xivulonis that ok?17:46
cjwatsonyou can just 'bzr revert -r501' and then commit that, thereby committing a change which takes you back to r50117:48
cjwatson(possibly branching first so that you have the state handy for later)17:48
xivulonah thanks will that later on tonight then17:48
evandam I right in assuming that the proper bzr workflow is make a change in trunk then merge in the hardy branch, so we carry any necessary changes to the next release and preserve the changelog entries?17:55
evandmerge the changes into*17:56
xivulonif so I could also rename hardy->trunk + branch trunk -r 501 and upload as "8.04" + create a third branch called 8.04.118:00
evandthere's no need for three branches18:11
evandwe just need a branch for keeping changes that will go into 8.04.1 and trunk18:11
xivulonso trunk I keep trunk ("hardy" in my case) at r501 and add a new branch with r505+18:12
xivuloncorrect?18:13
evandindeed18:13
xivulonwill do18:13
evandthanks18:13
xivulonnp (should have thought about branching earlier on)18:14
CIA-1ubiquity: evand * r2677 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py): * Handle the migration-assistant UI being fed non-UTF data gracefully.19:07
evandcjwatson: can you confirm the above?  Is the right workflow to make changes in trunk and then merge into the hardy branches for most changes?19:53
cjwatsonevand: that's usually sensible, yes20:22
cjwatsonalthough the other way round is not a critical failure or anything20:22
evandcjwatson: ok, thanks for clearing that up20:23
CIA-1ubiquity: evand * r2678 ubiquity/ (3 files in 2 dirs): * Make capitalization of migration-assistant consistent (LP: #225555).20:31
evandHrm, "Migration Assistant: " generated in scripts/summary and thus untranslated or "None" untranslated? (in reference to bug 225558)20:46
evandI suppose I also have the option of sticking a text question in debconf for either option and gaining translations.20:48
mptevand, do you mean that none of the summary text is localized?20:54
evandmpt: no, it is.20:54
evandthe summary text is translated, but the stuff m-a substitutes in is not20:55
mptIt didn't occur to me at the time, but "Migration Assistant" doesn't appear anywhere else in the interface, does it?20:55
evandhrm, no, I don't believe it does20:55
mptit's the hidden engine20:55
evandshould it just say something like, "Documents and settings to import: "?20:56
mptsure20:56
mptfollowed by either "None", or the list of what it is importing20:56
evandok, will do20:57
cjwatsonI wondered why that text isn't left out for non-m-a installs21:00
evandwell, it wouldn't get translated if I subst'ed it in, but I think what I'm going to do is make ubiquity/none or something similar to hold translations for None21:01
killroy1971Question for the team about the Ubuntu installer22:33
killroy1971the installation hangs at the "detecting hardware" seciton22:36
cjwatsonusually, that's because trying to load a module hung, and is typically a kernel bug of some kind22:42
cjwatsonit may be interesting to know whether the system is otherwise responsive22:42
killroy1971this time it's hanging at the "resizing partitions" section22:43
cjwatsonif you are using the desktop CD, try wiggling the mouse22:43
cjwatsonif you are using the alternate or server CD, press Alt-F2 and then Alt-F1 and see if the screen changes22:43
killroy1971the system is as responsive as a bootable CD can be22:43
killroy1971the gui really slows things down22:43
cjwatsonhow much memory do you have?22:43
killroy19712 GB22:44
killroy1971I built this machine last year and I've run Ubuntu on it before22:44
cjwatsonok, plenty22:45
cjwatsonpop up a terminal and look at the end of /var/log/syslog22:45
killroy1971stand by22:45
killroy1971strange, the install moved forward when I launched terminal22:46
killroy1971I don't have any error messages in the syslog22:48
cjwatsoncurious that starting a terminal nudged it22:49
cjwatsonnote that resize is known to take some time without feedback22:49
killroy1971well I'm at the next step and this is where it's been hanging up22:49
killroy1971it hangs at "detecting file systems"22:50
cjwatsonanything in /var/log/installer/debug or /var/log/kern.log?22:50
killroy1971hey it moved this time, but the difference was that I was running terminal22:51
killroy1971I did get a Python "Future warning" but things are moving along22:52
killroy1971I left this same config last night but it just hung up22:52
killroy1971I wasn't running terminal22:52
cjwatsonfuture warning> probably from the apt module, that one's harmless22:53
killroy1971that's what I figured22:53
cjwatsonrandom freezes that unwedge when you move something smell of lost interrupts to me22:54
cjwatson(again, kernel ...)22:54
killroy1971the kern.log has a warning about the ufstype and a bad magic number22:54
killroy1971maybe it hung up on mounting the new file partitions?22:54
killroy1971one issue with the graphical installer: if you choose to just run the installer you can't pop up a terminal to see what's wrong22:58
cjwatsonshouldn't think so, it's (unfortunately) normal behaviour for a vast number of such warnings to be emitted during os-prober runs22:58
cjwatsontrue, though you can press Ctrl-Alt-F1 and look there22:59
killroy1971really?  I didn't know that was available22:59
killroy1971what does that function do?22:59
killroy1971does it pull up a console or does it display a running log?23:03
cjwatsonctrl-alt-f1> switch to Linux virtual terminal23:09
cjwatsoni.e. switch away from the graphical environment23:09
cjwatsonyou can switch back with alt-f723:09
killroy1971I'll have to try that next time23:11
killroy1971I've done that when I ran Debian and had the video driver dump on me23:11
killroy1971but that was several years ago23:11
killroy1971anyways, thank for your help23:22
xivulonevand,  can you see if you are happy with the wubi branches?23:37
xivulonthen I will add the grub4dos code23:38
xivulonthere is a new branch called hardy.proposed for rev 501+23:38
elixamsalve a tutti!23:42
elixamc'รจ qualche buon'anima a cui posso chiedere un help su ubuntu?23:42
cjwatsonI'm afraid I don't speak Italian; #ubuntu-it might be of more help23:43
elixamops...sorry, right, i'm go to ubuntu.it...tank you  very much23:44
elixambye23:44
elixam:-)23:44
xivulonelixam, Io parlo italiano23:48
xivulonwhat is good practice when a bug is actually fixed in another project (see 217348) shall I mark wubi in such case as invalid?23:51
xivulonor as fix committed?23:51

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