=== santa is now known as Guest77025 [11:32] ping-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] ping-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. [13:53] Hariharan: yes - your dhcp server sends the path. edit your dhcp server config to point to your custom path. [13:54] CarlFK: for core.elf I have changed, it is fetching core.elf, but it is again looing for grub.cfg in ubutnu-installer [13:57] CarlFK: ( 1 ) Filename.................ubuntu-installer-1704/ppc64el/powerpc-ieee1275/core.elf [13:57] TFTP Retries..................5 [13:57] Block Size....................512 [13:57] FINAL PACKET COUNT = 323 [13:57] FINAL FILE SIZE = 165236 BYTES [13:57] Elapsed time since release of system processors: 109242 mins 29 secs [13:57] error: File not found. [13:57] Entering rescue mode... [13:57] grub rescue> [13:57] CarlFK: it gets into grub rescue mode. [13:57] Hariharan: pastebin next time please [13:58] CarlFK: sure, sorry [14:01] sounds like you want to pass a $prefix parameter to grub. I have no idea if it has support for that. if so... [14:01] dhcp option is the only thing I can think of [14:11] CarlFK: what is the dhcp option [14:11] Hariharan: I don't even know if grub will look for it. [14:12] that's just the only way I can think of to pass a value. [14:12] otherwise I think you need to build a custom core.elf [14:12] Hi! 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:13] CarlFK: that can be good option, any document or link for building custom core.elf [14:14] Hariharan: sorry. I stick with the defaults. [14:14] CarlFK: :) [14:15] I happen to have this open... http://lukeluo.blogspot.com/2013/06/grub-how-to6-pxe-boot.html bash -x grub-mknetdir --net-directory=./ [14:16] http://wiki.osdev.org/Diskless_Booting ./grub-mkimage -d . --format=i386-pc --output=core.img --prefix="(pxe)/boot/grub" .... [14:16] " ...writing your own PXE boot code isn't as difficult as it sounds. " oh my, [14:19] https://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:34] last url, my sota bug report that shows what files grub tries to load http://lists.gnu.org/archive/html/help-grub/2017-04/msg00082.html [14:36] CarlFK: thanks, will check it ou [14:36] out [20:16] how do I conf dnsmasq to send partman-auto/disk="/dev/nvme0n1" [20:16] for a given mac [21:06] Command 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:e5 [21:06] BOOTIF=... but the installer is asking me which nic to use [22:03] CarlFK: 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-e5 [22:04] BOOTIF=01:00:26:9e:03:9d:e5 will work too, but either way you need the type code at the front. 1 is Ethernet [22:04] however it's weird to pass BOOTIF by hand [22:05] the point of BOOTIF is that it's set automatically by pxelinux and similar [22:05] if 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 syntax [22:05] cjwatson: I just switched from pxelinux to grub.. grub.cfg has: [22:05] linux /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:06] notice the 01: at the front there [22:06] I just put that in [22:06] but i am thinking this? interface=${net_default_mac} [22:07] either would be fine [22:07] interface=auto -> use default interface name without asking, which will be read from BOOTIF (among other possibilities) [22:08] interface=00:26:9e:03:9d:e5 -> just use that interface already [22:09] that one. less docs for someone else to read [22:09] it does seem clearer [22:09] how is your dnsmasq conf know how? [22:10] er, fist, am I correct thinking di can look at dhcp parameters for partman-auto/disk="/dev/nvme0n1" [22:20] I know little about dnsmasq [22:22] you can preseed partman-auto/disk via any of the normal preseeding mechanisms, including [22:22] their details [22:22] err [22:22] including https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html#preseed-dhcp [22:23] * cjwatson side-eyes gnome-shell - I'm sure copy/paste handling has got slightly weirder since I switched [22:28] k - that example 1/2 makes me wonder if I have to put my values in a preseed file [22:30] what has a higher priority, values passed from dhcp, or values in the preseed file? [22:43] actually... that is using the ...standard? dhcp options like "next-server tftpserver.example.com; filename "pxelinux.0";