/srv/irclogs.ubuntu.com/2007/02/19/#ubuntu-installer.txt

=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== mpt [n=mpt@121-72-137-28.dsl.telstraclear.net] has joined #ubuntu-installer
saispohi11:58
saispohow can i force to include ide-modules-2.6.17-10-generic-di on my custom cd ?11:58
saispoi have an error on ide-modules in syslog when try to format :/11:59
cjwatson_make sure it's in the installer seed11:59
saispohi cjwatson :)12:01
saispo * /^.*-modules-.*-386-di/12:03
saispoi have this...12:03
cjwatsonwhich does not match anything-generic-di.12:04
saispoyep12:05
saisporeadd this12:05
cjwatsonin edgy we used the 386 kernel in the installer though12:05
cjwatsonif you've changed that then you'll have to make corresponding seed changes12:05
saispoyep12:05
saispobut i don't understand why i have an ide error module...12:06
cjwatsonnor do I; you're much better-placed to debug it locally12:06
saispohw-detect: Missing modules 'ide-mod (Linux IDE driver),12:07
saispoide-probe-mod (Linux IDE probe driver), ide-detect (Linux IDE detection),12:07
saispoide-floppy (Linux IDE floppy)12:07
saispoi have this exactly12:07
saispoand when i use a scenario for partitioning, i have an error with "no system file founds"12:07
saispo(i backport partman-auto)12:07
saispopartman:   No matching physical volumes found12:08
saispoi have this too12:08
cjwatsonignore those warnings. You've misdiagnosed them.12:11
saispook, you think, the error is not in this track ?12:12
cjwatsonthe hw-detect ones, I mean12:12
cjwatsontry manual partitioning and see if it presents any disks12:12
saispomanual partitioning work12:12
cjwatsonthen it is not a matter of missing modules, obviously12:13
saispohw-detect must be backported ?12:13
cjwatsonif you think about it12:13
cjwatsonNO12:13
cjwatsonstop flailing around randomly :-)12:13
cjwatson"No matching physical volumes found" is irrelevant as well12:14
cjwatsonwhat's the exact error you get from autopartitioning?12:14
saispono system files have been choosed for the root (/) partition12:15
cjwatsonis that really the exact error? (it contains a grammatical mistake)12:15
cjwatsonhttp://www.chiark.greenend.org.uk/~sgtatham/bugs.html12:19
cjwatsonspecifically the "Works for me. So what goes wrong?" section12:19
=== Riddell [i=jr@kde/jriddell] has joined #ubuntu-installer
CIA-4ubiquity: jriddell * r1875 trunk/ubiquity/frontend/ (5 files): merge in kde-advanced-partitioner01:00
Riddellthat CIA stuff is hassle to set up01:01
cjwatsonyeah, is just an initial cost though01:01
CIA-4ubiquity: jriddell * r1876 trunk/debian/ (changelog ubiquity-frontend-kde.install): Add a changelog entry and add new .ui files to debian/ubiquity-frontend-kde.install01:03
CIA-4ubiquity: cjwatson * r1877 ubiquity/ubiquity/frontend/gtkui.py: revert spurious debugging output01:05
CIA-4ubiquity: cjwatson * r1878 ubiquity/ubiquity/frontend/ (kde-ui.py partition_create_dialog.ui): spell dialog consistently (I know, it's the US spelling, but it will make things easier if it's consistent)01:08
cjwatsonotherwise looking pretty good; thanks for that!01:11
cjwatsonI'll upload later today01:11
CIA-4ubiquity: cjwatson * r1879 ubiquity/debian/changelog: stray tab01:12
CIA-4ubiquity: cjwatson * r1880 ubiquity/ (configure configure.ac): bump to 1.3.2201:15
Riddelloops, I only checked kde-ui for debugging to remove01:16
cjwatsonno problem01:19
Riddellcjwatson: I take it you plan to add some buttons at some point, so people don't have to discover the right click menu?01:20
cjwatsonyeah01:20
cjwatsonwas planning to do that pretty soon actually01:20
cjwatsonthey'll be needed once the disk bar UI gets in01:21
Riddellyep01:21
Riddellcjwatson: still planning on ubiquity slideshow for feisty?01:22
cjwatson<mumble>01:22
RiddellI see01:22
=== Riddell spots evand
cjwatsonnot sure, it's getting late and I still need to sit down with Ken and talk about artwork for it01:22
Riddellevand: what are the chances of migration assistant for Kubuntu Feisty?01:23
cjwatsonRiddell: I think you missed it in the KDE .ui, but I included a stub partition_list_buttonbox widget in the GTK one01:24
evandRiddell: that would be difficult as I have not had the time to write the functions for importing into the KDE equivs, but when I finish bug fixing I'll start working on it.  I think it's too late for Feisty though.01:30
Riddellevand: ok, a shame but entirely understandable01:35
=== chrisj [n=tortoise@82.152.245.136] has joined #ubuntu-installer
evandRiddell: Indeed, but don't let this be an indication of my commitment to getting m-a working for both DEs.  I will definitely start coding for it as soon as I get the chance.01:37
=== Riddell hugs evand
evandhah, thanks01:39
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
cjwatsoncr3: gtk-on-next is a bug, yes, and I could believe that01:40
saispocjwatson: excuse me, my boss want to see me01:40
cjwatsoncr3: copying the desktop CD to a partition and booting from it is probably not a great test, I'm afraid01:40
saispocjwatson: it's my translated message of the french message ;)01:41
cjwatsonsaispo: I would rather have the untranslated message. I can look it up myself.01:41
saispook01:41
cr3cjwatson: darn, how is booting from a partition different?01:41
saispowill give you01:41
cjwatsonsaispo: when I ask for an exact error message, it's because I want to grep for it. Home-made translations don't help me at all.01:41
saispoi understand01:43
cjwatsoncr3: actually, looking at the relevant casper code, it might be ok01:43
cjwatsoncr3: just make sure you copy the whole CD and not just the squashfs, as ubiquity uses files outside the squashfs01:43
cjwatsoncr3: /preseed/ubuntu.seed can be used to preseed the desktop installation, but the extent to which the desktop installer is preseedable is still quite limited; see the ubiquity-automation spec01:44
cr3cjwatson: I copy the integrality of the desktop cd to its own partition. unfortunately, I have to cp, I haven't managed to dd and then boot off the iso partition.01:46
cjwatsoncr3: if you can get it to boot at all, I suppose it will be fine01:48
saispocjwatson: the exact message in french is : "Aucun systme de fichier n'a t choisi comme racine"01:56
saispo"Veuillez corriger cela a partir du menu de partitionement"01:56
cjwatsonah, partman-target/no_root01:57
cjwatsonsaispo: could you put your preseed file somewhere I can see it, with any passwords removed?01:57
saispocjwatson: ok, i can01:58
saispothks01:58
saispocjwatson: http://www.zarb.org/~saispo/saispo.seed you can see it here02:01
cjwatsonsaispo: looks ok, I think; can I see /var/log/syslog and /var/log/partman from the installer too?02:03
saispook02:03
cjwatsonsaispo: err, you still have d-i    partman-auto/disk string /dev/discs/disc0/disc set there02:04
cjwatsonsaispo: you should remove that with the partman-auto you've backportede02:04
cjwatsonbackported02:04
saispook02:05
saispowill try without it :)02:05
saispocjwatson: same error02:09
saispoit's not my scenario ?02:10
saispobecause in partman log, i see sda02:10
saispoyou want the log ?02:10
cr3I'm attempting to preseed edgy and the installer is prompting on Partition disks. wasn't there some 'manage' or somesuch configuration to define for partman?02:15
saispohttp://www.zarb.org/~saispo/log.partman, http://www.zarb.org/~saispo/log.syslog02:15
saispocr3: i try to preseed edgy too and have some error with partman02:15
cr3aha! I remember what I was thinking of, it was partman-auto/method, but I specified that.02:16
cr3saispo: I remember getting preseeding to work with edgy when partitioning the whole drive, but now I'm trying partman-auto/expert_recipe02:17
saispocr3: same as me02:17
cr3saispo: interesting!02:17
saispocr3: http://www.zarb.org/~saispo/saispo.seed it's my preseed but don't work02:18
saispocr3: have you an example of a preseed file for the whole drive ?02:18
cjwatsoncr3: saispo has an unusual scenario because he's backporting partman-auto02:18
saispocjwatson: i can remove it :)02:19
cjwatsonany chance of me actually having time to analyse your log files? :-P02:19
saispocjwatson: i can test withtout a backported partman if you want02:19
cjwatsonsaispo: that log is from an installation run where you did manual partitioning02:20
cjwatsonsaispo: I want logs from an autopartitioning run02:20
saispok02:20
saispocjwatson: i have :)02:20
cr3saispo: the only difference I can notice between our partman configuration is that I use: d-i partman-auto/expert_recipe string boot-root :: ...02:20
cjwatsoncr3: partman-auto/method is only relevant in feisty02:20
cr3whereas you use: d-i partman-auto/expert_recipe     string root ::02:21
cjwatson(both are wrong, incidentally, although not importantly so - you should use : not ::)02:21
cr3saispo: I don't know the difference between boot-root and root though, perhaps I found it on feisty by accident :(02:21
cjwatson(but this is probably not the cause of this problem)02:21
cjwatsoncr3: they're arbitrary identifiers; makes zero difference02:21
saispocjwatson: http://www.zarb.org/~saispo/log.partman, http://www.zarb.org/~saispo/log.syslog02:22
saisponew log02:22
saispoyou can see no partition detection02:22
cjwatsonsaispo: which simply means the disk is blank02:23
cjwatsonit detected the disk fine02:23
saispoyep02:23
saispobut why he don't create the partion ?02:23
cjwatsonsaispo: could you update the preseed file you're using?02:23
cjwatsonhttp://www.zarb.org/~saispo/saispo.seed02:24
saispoyes i can update it02:24
saispowith what ?02:24
cjwatsonyour current version02:24
cjwatson13:05 <saispo> will try without it :)02:24
saispoi try with this02:24
saispobut not work02:24
cjwatsonurgh, hang on02:24
cjwatsonyou backported partman-auto. How much of it?02:24
saispoi take partman-auto from feisty02:24
saispoi put it on my local repository, he ovveride the partman-auto from edgy02:25
cjwatsonsaispo: I suspect this simply won't work without a local installer expert. Sorry.02:26
cjwatsonI think you'll just have to use 'd-i partman-auto/disk string /dev/sda' for now and deal with having to have different preseed files for different machines.02:27
saispook :(02:27
cr3I copied syslog, partman and my preseed file here: http://people.ubuntu.com/~cr3/preseed/edgy/02:27
cjwatsonI did warn you that this wasn't a guaranteed option02:27
saispoi say...02:28
cjwatsoncr3: your disk is hda, but your preseed file says sda02:28
cjwatsoncr3: fix that and it should work02:28
saispocjwatson: it's possible to have a hook wich detect if it's an hda or an sda and load a template for partition ?02:28
cjwatsonsaispo: yes, kickstart does that, but I'm afraid I don't have time to run you through it, sorry02:29
saispook, i understand, no problem02:30
saispoif [ "$(cat /sys/block/hda/devices/media)" = cdrom ] ; then echo part-auto-sda.cfg; else echo part-auto-hda.cfg; fi02:30
saispothis things may work ?02:30
cjwatsonmaybe02:35
saispocr3: you use DEBCONF_DEBUG=3 ?02:35
cjwatsonI really don't want to have to debug that if it goes wrong though02:35
cjwatsonDEBCONF_DEBUG=5 surely02:35
saispok02:41
saispothks02:41
cr3yes, DEBCONF_DEBUG=502:43
cr3cjwatson: thanks, that's the second time I get bitten by that problem, I need to make it a variable interpolated per machine :(02:44
cr3I'm using the same partman-auto/expert_recipe as on http://people.ubuntu.com/~cr3/preseed/edgy for another machine and I'm getting: Can't have a partition outside the disk.02:58
saispocr3: you thing a variable work for switching between sda or hda ?03:05
cjwatsonI seriously recommend you live with two preseed files until feisty's out03:07
cjwatsoncr3: can I get the syslog for that?03:08
saispocjwatson: yep03:11
saispoi will begin my job under feisty when i finish to fix bug of my edgy support03:11
saispo:)03:11
saispols03:11
CIA-4ubiquity: cjwatson * r1881 ubiquity/ubiquity/ (components/partman.py frontend/gtkui.py frontend/kde-ui.py): move allowed-actions logic into Partman component03:21
CIA-4ubiquity: cjwatson * r1882 ubiquity/ubiquity/frontend/ (gtkui.py kde-ui.py): more informative partman menu entries03:31
cr3cjwatson: http://people.ubuntu.com/~cr3/preseed/feisty/syslog03:34
cjwatsoncr3: partman would be good too03:34
cr3cjwatson: uploaded03:36
CIA-4ubiquity: cjwatson * r1883 ubiquity/ubiquity/frontend/ (gtkui.py kde-ui.py): fix get_actions arguments03:37
cjwatsoncr3: do you know if the disk has one of those Host Protected Area things?03:39
cjwatson'cos it looks like the kernel may be lying to partman about the size of the disk ...03:39
cjwatsoncr3: I'd try to reproduce it with parted from the command line, and if you can, take it to a kernel bug03:40
cr3cjwatson: I'll try a few more machines with the same preseed file03:48
cr3cjwatson: you were right! what's ironic is that I had actually tried it on two machines beforehand and the two returned the same error. I then tried it on a few other machines after your diagnosis and they're working perfectly.03:54
cr3I'll log a bug about the other machines, did you notice anything in either syslog or partman that might be useful to highlight in my bug report?03:55
cjwatsonno, better to just attach the whole thing03:55
CIA-4ubiquity: cjwatson * r1884 ubiquity/ (debian/changelog ubiquity/frontend/gtkui.py): - Add contextual buttons to GTK frontend (part of LP: #83166).03:56
saispocjwatson: i decided to wait for feisty for auto partitioning03:56
saispoi let the user to partition the disk with the feisty release03:56
saispoit will be a new feature for the next release ;)03:56
cjwatsoncr3: btw, your gtk-go-forward bug is 8604704:02
CIA-4ubiquity: cjwatson * r1885 ubiquity/ (3 files in 2 dirs):04:05
CIA-4ubiquity: * Retranslate Forward button when going back from summary page04:05
CIA-4ubiquity:  (LP: #86047).04:05
CIA-4ubiquity: cjwatson * r1886 ubiquity/debian/changelog: LP: #85642 coincidentally fixed04:09
=== chrisj [n=tortoise@82.152.245.136] has joined #ubuntu-installer
CIA-4ubiquity: cjwatson * r1887 ubiquity/ (debian/changelog ubiquity/frontend/gtkui.py): * Fix up step numbers if migration-assistant is disabled (LP: #85711).04:18
CIA-4ubiquity: cjwatson * r1888 ubiquity/debian/changelog: reorg04:20
cr3I'm getting:  The following packages have unmet dependencies: ubuntu-desktop: Depends: gdm but it is not going to be installed, Recommends: ttf-thai-tlwg but it is not going to be installed04:29
cr3that's probably a problem with my mirror or perhaps in the way I'm defining mirrors...04:30
cr3weird, the package is indeed on the mirror: pool/main/t/thaifonts-scalable/ttf-thai-tlwg_0.4.4-0ubuntu1_all.deb04:32
cjwatsonthat's generally a consequence of other breakage; look for the first error rather than the last, and/or retry with -o Debug::pkgProblemResolver=true to the relevant apt tool04:49
cjwatsonunlikely to be an installer problem04:49
cr3cjwatson: I'm not sure where I could specify that option. I suspect the problem is in the multiselect, so would I define something like this in my preseed: tasksel tasksel/first -o Debug::pkgProblemResolver=true multiselect ubuntu-standard, ubuntu-desktop04:56
cjwatsonno no no04:56
cjwatsonnot talking about the preseed file04:56
cjwatsonI mean chrooting in by hand after it all goes pear-shaped04:57
cr3there seems to be a conflict between gdm and gnome-session, which might be caused by my multiselect which specified ubuntu-standard and ubuntu-desktop. I'll try with just ubuntu-desktop as specified in the ubuntu.seed file on the alternate cd05:05
cr3hm, that really doesn't make sense considering both gdm and gnome-session are in ubuntu-desktop metapackage :(05:08
cr3gdm: Breaks: gnome-session (<= 2.17.91-0ubuntu1) but 2.17.91-0ubuntu1 is to be installed, so there's probably a problem with my ordering of mirrors05:10
cjwatsonoh, if it's feisty, then this sort of thing happens transiently05:14
cjwatsongenerally the answer (if you're not in core-dev) is "wait and try again later"05:15
cr3cjwatson: crap, I realy on the alternate install a lot, maybe current is fixed...05:15
cr3or maybe I can fix it temporarily by mounting a unionfs over the iso and copying another gdm or gnome-session package over it, but that probably means I'll have to regenerate the Release files05:19
cjwatsoncr3: the milestone releases shouldn't have this problem. Dailies may be arbitrarily broken05:19
cjwatsonnoooooo05:19
cjwatsonuse a milestone :)05:19
cr3I am using the milestone05:19
cr3I will test the alternate from CD just in case the problem is with my preseeding05:19
cjwatsonhmm, could be, that sort of problem shouldn't have got past basic testing05:20
cr3cjwatson: I have had alternate install failures on herd 2, so I installed everything manually05:20
cr3I mean, I installed the desktop manually, I couldn't test the alternate at all05:21
cr3the alternate install from CD worked, so the problem is indeed with my preseed file05:38
cr3I wonder when mirror/http/hostname is being used and when apt-setup/local0/repository is being used...05:40
cr3so, I added the mirror to the local0 repository and incremented the number of the other repositories, just in case that made a difference05:44
cr3aha! so the problem was that the installation seems to be alternating randomly between repositories when they specify the same target06:13
cr3damnation! now the problem is that the alternate CD only has a partial repository on it! I would need to mirror main and restricted for a milestone which I don't think is possible06:36
=== mpt [n=mpt@121-72-137-28.dsl.telstraclear.net] has joined #ubuntu-installer
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
=== philwyett [n=philwyet@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-installer
=== chrisj [n=tortoise@82.152.245.136] has joined #ubuntu-installer
=== stephans [n=stephans@mail.farorbit.com] has joined #ubuntu-installer
stephansanyone awake here?10:55
cr3stephans: yep, what's up?10:59
stephanshey10:59
stephansare the repositories broken on the cds?11:00
stephansI have loop mounted the cd and also the dvd to a location on a web server...11:00
cr3stephans: they're partial, but not broken as far as I know11:00
stephansah11:00
cr3stephans: the dvd might be complete though, what seems to be missing or conflicting or somesuch?11:01
stephanswhen i try to do an install off of the loopmounted cd the installer can not find the file:11:01
stephanscdrom-core-modules-2.6.17-10-386-di_2.6.17.1-10.34_i386.ude11:01
stephansb11:01
stephansThis is a proble both with the cd and the dvd.11:02
stephansif I remove the instruction ks=... and let the install go off the inet... then it is ok11:02
stephansbut takes for ever...11:03
cr3stephans: you can specify alternate repositories in your preseed file, don't know about kickstart11:03
stephansthe ks.cfg contains the source path to the web server with the loop mounted iso of the dvd11:03
stephanskickstart is supposed to be the same thing...11:04
stephansit is also easy to use...11:04
cr3stephans: ok, so specify the loop mounted iso as primary mirror and another mirror as secondary11:04
stephanshmmm...11:04
stephansok you stumped me...11:05
stephansI do not know how to do that..11:05
cr3I don't know how to do that with kickstart either11:05
stephansI have not found a good how to for the preseed stuff...11:05
cr3stephans: the installation-guide-i386 package contains a useful example file11:05
stephansok11:05
cr3dpkg -L installation-guide-i386 | grep example11:05
stephansok have to install it....11:07
stephanswhat is the supported or official way to do unattended installs with ubuntu?11:10
cr3stephans: kickstart and preseed are supported and official11:22

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