[05:57] hi, does anyone know which code fragment generates http://www.flickr.com/photos/fourdollars/6891707522/in/photostream/ ? [06:22] OK. I find it. partman-partitioning/no_bootable_gpt_efi [06:25] No, I didn't find it. Only the message, but not source code. [06:28] It seems relative to http://bazaar.launchpad.net/~ubuntu-core-dev/partman-partitioning/ubuntu/revision/913 . [06:28] Which source code are you referring to? [06:28] You mean "what triggers the error", or "what's displaying it"? [06:28] For the former, it's the revision you just pointed out. [06:29] what triggers the error [06:30] Exactly as it implies. The system uses only GPT-partitioned disks, and you have no EFI boot partition. [06:30] (And the test for that is in the revision you just linked) [06:31] yes, but the system does have EFI boot partition. [06:31] Is it marked as such? [06:32] However, EFI boot partition is created by myself. [06:32] So I am wondering how it detect 'EFI boot partition'. [06:32] It detects it based on it being set to that type. [06:33] 'This partition should be marked for use as an "EFI boot partition"' [06:33] Can we overwrite it by d-i preceed? [06:34] I'm sure it's preseedable, but you'll want cjwatson to get more into the details of that. [06:35] Thanks. [06:36] cjwatson: Also, is there a way to mark strings in debconf templates as unsplittable? In the above screenshot, "/boot" gets split to "/\nboot", which is rather unfortunate. [06:42] More fun with preseeding partitioning. I feel your pain. [06:43] * GrueMaster spent all weekend trying to create a recipe for mixed pv/lvm partitioning with little success. Failing on blank partitions. [06:43] lol [06:44] I just avoid anything complicated ;P [06:45] I usually dive it and beat my head against the bottom until I either succeed or suffer brain hemorrhages. Speaking of, I'm heading to bed. [06:46] My preseed if anyone wants to tell me how far off I am: http://paste.ubuntu.com/911134/ [06:47] cjwatson: ^^^ [07:33] In old d-i builds, installing the network-console udeb and completing the install over SSH would automatically tick the "OpenSSH server" tasksel task. [07:34] This appears to not be the case in precise -- is this deliberate? [07:35] Tested with http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux as at 2012-03-31 06:51:39 +1100, not sure how old my udeb mirror is offhand. [07:41] Also, is the bug where partman defaults to GPT for ≥2TB disks (instead of 2TiB disks) fixed for precise? [08:09] Looks like a bunch of the preseed options wrt. DNS domain name, locale, keyboard have changed, too :-/ [08:10] Oh and NTP is picking Ubuntu's instead of the one supplied by the DHCP server [08:39] FourDollars: please file a bug with installer syslog and partman attached, and I'll see if I can work something out. Preseeding isn't the right answer here. [08:39] infinity: unsplittable> no, I'm afraid not [08:40] GrueMaster: how do you mean, "failing on blank partitions"? [08:40] twb: it was only ever intended to install the openssh-server package, not specifically check the task; the latter sounds like an emergent effect. have you checked whether it still installs the package? [08:41] I didn't think to try that. I managed to set the root password wrong in the install, so I went back to doing the production lucid install that this box is gonna have [08:42] What I actually care about is openssh-server being installed – if you're reasonably confident that's what happens, that's good enough for me. [08:42] twb: Yes, I fixed the TB/TiB confusion in partman-partitioning 83 and that's in precise. [08:42] Awesome, thanks (re TB/TiB) [08:43] openssh-server *should* still be installed, looking at the code, but I've not tried that install path myself at all recently. [08:43] btw did you know that if you mke2fs /dev/sda, partman will let you install to it without a partition table? This is a handy feature/bug that I use all the time now :-) [08:43] Especially when sda is vda [08:43] Yep, I think so [08:44] I don't remember seeing it documented anywhere [08:44] cjwatson: I am wondering what you check between 60 and 70 of check.d/biosgrub of http://bazaar.launchpad.net/~ubuntu-core-dev/partman-partitioning/ubuntu/revision/913 . [08:44] It's a consequence of the handling of what parted calls "loop" devices, which aren't loopback mounts but actually more like the way that you can have a partition on /dev/mapper/foo [08:45] Ah [08:45] Also I discovered sponge yesterday, and it saved me a few lines of sh - thanks :-) [08:45] FourDollars: "method" is what you've asked partman to use the partition as, or what it's guessed that it needs to be used as for itsel [08:45] cjwatson: Is partition id '0xef' ? [08:45] f [08:45] No [08:46] The id there will be more like START-END in bytes [08:47] cjwatson: If the disk already has EFI partition before partman is executed, what does partman do? [08:49] It's supposed to automatically assign it method 'efi' [08:49] Please file that bug for me [08:49] Roger that. [08:50] (on partman-partitioning, I guess) [08:51] I think so too. [08:51] Thanks a lot. [08:52] may actually be a bug in partman-efi or somewhere else, but I'll need to analyse the logs to tell [08:57] I will generate the log files once I get access the hardware with EFI BIOS. [08:57] * FourDollars can not get the hardware today. [14:38] cjwatson: Morning. Did you see my pastebin? The failure is that it prompts me for a filesystem for the blank LVM partition. If I give it partition info in the preseed then it prompts for a mount point. I just want to have a LVM partition that is blank, unformatted, and not mounted. method{ keep } appears to be ignored in partman-lvm. [14:39] I fear that may not be possible right now. [14:40] Though that does seem slightly odd and I'd welcome a bug on partman-auto-lvm, preferably with that preseed and a DEBCONF_DEBUG=developer syslog attached. [14:40] And I suppose a partman log too. [14:40] Lovely. The documentation (for what little it is worth) indicates otherwise. I've spent all weekend working on this. Now I know why most of my google searches show examples where people have written their own replacements. [14:41] It probably wouldn't be that hard to fix. [14:41] (Well, assuming prior knowledge.) [14:41] I'll see what I can do. The system is currently stuck in a loop. [14:41] And I only have serial console access. [14:41] Well, preseed attached to a bug better than nothing. [14:43] Prompting for a mountpoint on the automatic partitioning path is bizarre; I'd like to see that for myself to see exactly what path it's following [14:45] The preseed above isn't anything special (other than local mirror settings). Should be fairly easy to reproduce on x86 in a kvm. [14:54] ubiquity: stgraber * r5349 ubiquity/ (bin/ubiquity-dm debian/changelog): Set default wallpaper for ubuntu studio in ubiquity-dm [15:08] cjwatson: Bug 971608 filed. I don't have access to debian's bug tracking system to cross file. [15:08] Launchpad bug 971608 in partman-auto-lvm "Unable to create blank lvm volume in preseed install" [Undecided,New] https://launchpad.net/bugs/971608 [15:09] GrueMaster: you shouldn't anyway, unless you've reproduced it in Debian. [15:10] (and the entire world has access to Debian's BTS, it has no authentication :-P ) [17:21] Hello, I'm trying to find out if the documentation at: http://d-i.alioth.debian.org/manual/en.i386/apbs02.html#preseed-auto applies to Ubuntu Oneiric. I'm using "auto url=http://ubuntu-builder/ubuntu/preseed.d/preseed.cfg" on the kernel command line but at install loading the preseed file fails. The syslog has: Mar 29 23:33:03 main-menu[354]: (process:1340): wget: bad address 'ubuntu-builder' The DHCP server did give the [17:22] leases file has the correct DOMAIN in it. Also if I manually put the DOMAIN in the resolv.conf file the build will succeed. [17:58] aperson_: I assume ubuntu-builder is a local server? Does your dns resolve that normally? [18:01] ubuntu-builder is a local server and it resolves correctly if it's a FQDN ex: auto url=http://ubuntu-builder.example.com/ubuntu/preseed.d/preseed.cfg but not if it's just the hostname. The docs state that it should pick up the domain name from DHCP [18:04] The syslog shows Mar 29 22:02:03 netcfg[1243]: DEBUG: DHCP domain name is 'sub.example.com' so to me that indicates that it knows of the dowmain [18:05] Also if I look at the leases file it shows the domain. [18:06] What seems to be missing is that netcfg or main-menu isn't add the domain token to the resolv.conf file. [18:50] aperson_: Sorry, got distracted. Something is not right in your dhcp/dns setup. I have no problems here. I do netboot & preseed installations daily in my own private network. My preseed/tftp/pxe/pool server is mirror.gruenet. Everything is shortened to http://mirror/... (http://mirror/preseeds/, etc). And it just works. [18:54] Here's the complete PXE target being used: [18:54] label desktop-jim [18:55] kernel ubuntu/linux-64 [18:55] append initrd=ubuntu/initrd-64.gz BOOT_DEBUG=2 -- locale=en_US debian-installer/locale=en_US kbd-chooser/method=us interface=eth0 netcfg/dhcp_timeout=60 priority=critical auto=true auto url=http://ubuntu-builder/ubuntu/preseed.d/preseed.cfg [18:56] I'm having to do this remotely and I'm waiting for them to re setup the test system. Once that's done I can get the leases file from the building host. [18:57] That way you can see what DHCP is providing [18:57] I do have the output of a syslog from a previous attempt. [18:59] I've been looking at the netcft source code and I don't see how it could work. Unless you pass netcfg/get_domain via the kernel command line. [19:00] My pxe config for amd64 is this: append vga=788 initrd=ubuntu-installer/amd64/initrd.gz url=http://mirror/preseed/precise-amd64.cfg -- debconf/priority=critical locale=en_US console-setup/ask_detect=false console-setup/layoutcode=us live-installer/enable=false [19:00] As I said, I think the fault lies in your dhcp configuration. [19:01] My dhcp server has: [19:01] option domain-name "gruenet"; [19:01] option domain-name-servers 192.168.0.1; [19:02] I'll change it if I can figure out what to change. The syslog shows that it gets: Mar 29 22:02:03 netcfg[1243]: DEBUG: DHCP domain name is 'asubdomain.example.com' [19:03] shouldn't your option domain-name be "gruenet.com" or org? [19:04] No, because it is neither a .com or .org. It is internal only. [19:04] ahh [19:04] It isn't the internet, it is the gruenet. :P [19:04] :D [19:05] as in plonk? [19:05] Something like that. [19:07] looking at the source code for netcfg I don't see how it would get the correct domain name unless it's on the kernel command line. it reads it from /tmp/domain_name, but I don't see it filled in. [19:07] In your install? [19:08] from dhcp.c line 445 to 455 [19:09] the dhcp.c from the netcfg tar ball [19:10] 444 /* 445 * Default to the domain name returned via DHCP, if any 446 */ 447 if ((d = fopen(DOMAIN_FILE, "r")) != NULL) { 448 char domain[_UTSNAME_LENGTH + 1] = { 0 }; 449 fgets(domain, _UTSNAME_LENGTH, d); 450 fclose(d); 451 unlink(DOMAIN_FILE); [19:10] Well, only thing I can suggest is trying to run with the fqdn address for the preseed server. [19:10] ugly sorry [19:11] Yeah, I've been trying to avoid that as the combination of PXE targets and preseed files will explode to a few hundred quickly. I have to have dozens of mirrors for remote locations [19:12] I can get a anycast address, but that causes other issues. [19:12] Thanks for the help === stgraber_ is now known as stgrber === stgrber is now known as stgraber === infinity1 is now known as infinity [23:31] hrm anyone know what the actual fields in partman recipies refer to? [23:32] ahh min max priority? [23:32] weird