/srv/irclogs.ubuntu.com/2007/12/12/#ubuntu-installer.txt

=== cjwatson_ is now known as cjwatson
tjaaltoncjwatson: so, about the livecd-rootfs/xorg.conf breakage again.. I'm thinking that since livecd-rootfs hasn't changed much, the cleanup of x-x.postinst is the reason why it breaks now15:02
cjwatsonthat seems probable. fundamentally the live CD needs to generate a completely fresh xorg.conf at boot. It's your choice as to how that should be implemented15:03
tjaaltonyep, I need to take another look at what was cleaned up from the postinst15:05
cjwatsonsoren: do you reckon you could take the netcfg/get_domain priority fix that came up on ubuntu-installer@lists yesterday?17:18
cjwatson(make it be asked at priority high in the static case, but still medium for DHCP)17:18
sorenI'm not subscribed to ubuntu-installer, actually.17:18
sorenI probably should be.17:18
sorenWho needs sleep anyway?17:19
soren:)17:19
cjwatsonhttps://lists.ubuntu.com/archives/ubuntu-installer/2007-December/000125.html is the thread17:19
cjwatsonit's a quiet list17:19
cjwatsonnot announcement-only, but the traffic is low anyway17:20
sorenYes, I can tell. :)17:23
sorenI should be able to make that happen.17:24
cjwatsongreat, thanks17:25
cjwatsonnetcfg is in bzr17:25
cjwatsonusual place17:25
sorenGot it.17:25
cjwatsonsoren: I switched all the Original-Vcs-Svn fields I could find over to XS-Original-Vcs-Svn, by the way17:25
cjwatsondidn't bother with uploads just for that though17:25
sorenSure.17:25
evandcjwatson: regarding bug 150872 and bug 175165, they're more of a udev problem, correct?18:01
ubotuLaunchpad bug 150872 in ubiquity "Permanent fstab line for removable CDROM clashes with flash drives." [Undecided,New] https://launchpad.net/bugs/15087218:01
ubotuLaunchpad bug 175165 in ubiquity "Don't add removable drives to /etc/fstab" [Undecided,New] https://launchpad.net/bugs/17516518:01
* evand hugs ubotu 18:01
Goosemoosehi guys, when using a preseed file the splash command in the grub line is giving me a black screen when the computer reboots for the first time18:39
Goosemoosewhat can i change to fix this?18:39
evandwhat does /etc/usplash.conf say?  You don't get a black screen when you boot without the splash argument?18:46
Goosemooseevand, when i remove the splash argument ubuntu loads fine18:58
Goosemooselet me look18:58
evandand you don't have this issue when installing without using a preseed file?18:59
Goosemooseexactly19:00
Goosemoosewow, it didn't pick a good resolution either19:01
Goosemooselooks like crap, changing it manually19:01
Goosemoose# Usplash configuration file19:06
Goosemoosexres=128019:06
Goosemooseyres=102419:06
Goosemoosestill there?19:12
evandindeed, does changing the resolution help?19:15
cjwatsonevand: hmm, perhaps partman-target19:19
evandhrm, ok.19:21
cjwatsonGoosemoose: sounds like bug 15093019:21
ubotuLaunchpad bug 150930 in ubiquity "Black screen, and bad usplash.conf" [Medium,In progress] https://launchpad.net/bugs/15093019:21
cjwatsonpartman-target's hardcoding might be less necessary now that we don't actually *need* the CD post-reboot19:22
AlfafaHi are this channel also for the alternative installation cd?19:23
Alfafaahh I see the topic ;-)19:23
AlfafaI have a problem with creation of raid/md devices both in ubuntu and debian(and I know it works on some machines)19:24
Goosemoosecjwatson, so what should i do to fix the issue?19:42
Goosemoosemanually change the grub file on every install?19:42
cjwatsonit's the usplash configuration file, not grub ...19:46
cjwatsonGoosemoose: hang on, is this the alternate install CD or netboot? if either, it can't be bug 15093019:46
ubotuLaunchpad bug 150930 in ubiquity "Black screen, and bad usplash.conf" [Medium,In progress] https://launchpad.net/bugs/15093019:46
cjwatsonGoosemoose: however, you could overwrite /target/etc/usplash.conf with your preferred version in a preseed/late_command preseed19:47
Goosemoosenetobot19:49
Goosemoosenetboot19:49
Goosemoosehmm , might have to do that19:49
Goosemoosestrange thing is i set the monitor resolution in the preseed file to 1024x76819:51
Goosemoosebut usplash had it larger19:51
bdmurraycjwatson: You've mentioned that bug 173954 is a high priority for Hardy but it is still New19:58
ubotuLaunchpad bug 173954 in ubiquity "Installer deletes entire disk without warning" [High,Triaged] https://launchpad.net/bugs/17395419:58
bdmurrayhunh19:58
bdmurrayIt was still new a while ago19:58
* bdmurray carries on19:58
Goosemooseok so changing the usplash.conf file worked20:21
Goosemooseis there a good doc on how to use the preseed/late_command?20:21
Goosemoosei haven't used it yet so no idea how to do things like that20:22
Goosemoosestill dont know why it doesn't listed to the preseed file though20:22
cjwatsonbdmurray: :-)20:31
cjwatsonGoosemoose: should be in the preseeding appendix to the installation guide20:31
cjwatsonhttps://help.ubuntu.com/7.04/installation-guide/i386/appendix-preseed.html20:31
cjwatsonspecifically https://help.ubuntu.com/7.04/installation-guide/i386/preseed-advanced.html#preseed-shell20:32
Goosemoosecjwatson, i saw that page, it just lists an example20:34
Goosemoosenothing about how to do it20:34
Goosemooseis it just a string of command separate by a ; ?20:34
cjwatsonthe value of preseed/late_command is run as sh -c "whatever"20:39
cjwatsonso basically, yes20:39
Goosemooseok21:04
Goosemooseshouldn't: xserver-xorg xserver-xorg/config/monitor/mode-list \21:05
Goosemoose      select 1024x768 @ 60 Hz21:05
Goosemoosein the preseed have set the usplash.conf to 1024x768?21:05
evandaiui, usplash sets its configuration independent of that.21:06
cjwatsonusplash works off xserver-xorg/config/display/modes21:07
evandah, my mistake21:07
cjwatsonyou could try setting that instead21:08
cjwatsonxserver-xorg xserver-xorg/config/display/modes 1024x76821:08
bdmurraycjwatson: I saw you were editing the bug day wiki.  I wrote a vim command mapping that makes it slightly easier with editmoin - but I end up editing it a lot21:08
cjwatsonyou could just set that as well, in fact. I don't recall the exact control flow21:08
cjwatsonbdmurray: seeing as firefox just crashed, yeah, feel free to send that over ;)21:09
Goosemoosehm ok, i didn't have that set21:09
Goosemoosecjwatson, would i disable auto detect then?21:10
bdmurraycjwatson: https://lists.ubuntu.com/archives/ubuntu-bugsquad/2007-November/000666.html21:10
cjwatsonbdmurray: thanks!21:19
cjwatsonGoosemoose: not sure offhand, sorry, better to ask X folks21:19
CIA-18ubiquity: cjwatson * r2382 ubiquity/bin/ubiquity: note about xserver-xorg keyboard preseeding21:22
Goosemooseok, so, im still getting the Partition Disks prompt21:24
superm1cjwatson, :)21:24
Goosemoosehere's my partition info21:24
Goosemoosed-i partman/confirm_write_new_label boolean true21:24
Goosemoosed-i partman/choose_partition \21:24
Goosemoose       select Finish partitioning and write changes to disk21:24
Goosemoosed-i partman/confirm boolean true21:24
cjwatsonyou need to preseed partman-auto/disk and partman-auto/method to set up autopartitioning, otherwise you'll get partitioning prompts; see the installation guide which I believe goes into this21:25
cjwatsonhttps://help.ubuntu.com/7.04/installation-guide/i386/preseed-contents.html#preseed-partman21:25
Goosemoosealready had d-i partman-auto/disk string /dev/hda21:26
Goosemooselet me look for the other21:26
Goosemooseoh i had commented out the method because i kept getting errors21:26
cjwatsonfor normal partitioning, you'd also want 'd-i partman-auto/method string regular'21:26
Goosemooseif this is a simple install for schools should i use lvm?21:27
cjwatsoncommenting out the method "avoids" the errors by skipping autopartitioning entirely, which I don't think is what you want ;-)21:27
cjwatsonI'd just use regular for a simple install21:27
Goosemooseok21:27
Goosemooseok did that cj21:31
Goosemoosenow i get21:31
GoosemoosePartition Disks21:31
GoosemooseNo root file system21:31
GoosemooseNo root file system is defined21:31
Goosemoosei used21:32
Goosemoosed-i partman-auto/method string regular21:32
cjwatsonlook in syslog for more information21:35
* cjwatson goes on holiday, back Monday21:36
Goosemooseok, quite a few messages there21:39
Goosemoosepartman says21:39
Goosemooseno matching physical volumes found21:39
Goosemooseno volume gourps found21:39
Goosemoosealso a few21:39
Goosemoosekernel messages21:39
Goosemooseend_request: i/o error, dev fd0, sector....21:40
Goosemoosecj, the doc you linked to doesnt mention auto/method at all21:52
cjwatsonGoosemoose: yeah, it's a 7.04 guide and out of date for 7.10, trust me that you need it for 7.1021:55
cjwatsonI've prodded the help.ubuntu.com guys about uploading a 7.10 guide21:56
Goosemoosegotcha21:56
Goosemoosewell, adding it triggers the error21:56
cjwatsonactually, you need partman-auto/method on 7.04 too, the guide was just broken :-/21:56
Goosemoosenot sure what the reasoning is but a manual prompt choice and choosing put it all in one partition worked21:56
cjwatsonGoosemoose: sure, but only because if you leave it out, autopartitioning doesn't happen AT ALL21:56
cjwatsonplease take my word on this, you need it to do sane autopartitioning21:57
Goosemoosei have added it21:57
cjwatsonthe things you quoted in syslog aren't relevant21:57
Goosemoosei totally understand and believe you21:57
cjwatsonmight be more useful to put the whole log somewhere21:57
cjwatsonanyway, I'm meant to be on holiday :)21:57
Goosemooseok what type of commands am i looking for, i stopped immediately at the prompt21:57
Goosemoosewell, go have some fun then!21:57
cjwatson'anna-install openssh-client-udeb' and you'll be able to scp the syslog out21:58
Goosemooseok21:59
Goosemooseran that, looked like it was installing some stuff but it still gets denied when trying to ssh in22:02
jbaileyHey - hacking on Ubuntu installer to do ntpdate for us, but we don't have /etc/services.22:31
jbaileyIt looks like hacking ntpdate to provide sensible defaults in the absence of that is going to be annoying, and possibly not practical.22:31
jbaileyOpenssh seems to cope by not using getaddrinfo, and just doing all the lookup steps one at a time.22:32
jbaileyIs that the right approach?  I can imagine upstream not being happy about taking that.22:33
Goosemoosewhat would the d-i command be to tell installer to use the guided-whole disk, because that's what works when i do it manually22:38
Goosemoosehmm i wonder if isa-server is part of my problem22:41
Goosemoosewould this be accurate:22:51
Goosemoosed-i preseed/late_command string apt-install ssh22:51
sorenjbailey: You can't postpone the ntpdate call until netbase is installed?23:02
jbaileysoren: I think the hope it to run it as early as possible to make logging has the right timestamp.23:03
jbaileyAnd if we're really lucky, they're not doing anything with kerberos that early, but I can't entirely put it past them.  Logging was an earlier concern of theirs though.23:03
sorenjbailey: Ah.. Well, you *could* just put in a temporary /etc/services with just ntp in it..23:03
jbaileyIf we won't get smacked for that, it would be nice.23:04
sorenjbailey: But that's not particularly pretty either.23:04
sorenjbailey: I don't know. I've not messed around with the installer much, but it seems like the most innocent solution I can think of to create a temporary /etc/services in the installer's root. There's no need to pollute the /target with it, I guess?23:06
Goosemoosesoren: is :  d-i preseed/late_command string apt-install ssh correct?23:07
jbaileyno, not at all.  We could literally create it, run ntpdate, and then blow it away.23:07
sorenjbailey: Or just leave it.23:07
sorenjbailey: If you create it from its postinst (i.e. not ship it in the udeb), it shouldn't get in anybody's way.23:08
jbaileyThanks, soren.23:08
sorenGoosemoose: I'd do "apt-get install" instead of apt-install, though.23:08
sorenGoosemoose: At the time of late_command, that should be available, afaik.23:08
sorenjbailey: I'd still run it by cjwatson, though.23:09
sorenjbailey: He's full of magic tricks. :)23:09
Goosemoosesoren, ok maybe thats why im getting the install error23:10
sorenGoosemoose: Er.. No, apt-install should be fine, by the way.23:38
Goosemoosedamn23:38
Goosemoosestill got the error either way23:38
sorenGoosemoose: "the error"?23:38
GoosemooseInstallation Step Failed23:38
Goosemooseon the23:38
GoosemooseSelect and Install Software screen23:38
Goosemoosejust popped up seconds ago23:38
Goosemoosegoing to look at syslog23:38
Goosemooseok23:40
Goosemoosei see after a bunch of get calls on the local apt-cache server23:40
GoosemooseE: Method http has died unexpectedly!23:40
Goosemoosetasksel: aptitude failed (100)23:40
Goosemoosethose are in-target23:40
Goosemoosemain-menu[2994]: Warning ** : Configuring pkgsel failed ....23:41
sorenAnd that doesn't happen if you omit your late_command?23:43
Goosemooseno23:47
Goosemooseit works fine23:47
Goosemooseim wondering if there's a problem going through the ISA server23:47
Goosemooseeverything i see is going through http://10.0.2.131 which is allowed all access and is running apt-cache23:48
Goosemooseim thinking maybe something is trying to bypass apt?23:48
sorenI don't quite understand why the tasksel step will fail because of late_command being set.23:51
sorenI'm going to have to pass.23:51
Goosemooseheh doh23:52
Goosemooseim ready to throw these out the window and go back do my win xp images. at least i had those all setup.23:53
GoosemooseMy linux desktop knoweldge isn't there. I'm great at LAMP, been doing that for a decade, but outside that realm, I'm all windows networking23:53
sorenGoosemoose: It might not be a very difficult to solve problem. I'm just not really an installer expert by any standard.23:54
Goosemoosei know. i've been going in circles for 2 weeks now23:54
Goosemoosecjwatson has been a lot of help23:54
Goosemoosei have a machine all setup, authenticates against the windows domain and everything, wish i could just image the damn thing and copy it23:55
sorencjwatson: Do you happent to have a clever test setup for the various d-i compontents? I've got a patch for the netcfg stuff we discussed rearlier, but I'd like to test it before committting it.23:59
sorenWow... typing is hard.23:59

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