[14:55] <cr3> where is the documentation for the arguments passed to the debian/config script when being installed. for example, it can be called with "write output_file", "configure", etc.
[14:55] <cr3> hm, that's more of a debconf question which I should ask on #debian
[15:06] <cjwatson> I don't know where "write output_file" comes from. That sounds package-specific.
[15:06] <cjwatson> see debconf-devel(7) in the debconf-doc package
[15:36] <CIA-18> ubiquity: evand * r2377 ubiquity/ (3 files in 2 dirs): 03root_too_small -> 03partition_too_small: look at all partitions instead of just /
[16:37] <CIA-18> ubiquity: evand * r2378 ubiquity/ (3 files in 3 dirs):
[16:37] <CIA-18> ubiquity: * Tore out partition_help. This may be replaced by more detailed help text,
[16:37] <CIA-18> ubiquity:  viewable by pressing a help button.
[16:40] <CIA-18> ubiquity: evand * r2379 ubiquity/debian/ubiquity.templates: Forgot to remove partition_help from the templates file.
[16:57] <CIA-18> ubiquity: evand * r2380 ubiquity/ (debian/changelog gui/glade/stepLocation.glade):
[16:57] <CIA-18> ubiquity: * Don't set can_focus on the timezone combo box as it prevents you from
[16:57] <CIA-18> ubiquity:  tabbing back out of it. Thanks Sebastien (LP: #136665).
[17:12] <Goosemoose> hi guys
[17:26] <evand> hi
[18:00] <Goosemoose> hey cjwatson
[18:01] <Goosemoose> i unpacked gutsy instead of feisty so i redid my default file as well to tell is where the pressed file is, but it doesn't seem to work
[18:01] <Goosemoose> not loading from the preseed file
[18:01] <Goosemoose> here's what i put in the default file
[18:01] <Goosemoose> DEFAULT install
[18:01] <Goosemoose> LABEL install
[18:01] <Goosemoose>         kernel ubuntu-installer/i386/linux
[18:01] <Goosemoose>         append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=$
[18:01] <Goosemoose> hmm, thats not all, just a sec
[18:02] <Goosemoose> DEFAULT install
[18:02] <Goosemoose> LABEL install
[18:02] <Goosemoose>         kernel ubuntu-installer/i386/linux
[18:02] <Goosemoose>         append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=$
[18:02] <Goosemoose> damnit
[18:02] <Goosemoose> ok here's the append line:
[18:02] <Goosemoose> append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=http://10.0.2.131/preseed.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz --
[18:03] <Goosemoose> points to the right place but it
[18:03] <Goosemoose> it's still asking lots of questions so i dont think it's using it
[18:09] <Goosemoose> hmm, might be more that the questions aren't answered right in the preseed, just a sec
[18:10] <Goosemoose> it's fun talking to myself, lol
[18:10] <cjwatson> "local=en_US console-setup/layoutcode=en_US" => "locale=en_US console-setup/layoutcode=us"
[18:10] <cjwatson> (mentioned that yesterday)
[18:10] <cjwatson> if you're being asked language, location, console questions, that's why
[18:11] <Goosemoose> put that where? i have
[18:11] <Goosemoose> d-i debian-installer/locale string en_US
[18:11] <Goosemoose> from the ubuntu preseed file example you gave me
[18:11] <Goosemoose> d-i console-setup/layoutcode string us
[18:12] <cjwatson> in the append line
[18:12] <cjwatson> you typoed "locale" there, and got console-setup/layoutcode= wrong
[18:12] <Goosemoose> lol, that's from the example file, i dont think i changed that
[18:12] <cjwatson> the stuff on the append line deals with preseeding all the stuff that happens before the preseed file is loaded
[18:12] <cjwatson> which is a fair bit
[18:12] <Goosemoose> ok
[18:13] <Goosemoose> i have that part
[18:13] <Goosemoose> append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=http://10.0.2.131/preseed.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz --
[18:13] <cjwatson> what example file?
[18:14] <cjwatson> anyway, apply the corrections I gave above
[18:14] <cjwatson> 18:10 <cjwatson> "local=en_US console-setup/layoutcode=en_US" => "locale=en_US console-setup/layoutcode=us"
[18:14] <Goosemoose> https://help.ubuntu.com/7.04/installation-guide/example-preseed.txt
[18:14] <cjwatson> that example file does not say anything about the append line
[18:15] <Goosemoose> oh i thought you meant i mispelled locale in the preseed file, not the append line
[18:15] <Goosemoose> ok, let me fix that
[18:17] <Goosemoose> that's what i get for using the append line from the debuntu.org doc
[18:18] <cjwatson> there's no point in putting locale in the preseed file at all
[18:18] <Goosemoose> ahh ok
[18:18] <cjwatson> I should take it out of the example really, it's just confusing
[18:18] <cjwatson> although it can be useful for initrd preseeding
[18:18] <Goosemoose> yup
[18:18] <Goosemoose> very much so
[18:18] <Goosemoose> why is the console using the format 'us' rather than en_US as well?
[18:19] <cjwatson> en_US is a locale, not a keyboard definition
[18:19] <cjwatson> the X keyboard layout name corresponding to that locale is 'us'
[18:19] <cjwatson> people often don't use the same keymap as their locale, of course
[18:20] <Goosemoose> i understand. i just figured they'd use the same formatting
[18:20] <Goosemoose> since there is an english gb keyboard as well
[18:20] <Goosemoose> why not use en_GB, en_US for kb
[18:20] <Goosemoose> make things simpler to remember i guess
[18:20] <cjwatson> a number of the keymap names do not match up neatly to locales
[18:20] <cjwatson> so it's confusing to pretend they do
[18:20] <Goosemoose> gotcha
[18:20] <cjwatson> "Latin American" is one example, Dvorak keyboard variants are another
[18:20] <Goosemoose> that makes sense
[18:21] <cjwatson> plus the code is a lot easier this way ;-)
[18:21] <Goosemoose> got a prompt during install about writing the change to disks and configure lvm
[18:21] <Goosemoose> lol
[18:22] <Goosemoose> i program mainly in java, haven't done c in years
[18:22] <cjwatson> (the code in question is not in C)
[18:22] <Goosemoose> what are you writing in?
[18:23] <cjwatson> d-i is a mixture of C and POSIX shell
[18:23] <Goosemoose> gotcha
[18:23] <cjwatson> more of the latter than the former, I think
[18:23] <cjwatson> remind me where your preseed file is?
[18:23] <Goosemoose> let me paste the new version
[18:23] <cjwatson> 'd-i partman-lvm/confirm boolean true' would shut up the message you mention
[18:24] <Goosemoose> ok don't see that in the example
[18:25] <Goosemoose> http://pastebin.com/d1dbd19c1
[18:26] <Goosemoose> does order matter in the preseed files by the way?
[18:26] <cjwatson> it's in the 7.10 guide, unfortunately not 7.04
[18:26] <cjwatson> no, order doesn't matter
[18:27] <cjwatson> the way preseed files are processed is basically just to set a big load of variables, which are then used whenever the installer gets round to them
[18:27] <cjwatson> (actually keys in a database)
[18:28] <cjwatson> #
[18:28] <cjwatson> xserver-xorg xserver-xorg/config/monitor/selection-method \ select medium
[18:28] <cjwatson> #
[18:28] <cjwatson> xserver-xorg xserver-xorg/config/monitor/mode-list \ select 1024x768 @ 60 Hz
[18:29] <cjwatson> the \ character is used for continuation lines - that is if you want to spread a preseed directive across more than one line
[18:29] <cjwatson> in this case you have it all on one line, so remove the
[18:29] <cjwatson> remove the \
[18:41] <Goosemoose> gotcha
[18:41] <Goosemoose> that's from your default preseed as well, might want to update that
[18:42] <Goosemoose> funny, it is two lines in the default file, hmm
[18:43] <Goosemoose> guess i changed it without thinking about it
[18:57] <Goosemoose> wow partitioning error
[18:58] <Goosemoose> not my day
[19:28] <Goosemoose> seems to be a bug if there is lvm already installed
[21:43] <Goosemoose> ok so i can do a manual install on a machine, just did a preseed, when it reboots i can a black screen, nothing else
[21:44] <Goosemoose> any ideas?
[21:44] <Goosemoose> i see starting up, loading up, then it goes black
[21:50] <evand> Goosemoose: do you get a black screen when you do a regular install on that same machine, using the same alternate CD?  Do the logs tell you anything (/var/log/installer/syslog and /var/log/syslog on the installed machine)
[21:51] <evand> I imagine it has something to do with the mode you've selected for the montior.
[21:51] <evand> monitor*
[21:51] <evand> erm, saying that, I should've suggested looking at the X log.
[21:52] <evand> though I don't recall if it can/will tell you anything in that case.  You might want to just get on the machine and see if fiddling with the xorg.conf fixes it.
[21:53] <Goosemoose> normal install is fine
[22:12] <Goosemoose> is there a place that lists all the possible d-i options?
[22:12] <Goosemoose> i hate to keep asking everytime i get a menu come up
[23:51] <evand> I don't think there's a canonical list, but the preseeding part of the install guide should get you through all the questions.