/srv/irclogs.ubuntu.com/2007/01/10/#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
evandcjwatson, any tips for detecting what partitions will still exist when partman commits?  There doesn't seem to be a debconf question associated with it and my hunch is I'll have to look in /var/lib/partman/devices.08:05
cjwatsonevand: your hunch is more or less correct08:11
evandok, thank you08:12
cjwatsonevand: as long as parted_server is running (should be, if you're running after partitioning), 'from ubiquity.parted_server import PartedServer; parted = PartedServer(); parted.select_disk(blah); partitions = parted.partitions()'08:12
cjwatsonor words to that effect08:12
cjwatsonyou'll have to iterate over parted.disks() yourself08:13
evandneat.  Ok, I'll see what I can come up with.08:13
evandAlso, the latest commit(s) on my branch has handling multiple errors in one pass working.  Just wanted to give you a heads up.08:14
cjwatsonexcellent08:14
evandit's kind of hacky though.  I had to modify ma-ask to accommodate it, but I played around with a few other options and this seems to be the cleanest and the only one that works 100%.08:15
lifelesscjwatson: the changes needed for debians' casper are to change the /cdrom to /live_media, to reflect that it may not be a cdrom08:19
lifelesscjwatson: that, or to reject that part of the debian casper changes08:19
=== dabaR [n=dabaR@wnpgmb09dc1-77-211.dynamic.mts.net] has joined #ubuntu-installer
dabaRI am trying to netboot install ubuntu on my ppc powerbook. I am using dnsmasq and tftpd-hpa. My tftpd-hpa is started standalone by running "/usr/sbin/in.tftpd -l -v -v -v -v -v -s /tftpboot -a 192.168.0.1:69", my dnsmasq.conf has the following line: "dhcp-boot=yaboot,dabar,192.168.0.1". The contents of my /tftpboot are same as http://archive.ubuntu.com/ubuntu/dists/feisty/main/installer-powerpc/current/images/powerpc/netboot/. I 08:30
=== evand [n=evan@ubuntu/member/evand] has joined #ubuntu-installer
cjwatsonlifeless: IMO that should be rejected; ubiquity uses code from d-i that assumes /cdrom09:51
cjwatsondabaR: you were cut off after ".../netboot/. I"; IRC has a line length limit09:52
lifelesscjwatson: fair enough. However, I'll let you and mithrandir have that discussion09:52
lifelesscjwatson: I'm not advocating any specific approach, just that we dont break things :)09:53
dabaRhttp://paste.ubuntu-nl.org/1024/09:54
tepsipakkidabaR: try /var/log/daemon09:56
cjwatsonpersonally I generally just strace the freaking tftpd to work out what it thinks it's doing09:58
cjwatsonI've found that to be the quickest approach in practice09:58
dabaRk, I will try later. Thanks.09:58
=== mpt [n=mpt@121-72-135-240.dsl.telstraclear.net] has joined #ubuntu-installer
=== 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
=== secureboot [n=lstclair@coriakin.cse.psu.edu] has joined #ubuntu-installer
secureboothow do I set the language and keyboard layout for edgy in the preseed OR on the append line in isolinux.cfg?03:48
cjwatsonsee the installation guide, linked from http://help.ubuntu.com/04:00
cjwatsonpreseeding advice is in an appendix04:00
securebootcjwatson: yeah, that doesn't answer it correctly, I don't think04:09
secureboothttps://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html lists a debian edgy example preseed that doesn't work04:09
secureboot404ed04:09
securebooti dont' see links on those pages to submit either modifications or bugs04:09
secureboothttp://archive.ubuntu.com/ubuntu/dists/breezy/main/installer-i386/current/doc/manual/en/apcs01.html04:09
securebootthat's the appendix example I find04:09
securebootbut it's for breezy04:09
securebootso not terribly surprising that it doesn't work for language choosing04:10
thomcjwatson: is there any way to blacklist modules from the installer? i absolutely don't want to load usb_storage04:23
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-installer
cjwatsonsecureboot: debian-installer/locale should work - you just need to put it on the kernel command line04:44
cjwatson"The locale can be used to specify both language and country. To specify the locale as a boot parameter, use locale=en_US"04:45
cjwatsondoes that not work?04:45
cjwatsonhmm, yeah, http://www.debian.org/releases/edgy/example-preseed.txt is obviously a broken link04:46
securebootcjwatson: no - i still get asked for my language04:46
cjwatsonyou can file bugs on https://launchpad.net/ubuntu/+filebug with 'installation-guide' as the source package04:47
securebooti'm trying debian-installer/locale and just locale04:47
securebootof course, both are listed as working - i wonder which it is supposed to be04:47
cjwatsonthey're aliases, either should work04:47
securebootcjwatson: hmmm - i thought it was working before.  I never got the keyboard map to work without intervention, but the language part was working in the past, i thought04:47
cjwatsonlocale= is what our CD boot loader uses, so that really should work04:48
cjwatsongiven that we test it ...04:48
cjwatsonkeyboard has changed between releases; we test that via the CD boot loader, too04:48
cjwatsonconsole-setup/layoutcode= (and usually console-setup/variantcode= as well) is correct for edgy04:48
cjwatsonperhaps try locale=en_US.UTF-8 rather than plain en_US?04:49
secureboothmmm - why is that necessary sometimes?04:49
cjwatsonbut IIRC gfxboot just passes en_US04:49
cjwatsonlocalechooser's locale parsing is a bit ad-hoc in places04:49
cjwatsonthe correct locale name is en_US.UTF-804:49
cjwatsonstrictly speaking en_US is a different (legacy, non-UTF-8) locale04:50
securebootappend  file=/cdrom/preseed/shamon.seed debian-installer/locale=en_US initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram rw quiet --04:54
securebootthat is simply not working04:54
securebootand i'm baffled04:55
securebooti keep getting asked what my language is - this should eliminate that, no?04:56
securebootany ideas?04:57
thombah. looks like blacklist went in this month. suck. second question, then. will debian-installer/probe/usb=false disable usb always, or just during initial boot?05:05
thomok, usb=false suboptimal05:26
cjwatsonblacklist> right, unless you're lucky and /etc/modprobe.d/blacklist is honoured, but IIRC not guaranteeably05:37
cjwatsonAFAIK debian-installer/probe/usb=false only affects usb-discover05:38
cjwatson(i.e. initial boot)05:38
cjwatsonTBH I'd just hack the initrd to remove usb-storage05:38
securebootfigured it out!  I had a bad timeoutline in the isolinux.cfg, and I guess that messed up the boot parameters05:39
cjwatsonthat's surreal - I confess I wouldn't have thought of that05:40
thomcjwatson: hrm, good call05:42
thomah, it's not in the initrd; must be in a udeb, so i guess i have to try and blacklist it in early_command05:57
thom(i really don't want a custom d-i build if i can avoid it)05:57
cjwatsonwhat sort of install is this? CD, netboot, ...?06:28
thomnetboot06:29
cjwatsonnet-retriever doesn't natively support exclusions, but if you can convince something to 'echo usb-storage-modules-2.6.17-10-386-di > /var/cache/anna/exclude' (or whatever the exact package name is) before anna runs then that would work06:31
cjwatsons/would/should/06:31
cjwatsonunfortunately early_command runs after anna, IIRC06:31
cjwatsonactually, no06:32
cjwatsonI think preseed/early_command should work for this06:32
thomoh really? that seems a good deal better06:33
tepsipakkijust like I could run 'udpkg --unpack' for my own udeb in early_command, and the templates got registered and all :)06:34
tepsipakkipretty neat06:36
thomcjwatson: worked beautifully, ta06:47
thomi must write my beer tracking webapp06:47
cjwatsonexcellent06:47
tepsipakkiI have a keg waiting, where do I send it :P06:48
thomright, sun x4100s now being flawlessly auto installed. time to go :-)07:10
=== robepisc [n=robepisc@217-133-31-136.b2b.tiscali.it] has joined #ubuntu-installer
securebooti'd like to simply install ubuntu-minimal, plus a small list of packages - how can I do this?  Right now, I'm just looking in the Packages in dists/blahblah/debian-installer/Packages to make sure I don't delete any of those08:46
securebootbut the install is failing, from not having update-rc.d08:46
securebootis there any way I can see a list of pacakges I absolutely need?08:46
securebooti don't see a businesscard CD anywhere, that might make a good start08:49
cjwatsonwhat debootstrap installs is the minimum you need08:56
cjwatsonwhich is basically ubuntu-minimal, but you may be resolving some alternate dependencies the wrong way or something08:56
securebooti just want to know what packages I need to install on the CD for the default install to work08:57
securebootubuntu-minimal is missing a lot of stuff, in its direct list - how can I get everything ubuntu-minimal depends on , and everything those things depend on, and so forth?08:57
cjwatsondebootstrap expands that out.09:01
cjwatsonalternatively, the germinate output09:02
cjwatsonhttp://people.ubuntu.com/~cjwatson/germinate-output/feisty/minimal09:02
=== heno [n=henrik@ubuntu/member/heno] has joined #ubuntu-installer
henoHas anyone else observed this bug #78722 ?09:19
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer
henocjwatson: is this normal behaviour from the grub-installer? https://launchpad.net/ubuntu/+source/ubiquity/+bug/7872209:43

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