<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Raymond P. Burkholder - Things I Do - NetBoot</title>
    <link>http://blog.raymond.burkholder.net/</link>
    <description>In And Around Technology and The Arts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7.2 - http://www.s9y.org/</generator>
    <pubDate>Sat, 27 Feb 2021 17:52:25 GMT</pubDate>

    <image>
        <url>http://blog.raymond.burkholder.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Raymond P. Burkholder - Things I Do - NetBoot - In And Around Technology and The Arts</title>
        <link>http://blog.raymond.burkholder.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Debian mkfs.vfat</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/1093-Debian-mkfs.vfat.html</link>
            <category>NetBoot</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/1093-Debian-mkfs.vfat.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=1093</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1093</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;From &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740503&quot; target=_blank&gt;USB drive that contains a partition table&lt;/a&gt;, when installing firmware from a USB drive, there is the following note:

&lt;blockquote&gt;&lt;pre&gt;
   - Workaround is to format the USB drive without a partition table,
     e.g. &quot;mkfs.vfat -I /dev/sdc&quot; (mkfs.vfat actually expects a
     partition table, -I override forces it to use the entire device)
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Miscellaneous:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt&quot; target=_blank&gt;Mounting the root filesystem via NFS (nfsroot)&lt;/a&gt; - n order to use a diskless system, such as an X-terminal or printer server
for example, it is necessary for the root filesystem to be present on a
non-disk device. This may be an initramfs (see Documentation/filesystems/
ramfs-rootfs-initramfs.txt), a ramdisk (see Documentation/admin-guide/initrd.rst) or a
filesystem mounted via NFS.
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 27 Feb 2021 17:52:25 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/1093-guid.html</guid>
    
</item>
<item>
    <title>IPXE / PXEBoot Resources</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/1090-IPXE-PXEBoot-Resources.html</link>
            <category>NetBoot</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/1090-IPXE-PXEBoot-Resources.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=1090</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1090</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://doc.rogerwhittaker.org.uk/ipxe-installation-and-EFI/&quot; target=_blank&gt;iPXE installation and EFI&lt;/a&gt; - building menus
  &lt;li&gt;&lt;a href=&quot;https://www.gnu.org/software/grub/manual/grub/html_node/Installing-GRUB-using-grub_002dinstall.html&quot; target=_blank&gt;4.1 Installing GRUB using grub-install&lt;/a&gt; - from the Grub manual
  &lt;li&gt;&lt;a href=&quot;https://ipxe.org/appnote/debian_preseed&quot; target=_blank&gt;iPXE and Debian PreSeed&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://netboot.xyz/&quot; target=_blank&gt;netboot.xyz&lt;/a&gt; is a way to PXE boot various operating system installers or utilities from one place within the BIOS without the need of having to go retrieve the media to run the tool. iPXE is used to provide a user friendly menu from within the BIOS that lets you easily choose the operating system you want along with any specific types of versions or bootable flags.
  &lt;li&gt;&lt;a href=&quot;http://boot.ipxe.org/?C=M;O=A&quot; target=_blank&gt;Index of boot.ipxe.org&lt;/a&gt; - up to date files for for use, note the iso is for legacy boot only
  &lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/UEFI&quot; target=_blank&gt;Debian UEFI&lt;/a&gt; - intended to describe UEFI for Debian purposes
  &lt;li&gt;&lt;a href=&quot;https://ipxe.org/embed&quot; target=_blank&gt;Emedded scripts&lt;/a&gt; - 
  &lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/Debootstrap&quot; target=_blank&gt;Debian Debootstrap&lt;/a&gt; - is a tool which will install a Debian base system into a subdirectory of another, already installed system - uses chroot to make and modify images 
  &lt;li&gt;&lt;a href=&quot;https://github.com/AdrianKoshka/ipxe-scripts/blob/master/boot/linux/debian.ipxe&quot; target=_blank&gt; ipxe-scripts/boot/linux/debian.ipxe&lt;/a&gt; - 
  &lt;li&gt;&lt;a href=&quot;https://coreos.com/os/docs/latest/booting-with-ipxe.html&quot; target=_blank&gt;Booting CoreOS Container Linux via iPXE&lt;/a&gt; - many descriptive details
  &lt;li&gt;&lt;a href=&quot;http://mrbojangles3.github.io/2019/05/27/Debian-Preseed/&quot; target=_blank&gt;Automated Install with Debian Preseed&lt;/a&gt; - well documented preseed for a number of scenarios
  &lt;li&gt;&lt;a href=&quot;&quot; target=_blank&gt;&lt;/a&gt; - 
  &lt;li&gt;&lt;a href=&quot;&quot; target=_blank&gt;&lt;/a&gt; - 
  &lt;li&gt;&lt;a href=&quot;&quot; target=_blank&gt;&lt;/a&gt; - 
  &lt;/ul&gt;

&lt;p&gt;Some items to look into:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/LTSP&quot; target=_blank&gt;Linux Terminal Server Project (LTSP)&lt;/a&gt; - 
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 18 Jan 2021 01:12:39 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/1090-guid.html</guid>
    
</item>
<item>
    <title>Build MInimal IPXE / Grub USB to netinstall Debian on Dell Wyse 3040 via PXEBoot</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/1089-Build-MInimal-IPXE-Grub-USB-to-netinstall-Debian-on-Dell-Wyse-3040-via-PXEBoot.html</link>
            <category>NetBoot</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/1089-Build-MInimal-IPXE-Grub-USB-to-netinstall-Debian-on-Dell-Wyse-3040-via-PXEBoot.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=1089</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1089</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;For the life of me, even though there is a menu option the Dell Wyse ThinClient 3040 to EFI PXEBoot,
it pulls DHCP information, but never requests the boot files from the PXE server.

&lt;p&gt;Probably the most detailed account of innards of the &lt;a href=&quot;https://www.parkytowers.me.uk/thin/wyse/3040/&quot; target=_blank&gt;Wyse 3040 (N10D): Hardware&lt;/a&gt;.

&lt;p&gt;Instead, as a work around, the goal is to keep a USB stick inserted into the 3040 to
act as a PXE boot mechanism to install Debian on to the local drive.

&lt;p&gt;After &lt;a href=&quot;https://blog.raymond.burkholder.net/index.php?/archives/1086-Create-Filesystem-on-USB.html&quot; target=_blank&gt;building a USB filesystem&lt;/a&gt;, Install IPXE files (as a side effect, it adds an ipxe menu item to grub.cfg):

&lt;blockquote&gt;&lt;pre&gt;
$ apt install ipxe
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Mount the partition:

&lt;blockquote&gt;&lt;pre&gt;
$ mkdir mnt
$ sudo mount /dev/sda1 mnt
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Create the EFI BOOT directory:

&lt;blockquote&gt;&lt;pre&gt;
$ sudo mkdir -p mnt/EFI/BOOT/
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Copy the IPXE EFI boot file natively, and as a required name:

&lt;blockquote&gt;&lt;pre&gt;
$ sudo cp /usr/lib/ipxe/ipxe.efi mnt/EFI/BOOT/
$ sudo cp /usr/lib/ipxe/ipxe.efi mnt/EFI/BOOT/BOOTX64.EFI
$ ls mnt/EFI/BOOT/
BOOTX64.EFI  ipxe.efi
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;The rename to BOOTX64.EFI is required as this is hardcoded in the boot menus for the Wyse 3040.  During the tail end of a Debian Expert install, there is a question of whether to install into a legacy EUFI boot directory.  This performs that /EFI/BOOT/... build.

&lt;p&gt;Install Grub (see &lt;a href=&quot;https://blog.roberthallam.org/2020/05/psa-dell-wyse-3040-uses-fallback-efi-location/&quot; target=_blank&gt;--removable reference&lt;/a&gt;:

&lt;blockquote&gt;&lt;pre&gt;
# sudo grub-install /dev/sda --removable  # may solve the above problem with BOOTX64.EFI, needs to be tried
$ sudo grub-install /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Unmount the drive for use:

&lt;blockquote&gt;&lt;pre&gt;
$ sudo umount /dev/sda1
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;BIOS entries for the Dell Wyse 3040 to use with this iPXE USB (default password Fireport):

&lt;ul&gt;
  &lt;li&gt;General -&gt; Boot Sequence -&gt; disable both IP6&amp;IP4 Realtek GBE
  &lt;li&gt;System Configuration -&gt; UEFI Network Stack -&gt; uncheck Enable UEFI Network Stack
  &lt;li&gt;System Configuration -&gt; Integrated Nic -&gt; Enabled (no PXE)
  &lt;li&gt;System Configuration -&gt; USB Configuration -&gt; check Enable USB Boot Support
  &lt;li&gt;Secure Boot -&gt; Secure Boot Enable -&gt; Disabled
  &lt;li&gt;Power Management -&gt; Wake on LAN -&gt; LAN Only
  &lt;li&gt;Virtualization Support -&gt; Virtualization -&gt; Enable
  &lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Sun, 17 Jan 2021 22:47:58 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/1089-guid.html</guid>
    
</item>
<item>
    <title>iPXE Boot</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/1048-iPXE-Boot.html</link>
            <category>NetBoot</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/1048-iPXE-Boot.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=1048</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1048</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;An extract from bug #949655 at bugs.debian.org:

&lt;blockquote&gt;
&lt;p&gt;I finally found on iPXE website[1] a link to detailed examples, including one[2] to boot pxelinux. It works perfectly with di-netboot-assistant:

&lt;pre&gt;
#!ipxe
dhcp
set 210:string tftp://my_server/d-i/n-a/
chain ${210:string}pxelinux.0
&lt;/pre&gt;

&lt;p&gt;For those who did not know (like me &lt;img src=&quot;http://blog.raymond.burkholder.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;), 210 is a standard DHCP option called &quot;path prefix&quot;[3].

&lt;ul&gt;
  &lt;li&gt;[1]&lt;a href=&quot;https://ipxe.org/examples#extensive_ipxe_menu_example&quot; target=_blank&gt;extensive ipxe menu example&lt;/a&gt;
  &lt;li&gt;[2]&lt;a href=&quot;https://gist.github.com/robinsmidsrod/2234639&quot; target=_blank&gt;menu.ixpe file&lt;/a&gt;
  &lt;li&gt;[3]&lt;a href=&quot;https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml&quot; target=_blank&gt;bootp dhcp parameters&lt;/a&gt;
  &lt;/ul&gt;
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Sat, 25 Jan 2020 16:54:37 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/1048-guid.html</guid>
    
</item>

</channel>
</rss>
