/srv/irclogs.ubuntu.com/2006/12/05/#ubuntu-installer.txt

=== 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
cr3how 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 mapping03:14
=== 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
cr3if 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?04:29
=== 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
cr3just to make sure, I need to build my own boot image to preseed a netinstall, right?06:22
cjwatsonno, just boot it with preseed/url=blah06:23
cjwatsonshould fit somewhere in pxelinux.cfg06:23
thomcr3: no, just update pxelinux.cfg/default06:23
cjwatson02: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 mapping06:23
cjwatsoncr3: run with DEBCONF_DEBUG=5 and the installer will log what it's asking06:24
cjwatsonlike INPUT critical netcfg/choose_interface06:24
cjwatsonor whatever06:24
=== arnaud [n=arnaud@pdpc/supporter/student/al-] has joined #ubuntu-installer
arnaudhi06:48
arnaudi'm looking for a dapper installer (netboot) with a more recent kernel06:48
cr3cjwatson: 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 language06:52
cr3I tried changing "string" for "select", and I also tried removing "-fb" from language-name, still doesn't quite work06:58
cr3so, 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.txt07:13
cr3even if I specify languagechooser/language-name=English in the boot paramters, it still prompts for it :(07:21
cjwatsonno, localechooser is weird, don't do that07:25
cjwatsonsee the installation-guide07:25
cjwatsonyou want debian-installer/locale=en_CA.UTF-8 (or whatever)07:25
cjwatsonarnaud: no such exists, I'm afraid07:26
cjwatsonunless you build it yourself07:26
cjwatsonhttp://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 directly07:27
cjwatsoncr3: are you sure you get all the prompts, and not just the first few?07:27
cr3cjwatson: yes, sorry for the confusion07:36
cjwatsoncan I see the preseed file?07:36
cjwatsonalso your boot options07:36
cr3cjwatson: your suggestion worked to answer the language prompt worked, now working on console-setup/ask_detect or somesudh07:37
cr3cjwatson: sure, give me a minute to prepare the urls07:37
cjwatsonconsole-setup/ask_detect should be straightforward07:37
cjwatsonyou know that everything that comes before the installer retrieves the preseed file has to be given on the kernel command line, right?07:38
cr3cjwatson: 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
cjwatsonare you using kickstart?07:40
cjwatsonthe preseed file is only retrieved before language selection if you're using kickstart, absolutely not otherwise07:40
cjwatsonI wrote the code to do that in kickstart, and it was bloody hard, so :)07:40
cr3cjwatson: that's just the impression I got from the syslog file, I might be misunderstanding the output so I'm uploading that file as well07:41
cjwatsoncr3: this should all be explained in the appendix on preseeding in the installation-guide07:41
cr3cjwatson: http://people.ubuntu.com/~cr3/netinstall07:43
cr3cjwatson: I missed that part of the installation-guide but I'm reading it carefully now: B.2. Using preseeding07:44
cjwatsonDec  5 18:20:44 frontend: --> SET preseed/url http://midir.certification.canonical.com/edgy/i386/preseed.txt07:44
cjwatsonDec  5 18:20:44 frontend: <-- 0 value set07:44
cjwatsonDec  5 18:20:44 frontend: --> METAGET preseed/url type07:44
cjwatsonDec  5 18:20:44 frontend: <-- 0 string07:44
cjwatsonDec  5 18:20:44 frontend: --> FSET preseed/url seen true07:44
cjwatsonDec  5 18:20:44 frontend: <-- 0 true07:44
cjwatsonyou're looking at those lines, right?07:44
cr3Dec  5 18:20:45 debconf: --> GET preseed/url07:44
cjwatsonthat'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 later07:45
cjwatsoncr3: oh, I see your confusion. That's the main menu confirming that it should be including network-preseed in its menu.07:45
cjwatsonlook for "Menu item 'network-preseed' selected" - that's where it actually fetches the preseed file07:46
cr3aha: Dec  5 18:22:04 preseed: successfully loaded preseed file from http://midir.certification.canonical.com/edgy/i386/preseed.txt07:46
cjwatsonrigt07:47
cjwatsonright07:47
cr3ok, that makes sense now, thanks for holding my hand there :)07:47
cjwatsonso drop console-tools/archs and kbd-chooser/method; those are obsolete in edgy07:47
cjwatsondrop debian-installer/locale from the preseed file, as it's only useful on the boot prompt07:48
cjwatsoner, kernel command line07:48
cr3cjwatson: gotcha, and I'll add console-setup/ask_detect to the kernel command line07:48
cjwatsonand add console-setup/ask_detect=false console-setup/layoutcode=ca or something like that07:48
cjwatsonmaybe console-setup/variantcode=fr (for French Canadian)07:49
cjwatsonI should have documented console-setup/ask_detect in installation-guide, though. I've fixed that in my local copy.07:50
cr3cjwatson: that's new in edgy though, right?07:52
cjwatsonyes07:52
cjwatsonwhat you had before would be fine in dapper, if you moved it to the kernel command line07:52
cr3I intend to test it later07:57
markwth happened to vim in edgy08:12
markit's so extremely painful08:12
markthe cursor keys not working etc08:12
markI don't recall dapper doing that08:12
thommark: apt-get install vim ; i rather suspect vim-tiny sets compat mode08:14
markok08:14
markI'll have to pull that in in the default install then :)08:14
cjwatsonright08:15
cjwatsonneed to fiddle with our configuration changes a bit - some of them massively predate vim-tiny and I think they're unnecessary now08:15
thomyeah, $work-standard deps on vim for that very reason08:15
cjwatsonwhich would probably make vim a little more usable out of the box in Ubuntu, on top of using vim rather than vim-tiny08:15
arnaudcjwatson, it seems a bit complicated but anyway i think i'll have to do this08:16
cjwatsonarnaud: yes, it is complicated. what's the actual problem?08:16
cjwatsonarnaud: you might consider using edgy instead; it's probably a lot easier if you need a new kernel08:16
arnaudyes but i have to install dapper for lts :)08:17
arnaudis it possible to download and install dapper from an edgy cd or netboot?08:17
arnaudie when i choose the mirror08:17
arnaudi think i have seen this in debian08:17
cr3arnaud: interesting question, that'd be nice!08:20
thommirror/suite08:20
thomshould do you, iirc08:20
cr3I 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 file08:21
arnaudlet's try.08:22
cr3I have updated my syslog file: http://people.ubuntu.com/~cr3/netinstall/syslog08:33
cr3the same error occurs for "d-i partman-auto/init_automatically_partition select Use the largest continuous free space"08:42
cr3the 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.08:48
cr3hm, still getting "No root file system is defined" using several combinations including expert_recipe09:13
cr3syslog says something about "Adding swap on /dev/sda5" but nothing about /09:14
cr3interesting, 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 disk09:19
cr3so, that basically tells me there's a primary partition defined for /media/sda1 but no mountpoint defined09:20
=== 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
cr3sorry for having to leave like that, has there been any action while I was gone :)10:17
cr3the 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 step10:31
mptcr3, no action while you were gone10:33
cr3mpt: darn, action is good :)10:34
cr3aha! I found a bug related to what I'm trying to do: https://launchpad.net/distros/ubuntu/+source/partman-auto/+bug/4018610:52
=== 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

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