/srv/irclogs.ubuntu.com/2016/04/20/#ubuntu-installer.txt

mercury00_Hello all. I'm having a problem with my preseeds being ignored.20:43
mercury00_specifically, when I set d-i console-setup/ask_detect boolean false I still get asked about my keyboard layout.20:44
mercury00_other preseed options seem to work. Any idea why the keyboard option is being ignored?20:45
CarlFKmercury00_: maybe... sec... checking sometohing...20:49
mercury00_Thanks20:49
CarlFKmercury00_: looking at my net boot preseed, looks like there was a time when that needed to be passed as a parameter because the installer wanted to use the setting before it had read the file20:52
CarlFKappend initrd=ubuntu/natty/amd64/initrd.gz root=/dev/rd/0 rw  locale=en_US keyboard-configuration/layoutcode=us  console-setup/layoutcode=us console-setup/ask_detect=false  netcfg/wireless_wep= netcfg/choose_interface=eth0 netcfg/get_hostname=  apt-setup/proposed=true DEBCONF_DEBUG=5 SHAZ=g2a tasks="ubuntu-desktop"  -- vga=620:52
CarlFKhttps://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/lib/tftpboot/pxelinux.cfg/default#L13920:52
mercury00_Ah, I see, my preseed isn't being read until after that step,20:52
CarlFKbut that was natty, and after that I stopped using it20:52
CarlFKmaybe.  that would be my first guess20:52
mercury00_I'll update all the netboot options and see if that fixes it. I've tried everything but that, dumped more preseed keyboard options into the preseed than everything else combined trying to get it to stop asking20:53
CarlFKwell.. if you are doing netboot, I would compare your files to mine20:55
CarlFKappend initrd=ubuntu/vivid/amd64/initrd.gz root=/dev/rd/0 rw auto=true  netcfg/wireless_wep= interface=auto hostname= netcfg/dhcpv6_timeout=5  DEBCONF_DEBUG=5 url=g2a tasks="ubuntu-desktop" -- vga=620:56
CarlFKhmm, what does auto=true do?20:56
mercury00_I don't have auto=true, so I'mnot sure,21:10
mercury00_next question, whenever I get to the partitioner it asks what method I want to choose; I can't seem to "preseed" that I want to manually parition it interactively. It always prsents a bunch of options to choose including "manual",21:13
mercury00_anyone know if that's a setting I can preseed /without/ preseeding a recipe or actual manual partition layout?21:14
mercury00_that is, I'm hoping to simply skip the step that asks if I want guided paritioning, and just go straight to manual partitioning, without necessarily preseeding the partition scheme itself21:15
mercury00_my attempts so far have merely given me "no root device specified" error that can't be backed out of or fixed except by rebooting21:15
mercury00_I'll keep investigating that one if nobody else know, but my most important question is, how do I get partman to always use GPT? It always demands on partitioning everything MBR right now, with or without a preseed file, so seems like the default behavior. How do I even access an option to /not/ create a MBR table, and use a GPT instead?21:23
mercury00_I know if the disk is /already/ GPT, it handles it fine, so there must be a way to get partman to use GPT in the first place?21:24
mercury00_...and put the option in a preseed file too21:24
CarlFKsorry, I fumble with the manual partitioning thing too.    But I only use that once or twice a year - the rest of the time auto so I haven't put much more time into it21:31
CarlFKand no clue about gpt.21:31
mercury00_I wish there was some actual documentation for preseed debian installer. half of the things in the "documentation" I've implemented... don't actually work at all.22:02
mercury00_Is there a secret automated network installation tool I don't know about that everyone else uses? I'm curious because I'm happy to adopt whatever everyone else is using22:04
mercury00_The boot option to make auto_detect false worked, by the way; it didn't ask if I wanted to autodetect the keyboard. sadly it still asks what language and keyboard type, which I thought I already provided.22:10
CarlFKmercury00_:  I have been doing this for about 10 years, and hanging out on the #chan most of the time22:12
CarlFKI suggest setting up what I use: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/README.txt22:12
CarlFKlet me know if you are going to do that and I'll sync up my repo with what I am currently using22:13
mercury00_I'll take a look,22:16
mercury00_I just found FAI-project - maybe this is what people are using instead of d-i22:23
cjwatsonmercury00_: always use GPT> d-i partman-partitioning/default_label string gpt22:28
mercury00_Yeah, I have that in my preseed; doesn't do anything though. still mbr.22:28
cjwatsonmercury00_: then I would assume that the partition table already exists, in which case partman will not create a new one22:29
mercury00_what's interesting, is with that preseed, if I try to change the actual label of a partition itself, I have to select the option twice before I can,22:29
cjwatson(it may *populate* it, but that's different from actually creating a brand new partition table)22:29
mercury00_but without that preseed I can set the partition label without selecting the option twice; this makes me think that default_label has to do with the partition, rather than the disk22:30
cjwatsonI implemented it, I can assure you it doesn't22:30
cjwatsonI assume something else is going on to confound matters22:31
mercury00_Hmm, it doesn't create a partition table for me at all; and when I do create a parition table, it's still just MBR22:31
cjwatsonI'm busy with 16.04 release prep right now, but if this were happening to me I would run a test install with DEBCONF_DEBUG=developer and search through the logs for default_label to confirm that the change was actually being applied22:32
mercury00_all my disks just show as unpartitioned when I get to that step, and I have d-i partman-partitioning/default_label string gpt and d-i partman-partitioning/default_label select gpt22:32
cjwatsonsetting both is useless22:32
mercury00_I know, but I'm grasping at straws trying to cover my bases to get this to work22:33
cjwatsonbasically just equivalent to setting the same thing twice, although strictly the proper type is "string"22:33
cjwatsonDEBCONF_DEBUG=developer is a much less flaily way of getting useful data22:33
cjwatsonit'll spit out a trace of all debconf activity to the installer syslog22:33
mercury00_I'll try that, I assume I just read the template and questions dat files then?22:33
cjwatsonyou can then extract that and grep through syslog for what it's doing22:34
cjwatsoneither using "save debug logs" from the installer main menu, or by running "anna-install openssh-client-udeb" and then scping /var/log/syslog somewhere else22:34
mercury00_ah, I preseed the rest of the boot so don't get to select save debug logs on the main menu22:35
mercury00_I have an ssh-enabled installer I can use for that, I'll try it now22:36
mercury00_DEBCONF_DEBUG=developer is a kernel option at boot then, right?22:37
cjwatsonyep22:38
mercury00_sheesh. there's tons of stuff in this file.23:21
cjwatsonSure, it's a trace.23:24
cjwatsonThat's why I suggested searching :)23:24
mercury00_Ah, what am I looking for?23:27
cjwatsonsearch through the logs for default_label to confirm that the change was actually being applied23:28
cjwatsonbut /me -> sleep23:28
mercury00_Ah, I didn't use the preseed23:32

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