=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer === jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer [] === rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer === cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer [03:14] how can I determine what d-i identifier corresponds to what prompt in the installer, like netcfg/choose_interface? it's usually obvious, but I'm just wondering how to understand the mapping === mpt [n=mpt@121-72-128-96.dsl.telstraclear.net] has joined #ubuntu-installer === cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer === Starting logfile irclogs/ubuntu-installer.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-installer === Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu === Topic (#ubuntu-installer): set by cjwatson at Mon Nov 27 01:35:39 2006 === ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-installer === Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu === Topic (#ubuntu-installer): set by cjwatson at Mon Nov 27 01:35:39 2006 === #ubuntu-installer [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup === Starting logfile irclogs/ubuntu-installer.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-installer === Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu === Topic (#ubuntu-installer): set by cjwatson at Mon Nov 27 01:35:39 2006 [04:29] if I want to preseed a netinstall, would it make sense to simply add the url of the preseed.txt in the pxelinux.cfg/default boot menu? === cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer === cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer [06:22] just to make sure, I need to build my own boot image to preseed a netinstall, right? [06:23] no, just boot it with preseed/url=blah [06:23] should fit somewhere in pxelinux.cfg [06:23] cr3: no, just update pxelinux.cfg/default [06:23] 02:14 < cr3> how can I determine what d-i identifier corresponds to what prompt in the installer, like netcfg/choose_interface? it's usually obvious, but I'm just wondering how to understand the mapping [06:24] cr3: run with DEBCONF_DEBUG=5 and the installer will log what it's asking [06:24] like INPUT critical netcfg/choose_interface [06:24] or whatever === arnaud [n=arnaud@pdpc/supporter/student/al-] has joined #ubuntu-installer [06:48] hi [06:48] i'm looking for a dapper installer (netboot) with a more recent kernel [06:52] cjwatson: so the installer syslog output returned "INPUT critical languagechooser/language-name-fb", so I added to my pressed file "d-i languagechooser/language-name-fb string English". however, that doesn't seem to take and I still get a prompt for the language [06:58] I tried changing "string" for "select", and I also tried removing "-fb" from language-name, still doesn't quite work [07:13] so, I tried using the example-preseed.txt and I still get all the prompts. syslog seems to show that the preseed file is being retrieve though: Dec 5 18:00:19 debconf: <-- 0 http://midir.certification.canonical.com/edgy/i386/preseed.txt [07:21] even if I specify languagechooser/language-name=English in the boot paramters, it still prompts for it :( [07:25] no, localechooser is weird, don't do that [07:25] see the installation-guide [07:25] you want debian-installer/locale=en_CA.UTF-8 (or whatever) [07:26] arnaud: no such exists, I'm afraid [07:26] unless you build it yourself [07:27] http://wiki.debian.org/DebianInstaller/Modify/CustomKernel is the closest documentation available but it isn't correct for Ubuntu; we don't have the separate linux-kernel-di-* step; instead our kernel packages build udebs directly [07:27] cr3: are you sure you get all the prompts, and not just the first few? [07:36] cjwatson: yes, sorry for the confusion [07:36] can I see the preseed file? [07:36] also your boot options [07:37] cjwatson: your suggestion worked to answer the language prompt worked, now working on console-setup/ask_detect or somesudh [07:37] cjwatson: sure, give me a minute to prepare the urls [07:37] console-setup/ask_detect should be straightforward [07:38] you know that everything that comes before the installer retrieves the preseed file has to be given on the kernel command line, right? [07:40] cjwatson: I downloaded the syslog file from the machine after the network detection and it seemed that the preseed file was being retrieved before language selection. [07:40] are you using kickstart? [07:40] the preseed file is only retrieved before language selection if you're using kickstart, absolutely not otherwise [07:40] I wrote the code to do that in kickstart, and it was bloody hard, so :) [07:41] cjwatson: that's just the impression I got from the syslog file, I might be misunderstanding the output so I'm uploading that file as well [07:41] cr3: this should all be explained in the appendix on preseeding in the installation-guide [07:43] cjwatson: http://people.ubuntu.com/~cr3/netinstall [07:44] cjwatson: I missed that part of the installation-guide but I'm reading it carefully now: B.2. Using preseeding [07:44] Dec 5 18:20:44 frontend: --> SET preseed/url http://midir.certification.canonical.com/edgy/i386/preseed.txt [07:44] Dec 5 18:20:44 frontend: <-- 0 value set [07:44] Dec 5 18:20:44 frontend: --> METAGET preseed/url type [07:44] Dec 5 18:20:44 frontend: <-- 0 string [07:44] Dec 5 18:20:44 frontend: --> FSET preseed/url seen true [07:44] Dec 5 18:20:44 frontend: <-- 0 true [07:44] you're looking at those lines, right? [07:44] Dec 5 18:20:45 debconf: --> GET preseed/url [07:45] that's actually the preseeding infrastructure copying stuff from the kernel command line into the debconf database - it doesn't actually fetch that URL until rather later [07:45] cr3: oh, I see your confusion. That's the main menu confirming that it should be including network-preseed in its menu. [07:46] look for "Menu item 'network-preseed' selected" - that's where it actually fetches the preseed file [07:46] aha: Dec 5 18:22:04 preseed: successfully loaded preseed file from http://midir.certification.canonical.com/edgy/i386/preseed.txt [07:47] rigt [07:47] right [07:47] ok, that makes sense now, thanks for holding my hand there :) [07:47] so drop console-tools/archs and kbd-chooser/method; those are obsolete in edgy [07:48] drop debian-installer/locale from the preseed file, as it's only useful on the boot prompt [07:48] er, kernel command line [07:48] cjwatson: gotcha, and I'll add console-setup/ask_detect to the kernel command line [07:48] and add console-setup/ask_detect=false console-setup/layoutcode=ca or something like that [07:49] maybe console-setup/variantcode=fr (for French Canadian) [07:50] I should have documented console-setup/ask_detect in installation-guide, though. I've fixed that in my local copy. [07:52] cjwatson: that's new in edgy though, right? [07:52] yes [07:52] what you had before would be fine in dapper, if you moved it to the kernel command line [07:57] I intend to test it later [08:12] wth happened to vim in edgy [08:12] it's so extremely painful [08:12] the cursor keys not working etc [08:12] I don't recall dapper doing that [08:14] mark: apt-get install vim ; i rather suspect vim-tiny sets compat mode [08:14] ok [08:14] I'll have to pull that in in the default install then :) [08:15] right [08:15] need to fiddle with our configuration changes a bit - some of them massively predate vim-tiny and I think they're unnecessary now [08:15] yeah, $work-standard deps on vim for that very reason [08:15] which would probably make vim a little more usable out of the box in Ubuntu, on top of using vim rather than vim-tiny [08:16] cjwatson, it seems a bit complicated but anyway i think i'll have to do this [08:16] arnaud: yes, it is complicated. what's the actual problem? [08:16] arnaud: you might consider using edgy instead; it's probably a lot easier if you need a new kernel [08:17] yes but i have to install dapper for lts :) [08:17] is it possible to download and install dapper from an edgy cd or netboot? [08:17] ie when i choose the mirror [08:17] i think i have seen this in debian [08:20] arnaud: interesting question, that'd be nice! [08:20] mirror/suite [08:20] should do you, iirc [08:21] I get a red error message saying "No root file system is defined, please correct this from the partition menu." when adding "d-i partman-auto/init_automatically_partition select Erase entire disk" to my preseed file [08:22] let's try. [08:33] I have updated my syslog file: http://people.ubuntu.com/~cr3/netinstall/syslog [08:42] the same error occurs for "d-i partman-auto/init_automatically_partition select Use the largest continuous free space" [08:48] the problem with using "partman-auto/init_automatically_partition" with something like "Erase entire disk: SCSI1 (0,0,0) (sda)..." is that the first disk might not be given the SCSI ID 1, it might be 5 for example. [09:13] hm, still getting "No root file system is defined" using several combinations including expert_recipe [09:14] syslog says something about "Adding swap on /dev/sda5" but nothing about / [09:19] interesting, I see this in syslog: SUBST partman/choose_partition CHOICES Guided partitioning, Help on partitioning, , SCSI5 (0\,0\,0) (sda) - 80.0 GB ATA ST380811AS, #1 primary 78.5 GB B K ext3 /media/sda1, #5 logical 1.5 GB F swap swap, , Undo changes to partitions, Finish partitioning and write changes to disk [09:20] so, that basically tells me there's a primary partition defined for /media/sda1 but no mountpoint defined === arnaud [n=arnaud@pdpc/supporter/student/al-] has left #ubuntu-installer ["Leaving"] === cr3_ [n=marc@montreal.canonical.com] has joined #ubuntu-installer === cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer [10:17] sorry for having to leave like that, has there been any action while I was gone :) [10:31] the reason why I was getting a "No root partition" error is that the expert_recipe doesn't seem to define the mountpoint properly, I'm seeing "/media/sda1" and "/media/sda2" in the partition disks step [10:33] cr3, no action while you were gone [10:34] mpt: darn, action is good :) [10:52] aha! I found a bug related to what I'm trying to do: https://launchpad.net/distros/ubuntu/+source/partman-auto/+bug/40186 === mpt [n=mpt@121-72-128-96.dsl.telstraclear.net] has joined #ubuntu-installer === mpt [n=mpt@121-72-128-96.dsl.telstraclear.net] has joined #ubuntu-installer