/srv/irclogs.ubuntu.com/2008/01/11/#ubuntu-installer.txt

CIA-8debian-installer: cjwatson * r868 ubuntu/ (build/config/powerpc.cfg debian/changelog):00:22
CIA-8debian-installer: * Drop powerpc/cell subarchitecture at least for now, as the kernel no00:22
CIA-8debian-installer:  longer builds it.00:22
CIA-8console-setup: cjwatson * r39 ubuntu/debian/changelog: releasing version 1.19ubuntu200:32
evand:q01:11
evandwhoops01:11
twbI'm trying to do "d-i preseed/include string common.cfg" to put common bits (like the locale) across Gutsy and Etch in a separate .cfg file.01:44
twbd-i fails to fetch common.cfg, is it because after setting mirror/http/proxy it uses the proxy for the preseed files, too?01:44
twbnewsflash!  It does use the proxy01:47
twbCan I use d-i apt-setup/something to set the proxy *only* for apt-get, (well, and anna-install)?01:48
twbOr, can I set a no_proxy variable?01:48
Le_Vert_hi :)09:21
Le_Vert_okay :)10:10
Le_Vert_I managed to start ubuntu 7.10 by pxe / nf10:10
Le_Vert_nfs10:10
Le_Vert_all what's needed is to disable network manager launch by dbus10:11
Le_Vert_because it causes network connection reset10:11
Le_Vert_and thus, break the /10:11
Le_Vert_but there's still something I don't like10:18
Le_Vert_with the livecd, I get a gnome session10:18
Le_Vert_with the pxe/nfs boot, I get gdm login screen10:18
Le_Vert_do you know what's the problem could be ?10:19
cjwatsonare you sure it's set up a tmpfs correctly?10:20
cjwatsonthe code that sets up autologin doesn't look like it should care whether it's booting from CD or net10:20
Le_Vert_tmpfs for what ?10:20
cjwatsonbut it will need to write to /etc/gdm/gdm.conf ...10:20
cjwatsonas in, the root filesystem should have ended up as a unionfs containing the read-only squashfs plus a writable tmpfs10:21
Le_Vert_yes... that's not the case10:21
Le_Vert_here is how it works for now10:21
Le_Vert_boot with root=/dev/nfs nfsroot=/path/to/squash/nfs/export ip=dhcp10:22
Le_Vert_so casper is not used at all10:22
Le_Vert_so now unionfs10:22
cjwatsonwell that won't work10:22
cjwatsonyou have to have casper involved :)10:22
Le_Vert_I guess I'll have to do this by hand10:22
cjwatsonit's not possible to boot an Ubuntu live session without either casper or a reinvention of casper10:23
Le_Vert_mmmh10:23
Le_Vert_so what's the right way ?10:23
Le_Vert_find something a casper'ized initrd ?10:23
cjwatsonwell, I sketched it yesterday10:23
cjwatsonwhat went wrong?10:23
Le_Vert_dunno, I'm trying to figure out how to use casper for now :p10:24
cjwatsonyou should be using /casper/vmlinuz and /casper/initrd.gz from the live CD as the starting point10:24
Le_Vert_replace ubuntu stock kernel by the livecd one10:25
cjwatsonand pass NETBOOT=nfs NFSROOT=server:/path on the kernel command line10:25
* Le_Vert_ 's giving a try10:25
cjwatsonwhat's to replace? they're the same10:25
cjwatsonit's the initrd that's special10:25
Le_Vert_yes and I'm not using the right one :)10:25
Le_Vert_my kernel/initrd are not using casper at all10:25
cjwatsonlike I say, I'm sure the above won't be perfect and there'll be some things to fix, but it's the way to start10:25
Le_Vert_so I'll just replace them by the livecd one and check if it works better10:25
cjwatsonah, well that would be a problem yes :)10:26
cjwatsoncasper isn't particularly deep magic or anything, but it does do stuff like creating a live session user, setting up autologin, disabling some stuff that doesn't make sense in a live session ...10:27
cjwatsonif you're netbooting, casper will put a 'static' entry in /etc/network/interfaces, which should have the effect of disabling network-manager10:28
cjwatsons/static/manual10:28
Le_Vert_that worked better with the ubuntu stock kernel :p10:30
Le_Vert_initrd doesn't initiliaze the network card10:31
cjwatsonmy point is not that this will work directly but that once you get it working you will not have stupid niggling issues like network-manager and autologin10:32
cjwatsonand again, the kernels are bit-for-bit identical10:32
cjwatsonhmm, it seems to try to use busybox ipconfig10:33
cjwatsonis the network device there at all and just not being DHCPed, or is it totally missing (e.g. relevant kernel module not loaded)?10:33
Le_Vert_eth0: linkup10:33
Le_Vert_then drop me to a busybox initrd shell10:34
Le_Vert_(no /sbin/init)10:34
Le_Vert_can't see and dhcp request10:34
cjwatsonwhat happens if you do 'ipconfig eth0' from there?10:34
cjwatsonactually, first, what's in /netboot.config?10:34
Le_Vert_err that's strange10:34
Le_Vert_ifconfig show me eth0 is okay10:34
cjwatsonipconfig10:34
cjwatsonthat was NOT a typo10:35
Le_Vert_and even mount show nfsroot has been mounted to /root/cdrom10:35
cjwatsonhmm, ok10:35
cjwatson/casper.log please?10:35
Le_Vert_(and I can read /root/cdrom)10:35
cjwatsonok, so that's a good start10:35
Le_Vert_full of no such file or directory10:36
Le_Vert_(casper.log)10:36
Le_Vert_got it :)10:41
Le_Vert_got it10:42
Le_Vert_!!10:42
Le_Vert_:)10:42
Le_Vert_You really want to export the iso mounted, not the squashfs image10:43
cjwatsonsorry, had to clean up after the dog (don't ask)10:54
cjwatsonyes, you're quite right - sorry about that, my mistake :-/10:54
Le_Vert_no problem11:04
Le_Vert_you ware really nice to help me through this success :)11:04
cjwatsonwow, did it just work after that?11:23
cjwatsonI've created https://wiki.ubuntu.com/LiveCDNetboot as a starting point for documenting this11:24
Le_Vert_yes cjwatson12:44
Le_Vert_it does work :)12:44
Le_Vert_I just made an initial pressed config based on evand one12:44
Le_Vert_ps: no need to copy, mounting the iso as loop is enough12:45
Le_Vert_you have to pass boot=casper too12:45
Le_Vert_(kernel parameter)12:45
Le_Vert_however ubiquity failed (partman broke)12:47
cjwatsonok, made those changes. I think for some people copying will be more convenient as then they won't have to arrange for the ISO to be loop-mounted on every boot12:47
Le_Vert_are you sure ubiquity can be partially presseded ?12:48
cjwatson(direct loop-mounting is less worrying if squashfs isn't involved)12:48
cjwatsonLe_Vert_: please show me (a) preseed file with passwords removed (b) /var/log/syslog12:48
cjwatsonyes, I am sure it can be partially preseeded; but not all combinations will necessarily work :-) and you might be running into some other problem12:49
Le_Vert_http://paste.ubuntu.com/3472/12:49
Le_Vert_(ps: you can add quiet slash as kernel parameters too ;))12:49
cjwatsonslash?12:49
cjwatsonoh, splash12:49
Le_Vert_this presseed file is supposed to do everything, except disk partitionning and user account creation12:49
Le_Vert_(yes splash, sorry)12:50
Le_Vert_(and I guess root should be exported with no_root_squash)12:50
Le_Vert_(I didn't give a try without this option but I bet it will fail)12:50
cjwatsonyeah12:51
cjwatsonpreseed file looks fine, need syslog12:52
Le_Vert_yep but I can't get a shell :D12:52
Le_Vert_I'm pretty sure ctrl+alt+fX in vmware is ctrl+fX or alt+fX12:53
Le_Vert_but none drop me to a console tty12:53
Le_Vert_:/12:53
cjwatsonctrl-alt-shift-f112:53
cjwatsonor ctrl-alt-space ctrl-alt-f112:53
Le_Vert_err I'm so stupid sometimes12:54
Le_Vert_syslog on the way....12:54
cjwatsonalternatively, cancelling the installer should drop you into a normal session12:54
Le_Vert_it doesn't12:55
Le_Vert_(probably because of auto-ubiquity kernel parameter)12:55
cjwatsonfor testing purposes I'd advise launching the installer manually from a shell12:56
cjwatsonit'll get rather tedious otherwise12:56
cjwatsonubiquity --automatic12:56
Le_Vert_http://paste.ubuntu.com/3474/12:57
Le_Vert_looks like being a floppy issue12:57
Le_Vert_but none is defined in the vmware virtual computer12:58
cjwatsonred herring12:58
Le_Vert_?12:58
cjwatsonnot a floppy issue, that just happens to be adjacent in the logs12:59
cjwatsonhmm12:59
Le_Vert_File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1122, in watch_debconf_fd_helper < fd_helper = floopy disk helper ?13:00
cjwatsoncould you run parted and see if it recognises the disk?13:00
cjwatsonfd => file descriptor. Forget about floppies. They are not relevant to this.13:00
Le_Vert_okay :)13:00
cjwatson(you might need to run parted as root to let it poke at partition tables)13:01
Le_Vert_parted read the disk successfully13:02
Le_Vert_it's a debian etch installation on it13:02
Le_Vert_with ext3/swap/xfs filesystems13:02
Le_Vert_fdisk read it too13:02
cjwatsonok, could you reboot without auto-ubiquity, run 'ubiquity --automatic --debug' from a shell, reproduce, and get /var/log/installer/debug?13:03
Le_Vert_off course I do ;)13:03
Le_Vert_minute...13:03
Le_Vert_another feature request...13:04
Le_Vert_could you please add console-data into the cd root ?13:04
Le_Vert_that would be really great if azerty keyboard owner could use loadkeys :p13:04
cjwatsonconsole-data is obsolete13:05
cjwatson(in Ubuntu)13:05
cjwatsonbug 83487 is scheduled to be fixed in hardy13:05
ubotuLaunchpad bug 83487 in console-setup "old-style loadkeys invocations no longer work" [Low,Confirmed] https://launchpad.net/bugs/8348713:05
Le_Vert_okay :)13:06
cjwatsonI'd suggest putting console-setup/layoutcode=fr on the kernel command line for the time being13:06
Le_Vert_okay :)13:07
Le_Vert_starting ubiquity in debug mode....13:07
Le_Vert_http://www.le-vert.net/divers/debug13:10
Le_Vert_no clue ?13:16
cjwatsonevand: ^-- looks like the seen flag hack has some problems with partman - maybe we need to avoid questions being accidentally marked as seen when they're never presented to the user?13:17
cjwatsonLe_Vert_: right, while partial preseeding should *in general* work, looks like it has some problems in this specific case13:17
Le_Vert_sounds bad13:18
Le_Vert_I may pressed the question as not seed ?13:18
Le_Vert_s/seed/seen/13:18
cjwatsonno, it's getting marked that way due to internal actions13:18
Le_Vert_but that internal process may be overriden by a user preseed ?13:20
cjwatsonno13:22
cjwatsonit's a bg13:23
cjwatsonbug13:23
cjwatsonubiquity uses d-i as much as possible in order to reduce the amount of code duplication involved13:23
cjwatsonbut the UI models are quite different, and resolving those differences can be difficult in some places13:24
cjwatsonthis is one of those places13:24
Le_Vert_okay....13:24
Le_Vert_so no preseed13:25
Le_Vert_or all preseed13:25
Le_Vert_could you please report this bug and add me as 'cc' ?13:27
Le_Vert_gandalf@le-vert.net13:27
cjwatsonI think things other than partitioning should work OK if partially preseeded13:29
cjwatsonit's just that the partitioner is weird, as always :-/13:29
cjwatsonyou're launchpad.net/~gandalf-le-vert?13:29
Le_Vert_yes13:29
Le_Vert_I never created an account there13:30
Le_Vert_I think it got imported from debian13:30
Le_Vert_cause I have some packages there :)13:30
cjwatson:-)13:30
Le_Vert_i'm not really aware of the ubuntu specific stuff13:34
Le_Vert_like launchpad and ubiquity13:34
Le_Vert_that's why I think you'll be a really better bug reporter ;)13:34
cjwatsonbug 18200413:37
ubotuLaunchpad bug 182004 in ubiquity "partitioner fails if partially preseeded due to seen flag madness" [Undecided,New] https://launchpad.net/bugs/18200413:37
Le_Vert_thanks :)13:57
Le_Vert_I'll just have to wait that evand fix this bug :p13:57
evandhooray.  I'll look into it after I release a new ubiquity.  cjwatson, do you mind if I release a new oem-config as well?14:22
cjwatsongo ahead14:27
evandok14:27
CIA-8ubiquity: evand * r2403 ubiquity/ (d-i/manifest debian/changelog):14:37
CIA-8ubiquity: * Automatic update of included source packages: console-setup14:37
CIA-8ubiquity:  1.19ubuntu2, partman-auto-loop 0ubuntu12.14:37
Le_Vert_evand: do you think the fix will be backportable to 7.10 ?14:51
evandWe don't backport new releases of ubiquity, but I suspect the patch will apply cleanly to 7.10.14:53
Le_Vert_okay...14:56
CIA-8ubiquity: evand * r2404 ubiquity/debian/changelog: releasing version 1.7.314:56
Le_Vert_then I'll backport the fix to ubiquity package or just apply the diff against the ubiquity binary directly :)14:56
Le_Vert_I'll see14:57
evandTo clarify, we don't make new releases of ubiquity for older versions of Ubuntu because nothing updates the installer from the archive before running, nor do we release new CDs (LTS aside).14:58
evandBut yes, I imagine it wont be hard to give you an updated deb.14:58
evandSorry about the lack of clarity on that.14:58
Le_Vert_that sounds great ;)14:59
Le_Vert_any estimated ETA for the fix ?15:00
Le_Vert_I'd go ahead with that project asap ;)15:00
evandhonestly, no idea.  I've read through your conversation with cjwatson, but I have not had a chance to take a hard look at the problem yet.15:00
Le_Vert_just boot the ubiquity with the preseed file attached, and the bug will appear :)15:02
evandheh, indeed15:03
Le_Vert_anyway, thanks a lot to all d-i team for your help :)15:03
evandyou're welcome15:05
CIA-8ubiquity: evand * r2405 ubiquity/ (configure configure.ac): bump to 1.7.415:42
CIA-8oem-config: evand * r394 oem-config/ (aclocal.m4 d-i/manifest debian/changelog):16:00
CIA-8oem-config: * Automatic update of included source packages: console-setup16:00
CIA-8oem-config:  1.19ubuntu2.16:00
CIA-8oem-config: evand * r395 oem-config/debian/changelog: releasing version 1.2516:12
evanduh oh16:23
cjwatson?16:25
evandcjwatson: I missed that configure{|.ac} was at 1.24 and didn't bump it to 1.25 with that upload.  I'm not sure what the correct path is here.  Should I just upload 1.26 with the correct versioning?16:25
cjwatsonit's not critically important16:25
cjwatsonjust bump it in bzr16:25
evandok16:25
cjwatsonI imagine nobody else will notice16:25
cjwatsonit just affects --help and --version, possibly even only for ./configure16:26
evandah, fantastic16:26
cjwatsonI'd actually prefer autoconf to suck it out of debian/changelog automatically, and I did try to implement that once, but it wasn't working very well16:26
cjwatsonI might try it again at some point16:26
evandhm, that would be quite neat16:31
CIA-8oem-config: evand * r396 oem-config/ (configure configure.ac): Bump to 1.2616:34
xivulonevand hi17:44
xivulonevand hi17:44
evandhi xivulon17:44
xivulondid you have any chance to start tackling the patches?17:44
evandxivulon: I looked them over and they appear to be fine.  I'll start merging them in today.17:45
xivulonI'll try to be on chat/jabber in case you have question17:46
xivulons17:46
xivulona few upstream patches are duplicated in lupin-support17:47
evandok.  Worst case scenario, if I can't reach you and have a question, I'll just email you and hold off on that particular patch.17:47
evandoh, you needed this by the weekend though, right?17:47
xivulonthat will need to be cleaned up, after the first round of marges17:47
xivulonideally yes, so I can try to play with wubi over the w/e17:47
evandok17:48
xivulonthanks a lot17:48
evandyou're welcome17:49
xivulonTo make things easier you can work in this order17:53
xivulon1) merge ~ago/partman-auto-loop/lupin-support  with partman-auto-loop17:53
xivulonthat takes care of 4 separate bug reports17:53
xivulon2) use the new lupin/hardy branch (no need to spend too much time over lupin-support since that will be put on diet)17:54
xivulonthat affects 2 packages lupin/casper and lupin-support17:55
xivulon3) grub patches: 181658 17577217:57
xivulon4) init.d patches 151579 18166917:58
xivulon5) poke mjg59 over 17611217:59
xivulon6) poke steve over 14045818:00
cjwatsonROOTFSTYPE and LOOPFSTYPE would be set if those options were passed.18:00
cjwatsonbut it seems reasonable to do the pidofs regardless. I've reassigned that bug to the correct package.18:00
xivulonthanks18:01
cjwatsonI really doubt 176112 is going to happen. I think you get to live with suspend-to-ram not working18:01
cjwatsonat least I wouldn't rely on it being fixed18:01
xivulon:(18:01
xivulonmy guess is that there is a similar situation to the one we fixed with sendsigs.omit18:02
xivulonwhereby fuse/ntfs-3g are stopped too early18:03
cjwatsonsuspending to RAM doesn't unmount filesystems or kill processes18:03
xivulondo not know how it works internally, but I guess it must somehow freeze current processes to get a memory snapshot18:04
cjwatson(well, it kills *some* processes like dhclient, but not these ones)18:05
cjwatsonsuspend-to-RAM doesn't take a memory snapshot18:08
cjwatsonit turns off devices and puts the CPU into a low-power state18:08
cjwatsonyou're thinking of suspend-to-disk (a.k.a. hibernate)18:08
xivulonyou are right18:10
xivulonyou are right18:10
evandwhich mjg59 seems to think is broken anyway18:11
xivulonI thought I remembered something matthew said about the "ordering" with which things were processed18:12
xivulonhibernation has additional problems, in that on top of fuse, has to work with swap on a file18:12
evandcjwatson: Do you have any thoughts on bug 177868?  Specifically, I'm concerned about having to pull in a format script for every filesystem we want to work with.  Then again, I don't see that being much of a problem as we only really care about ext3.19:31
ubotuLaunchpad bug 177868 in wubi "When loopfiles are used mkfs has to target the file and not the containing device" [Low,Fix committed] https://launchpad.net/bugs/17786819:31
cjwatsonevand: I think unfortunately we are going to have to modify all the partman-* filesystem implementations; it's annoying but hard to avoid19:36
cjwatsonevand: the patch there is wrong though19:37
cjwatsonevand: there's no reason to run losetup; the loop device is saved in the 'loop' file mentioned there precisely so that things that partman-ext3 can get at it19:37
cjwatsonso it should just check for the loop file and use its contents19:37
evandyeah, I thought the first bit might be an option, but I wasn't sure if you wanted to keep them clean of this.19:38
evandok19:38
cjwatsonpreferably, it should arrange to set $device to the loop device name so that you don't have to duplicate the mkfs.ext3 code19:38
cjwatsonI *want* to keep them clean of this, but I'm not sure we can :-/19:39
evandheh19:39
evandindeed19:39
cjwatsonhaving the filesystem implementations out of sync in that kind of way is bad mojo19:39
evandyeah, I figured as much19:39
evandcjwatson: if you have a free moment, can you give this a quick look over: http://pastebin.ubuntu.com/3488/ .  Always forcing isn't going to break some case that I haven't considered, will it?21:19
evandhm, that's a silly question.  Nevermind then.21:21
cjwatsonevand: I *think* that's OK, but if you're worried, you could do force=-F inside the first if and then pass $force (without double-quotes) to mkfs.ext321:25
evandah, good point21:26
evandugh, I just made a mess by not realizing that we had synced the last few versions of partman-ext321:33
* evand goes to unbreak things21:33
xivulondo you prefer that I clean-up lupin-support now?21:52
xivulonsince it contains some of the upstream-patches21:53
evandsure, if you so desire.21:56
xivulondone but cannot connect to launchpad22:43
agoevand lupin/hardy rev 7923:02
evandok, thanks23:18

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