=== santa is now known as Guest77025 | ||
Hariharan | 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. | 11:32 |
---|---|---|
Hariharan | 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 |
CarlFK | Hariharan: yes - your dhcp server sends the path. edit your dhcp server config to point to your custom path. | 13:53 |
Hariharan | CarlFK: for core.elf I have changed, it is fetching core.elf, but it is again looing for grub.cfg in ubutnu-installer | 13:54 |
Hariharan | CarlFK: ( 1 ) Filename.................ubuntu-installer-1704/ppc64el/powerpc-ieee1275/core.elf | 13:57 |
Hariharan | TFTP Retries..................5 | 13:57 |
Hariharan | Block Size....................512 | 13:57 |
Hariharan | FINAL PACKET COUNT = 323 | 13:57 |
Hariharan | FINAL FILE SIZE = 165236 BYTES | 13:57 |
Hariharan | Elapsed time since release of system processors: 109242 mins 29 secs | 13:57 |
Hariharan | error: File not found. | 13:57 |
Hariharan | Entering rescue mode... | 13:57 |
Hariharan | grub rescue> | 13:57 |
Hariharan | CarlFK: it gets into grub rescue mode. | 13:57 |
CarlFK | Hariharan: pastebin next time please | 13:57 |
Hariharan | CarlFK: sure, sorry | 13:58 |
CarlFK | 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 |
CarlFK | dhcp option is the only thing I can think of | 14:01 |
Hariharan | CarlFK: what is the dhcp option | 14:11 |
CarlFK | Hariharan: I don't even know if grub will look for it. | 14:11 |
CarlFK | that's just the only way I can think of to pass a value. | 14:12 |
CarlFK | otherwise I think you need to build a custom core.elf | 14:12 |
majorana | 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:12 |
Hariharan | CarlFK: that can be good option, any document or link for building custom core.elf | 14:13 |
CarlFK | Hariharan: sorry. I stick with the defaults. | 14:14 |
Hariharan | CarlFK: :) | 14:14 |
CarlFK | 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:15 |
CarlFK | http://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 |
CarlFK | 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:19 |
CarlFK | 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:34 |
Hariharan | CarlFK: thanks, will check it ou | 14:36 |
Hariharan | out | 14:36 |
CarlFK | how do I conf dnsmasq to send partman-auto/disk="/dev/nvme0n1" | 20:16 |
CarlFK | for a given mac | 20:16 |
CarlFK | 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 |
CarlFK | BOOTIF=... but the installer is asking me which nic to use | 21:06 |
cjwatson | 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:03 |
cjwatson | 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 |
cjwatson | however it's weird to pass BOOTIF by hand | 22:04 |
cjwatson | the point of BOOTIF is that it's set automatically by pxelinux and similar | 22:05 |
cjwatson | 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 |
CarlFK | cjwatson: I just switched from pxelinux to grub.. grub.cfg has: | 22:05 |
CarlFK | 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:05 |
cjwatson | notice the 01: at the front there | 22:06 |
CarlFK | I just put that in | 22:06 |
CarlFK | but i am thinking this? interface=${net_default_mac} | 22:06 |
cjwatson | either would be fine | 22:07 |
cjwatson | interface=auto -> use default interface name without asking, which will be read from BOOTIF (among other possibilities) | 22:07 |
cjwatson | interface=00:26:9e:03:9d:e5 -> just use that interface already | 22:08 |
CarlFK | that one. less docs for someone else to read | 22:09 |
cjwatson | it does seem clearer | 22:09 |
CarlFK | how is your dnsmasq conf know how? | 22:09 |
CarlFK | er, fist, am I correct thinking di can look at dhcp parameters for partman-auto/disk="/dev/nvme0n1" | 22:10 |
cjwatson | I know little about dnsmasq | 22:20 |
cjwatson | you can preseed partman-auto/disk via any of the normal preseeding mechanisms, including | 22:22 |
cjwatson | their details | 22:22 |
cjwatson | err | 22:22 |
cjwatson | including https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html#preseed-dhcp | 22:22 |
* cjwatson side-eyes gnome-shell - I'm sure copy/paste handling has got slightly weirder since I switched | 22:23 | |
CarlFK | k - that example 1/2 makes me wonder if I have to put my values in a preseed file | 22:28 |
CarlFK | what has a higher priority, values passed from dhcp, or values in the preseed file? | 22:30 |
CarlFK | actually... 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!