/srv/irclogs.ubuntu.com/2017/04/27/#ubuntu-installer.txt

HariharanPing-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:07
HariharanCarlFK: ^^^ Any help on this will be very much help full for my installation automation13:08
CarlFKHariharan:  all I know is what I saw on those pages I linked to.  never used it myself13:11
HariharanCarlFK: 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:13
HariharanCarlFK: Any idea who will be the right person in canonical to help with Ubuntu installer ?13:14
CarlFKwhy does baremetal matter ?13:14
xnoxHariharan, OpenPOWER support is available on #ubuntu-powerpc channel with many IBM and Canonical engieners.13:15
xnoxi thought there is a number of locations you can set things up at, with or without prefixes.13:16
xnoxnot sure why you care about changing the prefix......... you should not modify installer on per instance, usually.13:16
CarlFKxnox:  <customfolder>  = build a new grub binary13:16
CarlFKxnox: I think he wants grub-net to tftp files from a non default dir.  (no idea why)13:17
Hariharanxnox: 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 this13:18
xnoxHariharan, 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:22
xnoxyou 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
xnoxor so i believe, in generic tftp boot case.13:23
xnoxHariharan, CarlFK: have you looked at https://help.ubuntu.com/community/PXEInstallMultiDistro ?13:23
xnoxthere are extensive guidelines on how to set things up server side.13:24
Hariharanxnox : 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:27
xnoxyou can rename the folders and adjust tftp boot configs.13:28
CarlFKxnox: just skimmed it.  don't see anything about dhcp passing different values per host13:28
xnoxwe will not be changing per-release prefix name by default....13:28
xnoxAs 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:28
xnoxbut that may be architecture specific, and not work from powerpc clients.....13:29
xnoxbecause there is ip conversion, and mac address conversion.13:29
Hariharanxnox : 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:30
xnoxah13:31
xnoxsigh.13:31
xnoxi don't know grub that well. sorry.13:31
Hariharanxnox: CarlFK http://pastebin.ubuntu.com/24466677/13:31
xnoxyou should be able to regen your own image with a different prefix, based on the grub manuals.... but that is, hm. odd.13:32
Hariharanxnox: 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 continues13:33
xnoxor 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 lookup13:33
* xnox struggles to recall how that stuff worked13:33
xnoxright.13:33
xnoxthat is sad13:33
Hariharanxnox: if this is not supported, can I raise defect to set the prefex as per the customfolder, that will help both default and custom installaion13:35
xnoxHariharan, raising a bug report, for this support request is good. We should be able to escalate it to the right people.13:35
xnoxHariharan, i'm sure e.g. MAAS uses multiple prefixes and the like, on per machine basis.13:35
xnoxHariharan, as per usual, via bugproxy mirroring et.al.13:36
xnoxHariharan, but in the grub.cfg that has menuentries can you not specify more things like:13:38
xnoxchanging prefix, i guess not.13:38
xnoxcause that is not fetched yet.13:38
Hariharanxnox grub.cfg is fetched later, ie after loading the modules13:39
Hariharanxnox: infact tried to set prefxi and root. did not work.13:39
xnoxHariharan, 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 paths13:39
xnoxhttps://www.gnu.org/software/grub/manual/grub.html#Embedded-configuration13:39
CarlFKHariharan: http://pastebin.ubuntu.com/24466677/  line 6 ( 1  ) Filename.................ubuntu-installer-1704/...13:39
xnoxthe embeded config, should be available and used before the modules are fetched, i think.13:39
CarlFKisn't that showing it is looking for a custom folder and not finding it ?13:39
HariharanCarlFK: that is fetcing the core.elf, after the it is looking for modules from prefix mentioned folders.13:40
xnoxbut it does mean rebuilding a grub image, which you may not want to do.13:40
xnoxlet me check what our embeded grub config is, if any.13:40
CarlFKah, #30 prefix=(tftp,9.40.192.217)/ubuntu-installer/ppc64el  didn't follow.. yeah, odd.13:41
Hariharanxnox: even I am looking at some straight forward method without any changes to the default files. if I rebuild then It becomes custom13:41
xnoxinfinity, ^^^^^^ 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
HariharanCarlFK: I expect even prefix has prefix=(tftp,9.40.192.217)/ubuntu-installer-1704/ppc64el13:42
HariharanCarlFK: with manual changes to prefix it works.13:42
xnoxHariharan, yeah, i understand the qa perspective of this, because you do want to test the boot images we provide.13:42
CarlFKxnox: I think Hariharan wants different versions14:10
CarlFKer14:10
CarlFKxnox: I think Hariharan wants different versions of grub.  xenial and zesty d-i is doable. (I do it, just works)14:10
HariharanCarlFK : No xnox is correct.14:11
HariharanCarlFK: I am looking at install xenial and zesty from a custom folder instead of ubuntu-installer.14:11
xnoxCarlFK, 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:11
CarlFKk - I guess grub is part of that.14:13
Hariharanxnox: 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:15
CarlFKHariharan: once you get this working, what is the process for booting xenial, then zesty?14:18
CarlFKfor me, it is: power on, pxe loads, fetches conf, displays menu, I select what to boot, hit enter.14:20
CarlFKthe conf that has the 2 options: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/lib/tftpboot/pxelinux.cfg/default#L54-L6214:20
HariharanCarlFK: I think Pxe and netboot on lpars is quite different I think.14:21
CarlFKHariharan: that doesn't tell me how you switch between the 2 things14:22
HariharanCarlFK: Once this is working it will fetch the vmlinux and initrd and with the help of preseed installation will continue.14:22
HariharanCarlFK: i will be installing xenial on one machine and zesty on other machine. however I will have same tftp server for both the installations14:23
CarlFKdhcp/mac sends different filename=  ?14:24
HariharanCarlFK: I need to install xenial and zesty on different machines on the same time14:24
HariharanCarlFK: yes it sends different filename14:24
HariharanCarlFK: that is why we get "( 1  ) Filename.................ubuntu-installer-1704/ubuntu-installer/ppc64el/powerpc-ieee1275/core.elf"14:25
HariharanCarlFK: I expect prefix to be modified as per the given file name14:26
CarlFKit looks like something is ignoring your prefix.  if so, that is a bug.  so here is a way to work around it:14:27
CarlFKadd a 2nd IP to your tftp server.  run two server process, each with its own tftp-root14:28
CarlFKdhcp sends the same filename, but different next-server14:32
HariharanCarlFK: 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
CarlFKwhy not more IPs?14:32
HariharanCarlFK: I can plan it on virtual networks not on the pysical ones14:33
CarlFKum.. virtual networks can have more than one IP per...14:33
HariharanCarlFK: 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.14:51
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:30
art__OK. Here we go,22:59

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