<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4717&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / pxe boot hangs in busybox]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4717</link>
		<description><![CDATA[The most recent posts in pxe boot hangs in busybox.]]></description>
		<lastBuildDate>Fri, 17 Dec 2021 11:33:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33299#p33299</link>
			<description><![CDATA[<p>I tried and (off course) it works. When I build my own image for my purposes this solution is good enough for me. Thanks for your kind help<br />Berni</p>]]></description>
			<author><![CDATA[dummy@example.com (berni51)]]></author>
			<pubDate>Fri, 17 Dec 2021 11:33:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33299#p33299</guid>
		</item>
		<item>
			<title><![CDATA[Re: pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33273#p33273</link>
			<description><![CDATA[<p>Thanks a lot, Ralph, I will try this tonight.</p><p>Regards<br />Berni</p>]]></description>
			<author><![CDATA[dummy@example.com (berni51)]]></author>
			<pubDate>Tue, 14 Dec 2021 19:38:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33273#p33273</guid>
		</item>
		<item>
			<title><![CDATA[Re: pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33268#p33268</link>
			<description><![CDATA[<p>There are several hurdles with using <span class="bbc">minimal-live</span> for PXE boot, primarily that it still requires media access to the ISO. </p><p>The &quot;best&quot; I&#039;ve been able to do is to add <span class="bbc">rdinit=/bin/sh</span> to the APPEND line in <span class="bbc">pxelinux.cfg/default</span> so as to enter a console shell instead of running the &quot;normal&quot; <span class="bbc">initrd:/init</span> (though after having loaded and mounted the initrd filesystem). There you can discover that even the network interface driver modules are missing from the initrd, so there is not much to do with it.</p><p>I had better luck using desktop-live as a basis, and then also serve it over <span class="bbc">nfs</span>.</p><ul><li><p>on the server, I mounted the ISO at /netboot/boot/desktop-live</p></li><li><p>and set up the NFS service to export that path</p></li><li><p>then changed <span class="bbc">pxelinux.cfg/default</span> to use the menu lines:<br />KERNEL ::boot/desktop-live/live/vmlinuz<br />APPEND vga=788 initrd=::boot/desktop-live/live/initrd.img boot=live root=/dev/nfs nfsroot=/netboot/boot/desktop-live init=/bin/bash</p></li></ul><p>Due to the <span class="bbc">init=/bin/bash</span> parameter, it will enter a shell instead of running the post-pivot <span class="bbc">/sbin/init</span>, so it&#039;s still not perfect. But the root filesystem could be extracted at the server end (rather than mounted) and then be changed appropriately so as to allow a normal /sbin/init start.</p><p>Note that the root filesystem comes from the squashfs on the ISO, so any changes need unpacking and repacking of that (with any changes); all other files of the ISO copy should be left as is.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 14 Dec 2021 13:49:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33268#p33268</guid>
		</item>
		<item>
			<title><![CDATA[Re: pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33267#p33267</link>
			<description><![CDATA[<p>Thanks @FM81. The last line in the log is the very last cry from dnsmasq:When I exit the busybox I get a warning that the /root could not be mounted. The next exit causes a kernel dump and that killed dnsmasq.</p><p>All output was logged into /var/log/dnsmasq.log. The client screen shows that the kernel is loaded and then initram.img, which ended in the busybox because the /root could not be mounted.</p><p>Regards<br />Berni</p>]]></description>
			<author><![CDATA[dummy@example.com (berni51)]]></author>
			<pubDate>Tue, 14 Dec 2021 11:26:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33267#p33267</guid>
		</item>
		<item>
			<title><![CDATA[Re: pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33265#p33265</link>
			<description><![CDATA[<p>Good Morning!</p><div class="quotebox"><cite>berni51 wrote:</cite><blockquote><div><p>Did I a big mistake or are the initramfs images not suitable for pxe boot?</p></div></blockquote></div><p>It looks like you&#039;ve made NO MISTAKE, but some network-stuff (modules) inside the &quot;initramfs&quot; seems missing? I had also no success on two different machines ...</p><p>Best Regards, FM_81</p><p>PS: The last line of your log isn&#039;t clear to me? Or have you terminated &#039;dnsmasq&#039; manually?<br />On other side: the most important part of output was seen on the clients monitor, not on the server, at least for me?</p>]]></description>
			<author><![CDATA[dummy@example.com (FM81)]]></author>
			<pubDate>Tue, 14 Dec 2021 06:28:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33265#p33265</guid>
		</item>
		<item>
			<title><![CDATA[pxe boot hangs in busybox]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33249#p33249</link>
			<description><![CDATA[<p>I tried to realize a diskless client (Intel NUC). The NUC shall pxe boot chimaera_4.0.0._amd64-desktop-live.iso or chimaera-4-0-0_amd64_minimal-live.iso.<br />As the dnsmaq- and tftp server I selected a raspberrypi 4 with 8 GB of RAM.</p><p>So I installed dnsmasq, pxelinux and syslinux-efi and followed these instructions: <a href="https://linuxconfig.org/how-to-configure-a-raspberry-pi-as-a-pxe-boot-server" rel="nofollow">https://linuxconfig.org/how-to-configur … oot-server</a>. On the Pi also Devuan Chimaera is running.</p><p>Then the first boot of the NUC machine. I saw my menu with the 3 entries (desktop-live &amp; minimal-live), I could select an entry and the the boot procedure startet. It looked like a normal Devuan start, but when the system detected the usb ports with keyboard and mouse, it hangs and I ended up in the initramfs busybox.</p><p>This happens with desktop-live as well as with minimal-live. The logfile on the Pi said:</p><div class="codebox"><pre><code>Dec 12 13:44:34 dnsmasq[1826]: started, version 2.85 DNS disabled
Dec 12 13:44:34 dnsmasq[1826]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
Dec 12 13:44:34 dnsmasq-dhcp[1826]: DHCP, proxy on subnet 192.168.0.0
Dec 12 13:44:34 dnsmasq-tftp[1826]: TFTP root is /home/data/netboot  
Dec 12 13:46:25 dnsmasq-dhcp[1826]: PXE(eth0) 94:c6:91:11:06:22 proxy
Dec 12 13:46:30 dnsmasq-dhcp[1826]: PXE(eth0) 192.168.0.71 94:c6:91:11:06:22 bios/pxelinux.0
Dec 12 13:46:31 dnsmasq-tftp[1826]: error 0 TFTP Aborted received from 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/pxelinux.0 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/pxelinux.0 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/ldlinux.c32 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/7ea11317-78b9-28a5-9593-94c691110622 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/01-94-c6-91-11-06-22 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A80047 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A8004 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A800 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A80 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A8 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0A not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C0 not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: file /home/data/netboot/bios/pxelinux.cfg/C not found
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/pxelinux.cfg/default to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/vesamenu.c32 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/libcom32.c32 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/libutil.c32 to 192.168.0.71
Dec 12 13:46:31 dnsmasq-tftp[1826]: sent /home/data/netboot/bios/pxelinux.cfg/default to 192.168.0.71
Dec 12 13:46:52 dnsmasq-tftp[1826]: sent /home/data/netboot/boot/amd64/devuan/minimal-live/live/vmlinuz to 192.168.0.71
Dec 12 13:48:46 dnsmasq-tftp[1826]: sent /home/data/netboot/boot/amd64/devuan/minimal-live/live/initrd.img to 192.168.0.71
Dec 12 14:03:23 dnsmasq[1826]: exiting on receipt of SIGTERM</code></pre></div><p>Any idea what&#039;s going wrong here? Did I a big mistake or are the initramfs images not suitable for pxe boot?</p><p>Regards<br />Berni</p>]]></description>
			<author><![CDATA[dummy@example.com (berni51)]]></author>
			<pubDate>Sun, 12 Dec 2021 16:30:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33249#p33249</guid>
		</item>
	</channel>
</rss>
