/srv/irclogs.ubuntu.com/2007/12/07/#ubuntu-installer.txt

=== cjwatson_ is now known as cjwatson
cr3where 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
cr3hm, that's more of a debconf question which I should ask on #debian14:55
cjwatsonI don't know where "write output_file" comes from. That sounds package-specific.15:06
cjwatsonsee debconf-devel(7) in the debconf-doc package15:06
CIA-18ubiquity: evand * r2377 ubiquity/ (3 files in 2 dirs): 03root_too_small -> 03partition_too_small: look at all partitions instead of just /15:36
CIA-18ubiquity: evand * r2378 ubiquity/ (3 files in 3 dirs):16:37
CIA-18ubiquity: * Tore out partition_help. This may be replaced by more detailed help text,16:37
CIA-18ubiquity:  viewable by pressing a help button.16:37
CIA-18ubiquity: evand * r2379 ubiquity/debian/ubiquity.templates: Forgot to remove partition_help from the templates file.16:40
CIA-18ubiquity: evand * r2380 ubiquity/ (debian/changelog gui/glade/stepLocation.glade):16:57
CIA-18ubiquity: * Don't set can_focus on the timezone combo box as it prevents you from16:57
CIA-18ubiquity:  tabbing back out of it. Thanks Sebastien (LP: #136665).16:57
Goosemoosehi guys17:12
evandhi17:26
Goosemoosehey cjwatson18:00
Goosemoosei 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 work18:01
Goosemoosenot loading from the preseed file18:01
Goosemoosehere's what i put in the default file18:01
GoosemooseDEFAULT install18:01
GoosemooseLABEL install18:01
Goosemoose        kernel ubuntu-installer/i386/linux18:01
Goosemoose        append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=$18:01
Goosemoosehmm, thats not all, just a sec18:01
GoosemooseDEFAULT install18:02
GoosemooseLABEL install18:02
Goosemoose        kernel ubuntu-installer/i386/linux18:02
Goosemoose        append ramdisk_size=14984 local=en_US console-setup/layoutcode=en_US netcfg/wireless_wep= netcfg/choose_interface=eth0 url=$18:02
Goosemoosedamnit18:02
Goosemooseok here's the append line:18:02
Goosemooseappend 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:02
Goosemoosepoints to the right place but it18:03
Goosemooseit's still asking lots of questions so i dont think it's using it18:03
Goosemoosehmm, might be more that the questions aren't answered right in the preseed, just a sec18:09
Goosemooseit's fun talking to myself, lol18:10
=== cjwatson_ is now known as cjwatson
cjwatson"local=en_US console-setup/layoutcode=en_US" => "locale=en_US console-setup/layoutcode=us"18:10
cjwatson(mentioned that yesterday)18:10
cjwatsonif you're being asked language, location, console questions, that's why18:10
Goosemooseput that where? i have18:11
Goosemoosed-i debian-installer/locale string en_US18:11
Goosemoosefrom the ubuntu preseed file example you gave me18:11
Goosemoosed-i console-setup/layoutcode string us18:11
cjwatsonin the append line18:12
cjwatsonyou typoed "locale" there, and got console-setup/layoutcode= wrong18:12
Goosemooselol, that's from the example file, i dont think i changed that18:12
cjwatsonthe stuff on the append line deals with preseeding all the stuff that happens before the preseed file is loaded18:12
cjwatsonwhich is a fair bit18:12
Goosemooseok18:12
Goosemoosei have that part18:13
Goosemooseappend 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
cjwatsonwhat example file?18:13
cjwatsonanyway, apply the corrections I gave above18:14
cjwatson18:10 <cjwatson> "local=en_US console-setup/layoutcode=en_US" => "locale=en_US console-setup/layoutcode=us"18:14
Goosemoosehttps://help.ubuntu.com/7.04/installation-guide/example-preseed.txt18:14
cjwatsonthat example file does not say anything about the append line18:14
Goosemooseoh i thought you meant i mispelled locale in the preseed file, not the append line18:15
Goosemooseok, let me fix that18:15
Goosemoosethat's what i get for using the append line from the debuntu.org doc18:17
cjwatsonthere's no point in putting locale in the preseed file at all18:18
Goosemooseahh ok18:18
cjwatsonI should take it out of the example really, it's just confusing18:18
cjwatsonalthough it can be useful for initrd preseeding18:18
Goosemooseyup18:18
Goosemoosevery much so18:18
Goosemoosewhy is the console using the format 'us' rather than en_US as well?18:18
cjwatsonen_US is a locale, not a keyboard definition18:19
cjwatsonthe X keyboard layout name corresponding to that locale is 'us'18:19
cjwatsonpeople often don't use the same keymap as their locale, of course18:19
Goosemoosei understand. i just figured they'd use the same formatting18:20
Goosemoosesince there is an english gb keyboard as well18:20
Goosemoosewhy not use en_GB, en_US for kb18:20
Goosemoosemake things simpler to remember i guess18:20
cjwatsona number of the keymap names do not match up neatly to locales18:20
cjwatsonso it's confusing to pretend they do18:20
Goosemoosegotcha18:20
cjwatson"Latin American" is one example, Dvorak keyboard variants are another18:20
Goosemoosethat makes sense18:20
cjwatsonplus the code is a lot easier this way ;-)18:21
Goosemoosegot a prompt during install about writing the change to disks and configure lvm18:21
Goosemooselol18:21
Goosemoosei program mainly in java, haven't done c in years18:22
cjwatson(the code in question is not in C)18:22
Goosemoosewhat are you writing in?18:22
cjwatsond-i is a mixture of C and POSIX shell18:23
Goosemoosegotcha18:23
cjwatsonmore of the latter than the former, I think18:23
cjwatsonremind me where your preseed file is?18:23
Goosemooselet me paste the new version18:23
cjwatson'd-i partman-lvm/confirm boolean true' would shut up the message you mention18:23
Goosemooseok don't see that in the example18:24
Goosemoosehttp://pastebin.com/d1dbd19c118:25
Goosemoosedoes order matter in the preseed files by the way?18:26
cjwatsonit's in the 7.10 guide, unfortunately not 7.0418:26
cjwatsonno, order doesn't matter18:26
cjwatsonthe 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 them18:27
cjwatson(actually keys in a database)18:27
cjwatson#18:28
cjwatsonxserver-xorg xserver-xorg/config/monitor/selection-method \ select medium18:28
cjwatson#18:28
cjwatsonxserver-xorg xserver-xorg/config/monitor/mode-list \ select 1024x768 @ 60 Hz18:28
cjwatsonthe \ character is used for continuation lines - that is if you want to spread a preseed directive across more than one line18:29
cjwatsonin this case you have it all on one line, so remove the18:29
cjwatsonremove the \18:29
Goosemoosegotcha18:41
Goosemoosethat's from your default preseed as well, might want to update that18:41
Goosemoosefunny, it is two lines in the default file, hmm18:42
Goosemooseguess i changed it without thinking about it18:43
Goosemoosewow partitioning error18:57
Goosemoosenot my day18:58
Goosemooseseems to be a bug if there is lvm already installed19:28
Goosemooseok so i can do a manual install on a machine, just did a preseed, when it reboots i can a black screen, nothing else21:43
Goosemooseany ideas?21:44
Goosemoosei see starting up, loading up, then it goes black21:44
evandGoosemoose: 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:50
evandI imagine it has something to do with the mode you've selected for the montior.21:51
evandmonitor*21:51
evanderm, saying that, I should've suggested looking at the X log.21:51
evandthough 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:52
Goosemoosenormal install is fine21:53
Goosemooseis there a place that lists all the possible d-i options?22:12
Goosemoosei hate to keep asking everytime i get a menu come up22:12
evandI don't think there's a canonical list, but the preseeding part of the install guide should get you through all the questions.23:51

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