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

=== santa is now known as Guest77025
Hariharanping-all : I am using netboot for installing ubuntu, netboot files will be extracted in ubuntu-installer, is there a way to install with custom folder name then ubuntu-installer.11:32
Hariharanping-all : I am using netboot for installing ubuntu, netboot files will be extracted in ubuntu-installer, is there a way to install with custom folder name then ubuntu-installer.12:34
CarlFKHariharan: yes - your dhcp server sends the path.  edit your dhcp server config to point to your custom path.13:53
HariharanCarlFK: for core.elf I have changed, it is fetching core.elf, but it is again looing for grub.cfg in ubutnu-installer13:54
HariharanCarlFK: ( 1  ) Filename.................ubuntu-installer-1704/ppc64el/powerpc-ieee1275/core.elf13:57
HariharanTFTP Retries..................513:57
HariharanBlock Size....................51213:57
HariharanFINAL PACKET COUNT = 32313:57
HariharanFINAL FILE SIZE = 165236  BYTES13:57
HariharanElapsed time since release of system processors: 109242 mins 29 secs13:57
Hariharanerror: File not found.13:57
HariharanEntering rescue mode...13:57
Hariharangrub rescue>13:57
HariharanCarlFK: it gets into grub rescue mode.13:57
CarlFKHariharan: pastebin next time please13:57
HariharanCarlFK: sure, sorry13:58
CarlFKsounds like you want to pass a $prefix parameter to grub.  I have no idea if it has support for that.  if so...14:01
CarlFKdhcp option is the only thing I can think of14:01
HariharanCarlFK: what is the dhcp option14:11
CarlFKHariharan: I don't even know if grub will look for it.14:11
CarlFKthat's just the only way I can think of to pass a value.14:12
CarlFKotherwise I think you need to build a custom core.elf14:12
majoranaHi! I thought about contributing a small code patch to solve https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/871752; Would it be appreciated and would I need to sign the Canonical contributor licence agreement first?14:12
HariharanCarlFK: that can be good option, any document or link for building custom core.elf14:13
CarlFKHariharan: sorry.  I stick with the defaults.14:14
HariharanCarlFK: :)14:14
CarlFKI happen to have this open... http://lukeluo.blogspot.com/2013/06/grub-how-to6-pxe-boot.html   bash -x grub-mknetdir --net-directory=./14:15
CarlFKhttp://wiki.osdev.org/Diskless_Booting ./grub-mkimage -d . --format=i386-pc --output=core.img --prefix="(pxe)/boot/grub" ....14:16
CarlFK" ...writing your own PXE boot code isn't as difficult as it sounds. "  oh my,14:16
CarlFKhttps://www.gnu.org/software/grub/manual/html_node/Network.html  "grub-mkimage --format=i386-pc-pxe --output=grub.pxe --prefix='(pxe)/boot/grub' pxe pxecmd"14:19
CarlFKlast url, my sota bug report that shows what files grub tries to load http://lists.gnu.org/archive/html/help-grub/2017-04/msg00082.html14:34
HariharanCarlFK: thanks, will check it ou14:36
Hariharanout14:36
CarlFKhow do I conf dnsmasq to send partman-auto/disk="/dev/nvme0n1"20:16
CarlFKfor a given mac20:16
CarlFKCommand line: BOOT_IMAGE=/ubuntu-installer/amd64/linux gfxpayload=800x600x16,800x600 --- auto=true url=dc10b DEBCONF_DEBUG=5 tasks= hostname= partman-auto/disk=/dev/nvme0n1 BOOTIF=00:26:9e:03:9d:e521:06
CarlFKBOOTIF=... but the installer is asking me which nic to use21:06
cjwatsonCarlFK: BOOTIF is a bit weird; it needs a leading ARP type code (and also conventionally it's dash-separated, though netcfg doesn't mind), so the canonical form would be BOOTIF=01-00-26-9e-03-9d-e522:03
cjwatsonBOOTIF=01:00:26:9e:03:9d:e5 will work too, but either way you need the type code at the front.  1 is Ethernet22:04
cjwatsonhowever it's weird to pass BOOTIF by hand22:04
cjwatsonthe point of BOOTIF is that it's set automatically by pxelinux and similar22:05
cjwatsonif you're doing it by hand then you should probably just use interface=00:26:9e:03:9d:e5 instead (interface is an alias for netcfg/choose_interface) and have a more convenient syntax22:05
CarlFKcjwatson: I just switched from pxelinux to grub.. grub.cfg has:22:05
CarlFKlinux /ubuntu-installer/amd64/linux gfxpayload=800x600x16,800x600 --- auto=true url=dc10b DEBCONF_DEBUG=5 tasks="" hostname= partman-auto/disk="/dev/nvme0n1" interface=auto BOOTIF=01:${net_default_mac}22:05
cjwatsonnotice the 01: at the front there22:06
CarlFKI just put that in22:06
CarlFKbut i am thinking this?   interface=${net_default_mac}22:06
cjwatsoneither would be fine22:07
cjwatsoninterface=auto -> use default interface name without asking, which will be read from BOOTIF (among other possibilities)22:07
cjwatsoninterface=00:26:9e:03:9d:e5 -> just use that interface already22:08
CarlFKthat one.  less docs for someone else to read22:09
cjwatsonit does seem clearer22:09
CarlFKhow is your dnsmasq conf know how?22:09
CarlFKer, fist, am I correct thinking di can look at dhcp parameters for   partman-auto/disk="/dev/nvme0n1"22:10
cjwatsonI know little about dnsmasq22:20
cjwatsonyou can preseed partman-auto/disk via any of the normal preseeding mechanisms, including22:22
cjwatsontheir details22:22
cjwatsonerr22:22
cjwatsonincluding https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html#preseed-dhcp22:22
* cjwatson side-eyes gnome-shell - I'm sure copy/paste handling has got slightly weirder since I switched22:23
CarlFKk - that example 1/2 makes me wonder if I have to put my values in a preseed file22:28
CarlFKwhat has a higher priority, values passed from dhcp, or values in the preseed file?22:30
CarlFKactually...  that is using the  ...standard? dhcp options like  "next-server tftpserver.example.com;     filename "pxelinux.0";22:43

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