libera/#devuan-dev/ Monday, 2020-02-24

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 to13:03
adam_free2airintialise 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_free2airConsole 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 oldstable13:16
adam_free2airOn a local mirror, fixing oldstable Release file by changing Suite to "oldstable" and Codename to "jessie" gives same error on stable/Release13:20
adam_free2airFixing stable/Release in a similar way perhaps gets me closer to the root cause(?)13:27
adam_free2airmain-menu: DEBUG: resolver (mounted-partitions): package doesn't exist (ignored)13:29
adam_free2airmain-menu: DEBUG: resolver (created-fstab): package doesn't exist (ignored)13:29
adam_free2airmain-menu: DEBUG: resolver (di-utils-mapdevfs): package doesn't exist (ignored)13:29
adam_free2airbase-installer: error: exiting on error base-installer/no_target_mounted13:29
LeePenadam_free2air: That looks like the wrong mirror url13:31
LeePenWhere did it come from?13:31
LeePenYou should be using /merged13: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/devuan13:48
adam_free2airwhich leads to ipxe config of13:48
adam_free2airkernel 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_free2airsetup/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=true13:48
adam_free2airinitrd http://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz13:48
adam_free2airchanging to http://pkgmaster.devuan.org/merged leads to13:54
adam_free2airkernel 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_free2airsetup/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=true13:54
adam_free2airinitrd http://pkgmaster.devuan.org/merged/dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz13:54
LeePenadam_free2air: I know nothing about foreman. However,13:55
LeePenthe /dists/beowulf/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz are only available in /devuan and13:56
LeePenthe full set of packages are only available in /merged.13:56
LeePenSo you will need to PXE boot from http://pkgmaster.devuan.org/devuan but set the apt sources to13:57
LeePenhttp://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
LeePenI suspect you just need to preseed the correct apt sources.14:01
adam_free2airsounds 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_free2airmaybe not. i'm still learning the file structures required for debian pxe/preseed boot.15:20
adam_free2airto 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_free2airbase-installer: error: existing on error base-installer/no_taget_mounted15:23
LeePenhttps://debian-administration.org/article/708/Automating_the_Debian_installer_with_PXE_and_preseeding15: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_free2airin http://pkgmaster.devuan.org/merged/dists/beowulf/main/debian-installer/binary-amd64/Packages.xz:17:16
adam_free2airPackage: partman-base17:16
adam_free2airVersion: 20817:16
adam_free2airInstaller-Menu-Item: 420017:16
adam_free2airInstalled-Size: 64617:16
adam_free2airMaintainer: Debian Install System Team <debian-boot@lists.debian.org>17:16
adam_free2airArchitecture: amd6417:16
adam_free2airProvides: created-fstab, made-filesystems, mounted-partitions, partitioned-harddrives17:16
adam_free2airDepends: 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_free2airDescription: Partition the storage devices (partman)17:16
adam_free2airpardon 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_free2airdebian-installer/binary-amd64/17:30
adam_free2airpaths 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.xz17:46
LeePenadam_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
LeePenhttp://ix.io/2cAm18:51
adam_free2airah. :-/ learning more all the time. thank you for your patience!18:51
LeePennw18:52
LeePenI 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/!