adam_free2air | @Evilham OK. PXE booting with preseeding fails for me with ascii & beowulf versions of Devuan. Booting via dhcp, tftp then PXE with preseeding fails to | 13:03 |
---|---|---|
adam_free2air | intialise keyboard or domain name of host, then fails because of invalid entries in Release files (under stable and oldstable), specifically erroring on invalid Suite or Codename entries. | 13:07 |
adam_free2air | Console 4 Errors at: | 13:16 |
adam_free2air | > choose-mirror: DEBUG: command wget --no-verbose http://pkgmaster.devuan.org:80/devuan/dists/oldstable/Release -O - | grep -E '^(Suite|Codename|Architectures):' | 13:16 |
adam_free2air | > choose-mirror: WARNING **: broken mirror: invalid Suite or Codename in Release file for oldstable | 13:16 |
adam_free2air | On a local mirror, fixing oldstable Release file by changing Suite to "oldstable" and Codename to "jessie" gives same error on stable/Release | 13:20 |
adam_free2air | Fixing stable/Release in a similar way perhaps gets me closer to the root cause(?) | 13:27 |
adam_free2air | main-menu: DEBUG: resolver (mounted-partitions): package doesn't exist (ignored) | 13:29 |
adam_free2air | main-menu: DEBUG: resolver (created-fstab): package doesn't exist (ignored) | 13:29 |
adam_free2air | main-menu: DEBUG: resolver (di-utils-mapdevfs): package doesn't exist (ignored) | 13:29 |
adam_free2air | base-installer: error: exiting on error base-installer/no_target_mounted | 13:29 |
LeePen | adam_free2air: That looks like the wrong mirror url | 13:31 |
LeePen | Where did it come from? | 13:31 |
LeePen | You should be using /merged | 13:32 |
adam_free2air | @LeePen OK. Thanks. Will try. | 13:34 |
adam_free2air | @LeePen it came from defining installation media under foreman as http://pkgmaster.devuan.org/devuan | 13:48 |
adam_free2air | which leads to ipxe config of | 13:48 |
adam_free2air | kernel http://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.img interface=auto url=http://foreman.free2air.net/unattended/provision?token=670968bb-e1de-45eb-a7d2-57381099e670&static=yes ramdisk_size=10800 root=/dev/rd/0 rw auto netcfg/disable_dhcp=true BOOTIF=01-${netX/mac:hexhyp} hostname=temp.free2air.net console-setup/ask_detect=false console- | 13:48 |
adam_free2air | setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us locale=en_US netcfg/get_ipaddress=${netX/ip} netcfg/get_netmask=${netX/netmask} netcfg/get_gateway=${netX/gateway} netcfg/get_nameservers=${dns} netcfg/confirm_static=true | 13:48 |
adam_free2air | initrd http://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | 13:48 |
adam_free2air | changing to http://pkgmaster.devuan.org/merged leads to | 13:54 |
adam_free2air | kernel http://pkgmaster.devuan.org/merged/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.img interface=auto url=http://foreman.free2air.net/unattended/provision?token=d21a8acd-8f06-481c-92b9-06d5fb79c989&static=yes ramdisk_size=10800 root=/dev/rd/0 rw auto netcfg/disable_dhcp=true BOOTIF=01-${netX/mac:hexhyp} hostname=temp.free2air.net console-setup/ask_detect=false console- | 13:54 |
adam_free2air | setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us locale=en_US netcfg/get_ipaddress=${netX/ip} netcfg/get_netmask=${netX/netmask} netcfg/get_gateway=${netX/gateway} netcfg/get_nameservers=${dns} netcfg/confirm_static=true | 13:54 |
adam_free2air | initrd http://pkgmaster.devuan.org/merged/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | 13:54 |
LeePen | adam_free2air: I know nothing about foreman. However, | 13:55 |
LeePen | the /dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz are only available in /devuan and | 13:56 |
LeePen | the full set of packages are only available in /merged. | 13:56 |
LeePen | So you will need to PXE boot from http://pkgmaster.devuan.org/devuan but set the apt sources to | 13:57 |
LeePen | http://pkgmaster.devuan.org/merged. | 13:57 |
adam_free2air | @LeePen ah! i see. New to foreman & pxe boot myself. Will try manually changing the generated ipxe file (and then templates) and give feedback. | 13:59 |
LeePen | I suspect you just need to preseed the correct apt sources. | 14:01 |
adam_free2air | sounds like the better approach, thanks again. | 14:03 |
adam_free2air | @LeePen OK, in http://pkgmaster.devuan.org/merged/dists/beowulf/main/debian-installer/binary-amd64/ there seem to be missing udeb packages? specifically mounted-partitions, created-fstab, and di-utils-mapdevfs. | 15:18 |
adam_free2air | maybe not. i'm still learning the file structures required for debian pxe/preseed boot. | 15:20 |
adam_free2air | to be more specific, the boot attempt i believe is now configured with /merged as apt sources, but still failing at the same point. | 15:21 |
adam_free2air | base-installer: error: existing on error base-installer/no_taget_mounted | 15:23 |
LeePen | https://debian-administration.org/article/708/Automating_the_Debian_installer_with_PXE_and_preseeding | 15:24 |
adam_free2air | @LeePen thanks. yup, on this end, i have debian (9.*, 10.*) & ubuntu pxe preseeding working, but not (yet!) devuan. still debugging, still learning. now learning about .udeb files ... :) | 16:43 |
adam_free2air | in http://pkgmaster.devuan.org/merged/dists/beowulf/main/debian-installer/binary-amd64/Packages.xz: | 17:16 |
adam_free2air | Package: partman-base | 17:16 |
adam_free2air | Version: 208 | 17:16 |
adam_free2air | Installer-Menu-Item: 4200 | 17:16 |
adam_free2air | Installed-Size: 646 | 17:16 |
adam_free2air | Maintainer: Debian Install System Team <debian-boot@lists.debian.org> | 17:16 |
adam_free2air | Architecture: amd64 | 17:16 |
adam_free2air | Provides: created-fstab, made-filesystems, mounted-partitions, partitioned-harddrives | 17:16 |
adam_free2air | Depends: libc6-udeb (>= 2.28), libparted-fs-resize0-udeb, libparted2-udeb, cdebconf-udeb (>= 0.133), partman-utils, partman-partitioning (>= 54), partman-target, archdetect, harddrive-detection, di-utils-mapdevfs, di-utils (>= 1.66) | 17:16 |
adam_free2air | Description: Partition the storage devices (partman) | 17:16 |
adam_free2air | pardon the paste, but i think i found the issue. comparing ftp.debian.org to pkgmaster.devuan.org, in deb pool/main/p/partman-base/partman-base_208_amd64.udeb exists, but in devuan pool/DEBIAN/main/p/partman-basicfilesystems/partman-basicfilesystems_148_amd64.udeb does not? These paths were taken from the respective Packages.xz in http://ftp.debian.org/debian/dists/buster/ and http://pkgmaster.devuan.org/merged/dists/beowulf/main/ | 17:30 |
adam_free2air | debian-installer/binary-amd64/ | 17:30 |
adam_free2air | paths should be http://ftp.debian.org/debian/dists/buster/main/debian-installer/binary-amd64/Packages.xz & http://pkgmaster.devuan.org/merged/dists/beowulf/main/debian-installer/binary-amd64/Packages.xz | 17:46 |
LeePen | adam_free2air: The DEBIAN in the url is rewritten, so the url https://pkgmaster.devuan.org/merged/pool/DEBIAN/main/p/partman-basicfilesystems/partman-basicfilesystems_148_amd64.udeb works (by redirecting to a debian mirror). | 18:50 |
LeePen | http://ix.io/2cAm | 18:51 |
adam_free2air | ah. :-/ learning more all the time. thank you for your patience! | 18:51 |
LeePen | nw | 18:52 |
LeePen | I have only learnt all this over the last year! | 18:52 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!