[13:07] <Hariharan> Ping-all : is there a way to change to "prefix=(tftp,tftpIP)/<customfolder>/ppc64el " instead of default prefix=(tftp,tftpip)/ubuntu-installer/ppc64el before installation is started.
[13:08] <Hariharan> CarlFK: ^^^ Any help on this will be very much help full for my installation automation
[13:11] <CarlFK> Hariharan:  all I know is what I saw on those pages I linked to.  never used it myself
[13:13] <Hariharan> CarlFK: That did not help as it was for baremetal I am trying it on powervm (lpar). Thanks for the link and again Thanks for answering my questions.
[13:14] <Hariharan> CarlFK: Any idea who will be the right person in canonical to help with Ubuntu installer ?
[13:14] <CarlFK> why does baremetal matter ?
[13:15] <xnox> Hariharan, OpenPOWER support is available on #ubuntu-powerpc channel with many IBM and Canonical engieners.
[13:16] <xnox> i thought there is a number of locations you can set things up at, with or without prefixes.
[13:16] <xnox> not sure why you care about changing the prefix......... you should not modify installer on per instance, usually.
[13:16] <CarlFK> xnox:  <customfolder>  = build a new grub binary
[13:17] <CarlFK> xnox: I think he wants grub-net to tftp files from a non default dir.  (no idea why)
[13:18] <Hariharan> xnox: as a test engineer we will be installing 17.04 and 16.04.03 for testing, both uses ubuntu-installer has default location in tftpboot, to enable parallel installation, I need this
[13:22] <xnox> Hariharan, the client asks for tftp boot, and boots whatever tftp has provided. you will not be able to use the same DHCP server the same tftp config to dual boot either this or that, i don't think.
[13:23] <xnox> you need two networks, or in your dhcp config you need to configure which tftp files to offer based on MAC address of the client that is requesting it.
[13:23] <xnox> or so i believe, in generic tftp boot case.
[13:23] <xnox> Hariharan, CarlFK: have you looked at https://help.ubuntu.com/community/PXEInstallMultiDistro ?
[13:24] <xnox> there are extensive guidelines on how to set things up server side.
[13:27] <Hariharan> xnox : the current setup allows us to install multiple distributions, as the folder in tftpboot is different of different distro. when it comes to ubuntu17.04 and 16.04.03 both netboot.tar.gz  will extract to ubuntu-installer, due to which I am not able to parallel installation of 16.04 and 17.04. serial is happening. I want to achive the parallel installation.
[13:28] <xnox> you can rename the folders and adjust tftp boot configs.
[13:28] <CarlFK> xnox: just skimmed it.  don't see anything about dhcp passing different values per host
[13:28] <xnox> we will not be changing per-release prefix name by default....
[13:28] <xnox> As an example, if the boot file name is pxelinux.0, the Ethernet MAC address is 88:99:AA:BB:CC:DD and the IP address 192.0.2.91, it will try following the files:
[13:29] <xnox> but that may be architecture specific, and not work from powerpc clients.....
[13:29] <xnox> because there is ip conversion, and mac address conversion.
[13:30] <Hariharan> xnox : I did the change folder and able to fetch the core.elf which is required for installation after that it is looking for additional modules from ubuntu-installer/ppc64el/powerpc-ieee1275/
[13:31] <xnox> ah
[13:31] <xnox> sigh.
[13:31] <xnox> i don't know grub that well. sorry.
[13:31] <Hariharan> xnox: CarlFK http://pastebin.ubuntu.com/24466677/
[13:32] <xnox> you should be able to regen your own image with a different prefix, based on the grub manuals.... but that is, hm. odd.
[13:33] <Hariharan> xnox: it fetched the core.elf for the custom location, were is prefix is still set to ubuntu-installer. in grub rescue after changing the prefix installation continues
[13:33] <xnox> or was it htat you can unpack things to different root dirs to have xenial/ubuntu-installer/ppc64el/..... and yakkety/ubuntu-installer/ppc64el/..... and things do relative lookup
[13:33]  * xnox struggles to recall how that stuff worked
[13:33] <xnox> right.
[13:33] <xnox> that is sad
[13:35] <Hariharan> xnox: if this is not supported, can I raise defect to set the prefex as per the customfolder, that will help both default and custom installaion
[13:35] <xnox> Hariharan, raising a bug report, for this support request is good. We should be able to escalate it to the right people.
[13:35] <xnox> Hariharan, i'm sure e.g. MAAS uses multiple prefixes and the like, on per machine basis.
[13:36] <xnox> Hariharan, as per usual, via bugproxy mirroring et.al.
[13:38] <xnox> Hariharan, but in the grub.cfg that has menuentries can you not specify more things like:
[13:38] <xnox> changing prefix, i guess not.
[13:38] <xnox> cause that is not fetched yet.
[13:39] <Hariharan> xnox grub.cfg is fetched later, ie after loading the modules
[13:39] <Hariharan> xnox: infact tried to set prefxi and root. did not work.
[13:39] <xnox> Hariharan, if you rebuild a custom image, i think you should be able to change the prefix too, via an embeded grub.cfg that can try and fallback to multiple paths
[13:39] <xnox> https://www.gnu.org/software/grub/manual/grub.html#Embedded-configuration
[13:39] <CarlFK> Hariharan: http://pastebin.ubuntu.com/24466677/  line 6 ( 1  ) Filename.................ubuntu-installer-1704/...
[13:39] <xnox> the embeded config, should be available and used before the modules are fetched, i think.
[13:39] <CarlFK> isn't that showing it is looking for a custom folder and not finding it ?
[13:40] <Hariharan> CarlFK: that is fetcing the core.elf, after the it is looking for modules from prefix mentioned folders.
[13:40] <xnox> but it does mean rebuilding a grub image, which you may not want to do.
[13:40] <xnox> let me check what our embeded grub config is, if any.
[13:41] <CarlFK> ah, #30 prefix=(tftp,9.40.192.217)/ubuntu-installer/ppc64el  didn't follow.. yeah, odd.
[13:41] <Hariharan> xnox: even I am looking at some straight forward method without any changes to the default files. if I rebuild then It becomes custom
[13:42] <xnox> infinity, ^^^^^^ is there some magic embeded grub config in our tftp netboot images for ppc64el to allow co-locating xenial and zesty d-i's?
[13:42] <Hariharan> CarlFK: I expect even prefix has prefix=(tftp,9.40.192.217)/ubuntu-installer-1704/ppc64el
[13:42] <Hariharan> CarlFK: with manual changes to prefix it works.
[13:42] <xnox> Hariharan, yeah, i understand the qa perspective of this, because you do want to test the boot images we provide.
[14:10] <CarlFK> xnox: I think Hariharan wants different versions
[14:10] <CarlFK> er
[14:10] <CarlFK> xnox: I think Hariharan wants different versions of grub.  xenial and zesty d-i is doable. (I do it, just works)
[14:11] <Hariharan> CarlFK : No xnox is correct.
[14:11] <Hariharan> CarlFK: I am looking at install xenial and zesty from a custom folder instead of ubuntu-installer.
[14:11] <xnox> CarlFK, i understand that. not only different d-i builds, but the grubs from those two different d-i buids. When we build d-i we provide the authoritative grub core images as well...
[14:13] <CarlFK> k - I guess grub is part of that.
[14:15] <Hariharan> xnox: CarlFK : my guess it core.elf is setting the prefix, I have done the changes to grub.cfg also. before grub.cfg it installs dependency modules which is fetched from the prefix location.
[14:18] <CarlFK> Hariharan: once you get this working, what is the process for booting xenial, then zesty?
[14:20] <CarlFK> for me, it is: power on, pxe loads, fetches conf, displays menu, I select what to boot, hit enter.
[14:20] <CarlFK> the conf that has the 2 options: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/lib/tftpboot/pxelinux.cfg/default#L54-L62
[14:21] <Hariharan> CarlFK: I think Pxe and netboot on lpars is quite different I think.
[14:22] <CarlFK> Hariharan: that doesn't tell me how you switch between the 2 things
[14:22] <Hariharan> CarlFK: Once this is working it will fetch the vmlinux and initrd and with the help of preseed installation will continue.
[14:23] <Hariharan> CarlFK: i will be installing xenial on one machine and zesty on other machine. however I will have same tftp server for both the installations
[14:24] <CarlFK> dhcp/mac sends different filename=  ?
[14:24] <Hariharan> CarlFK: I need to install xenial and zesty on different machines on the same time
[14:24] <Hariharan> CarlFK: yes it sends different filename
[14:25] <Hariharan> CarlFK: that is why we get "( 1  ) Filename.................ubuntu-installer-1704/ubuntu-installer/ppc64el/powerpc-ieee1275/core.elf"
[14:26] <Hariharan> CarlFK: I expect prefix to be modified as per the given file name
[14:27] <CarlFK> it looks like something is ignoring your prefix.  if so, that is a bug.  so here is a way to work around it:
[14:28] <CarlFK> add a 2nd IP to your tftp server.  run two server process, each with its own tftp-root
[14:32] <CarlFK> dhcp sends the same filename, but different next-server
[14:32] <Hariharan> CarlFK: Yeah, can try that. When we have 3 releases we cannot have one more IP. it is good for two releases but not more then two. However as you mentioned I will also raise a defect.
[14:32] <CarlFK> why not more IPs?
[14:33] <Hariharan> CarlFK: I can plan it on virtual networks not on the pysical ones
[14:33] <CarlFK> um.. virtual networks can have more than one IP per...
[14:51] <Hariharan> CarlFK: xnox : Thanks a lot for your time, I have to leave now. will catch you later. Please let me know if you get to know any direct solutions.
[22:30] <art__> 16.04 installed on 500GB drive, but /home is in boot partition. Tried to get / into its own 20GB partition. Guess I should reformat and reinstall from scratch. Any thoughts?
[22:59] <art__> OK. Here we go,