blog:netboot_netbsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog:netboot_netbsd [2018/11/08 20:50] johnblog:netboot_netbsd [2018/11/08 21:03] (current) – [Motorola MVME 68k] john
Line 1: Line 1:
 ===== Netbooting NetBSD ===== ===== Netbooting NetBSD =====
  
-=== Intel Architectures (i386/AMD64) ===+{{:blog:netbsd2.png?nolink&200 |}} 
 + 
 +==== Intel Architectures (i386/AMD64) ====
  
 There are some differences in how 32bit and 64bit bootloaders work to PXE boot NetBSD on Intel systems. There are some differences in how 32bit and 64bit bootloaders work to PXE boot NetBSD on Intel systems.
  
-== NetBSD 8.0 on AMD64 ==+==== NetBSD 8.0 on AMD64 ====
  
 To successfully netboot, you need two files: To successfully netboot, you need two files:
Line 33: Line 35:
 And then this entry: And then this entry:
  
-<code>dhcp-boot=net:netbsd_amd64,tftp:netbsd/amd64/8.0.0/netbsd.gz</code>+<code>dhcp-boot=net:netbsd_amd64,tftp:netbsd/amd64/8.0.0/netbsd-INSTALL.gz</code>
 ... will redirect the boot file request to another location, in this case, the real location of the NetBSD 8.0.0 kernel image. ... will redirect the boot file request to another location, in this case, the real location of the NetBSD 8.0.0 kernel image.
  
Line 40: Line 42:
 Once all that is in place, it will boot and start the normal NetBSD installer - use HTTP/FTP or NFS as the source for installation media. I haven't yet found a preseed/automated installer harness for NetBSD. Once all that is in place, it will boot and start the normal NetBSD installer - use HTTP/FTP or NFS as the source for installation media. I haven't yet found a preseed/automated installer harness for NetBSD.
  
-=== Motorola MVME 68k ===+---- 
 + 
 +==== NetBSD 8.0 on i386 ==== 
 + 
 +Network booting NetBSD 8.0 on i386 is fairly simple, here's the syslinux menu entry I'm using: 
 + 
 +<code> 
 +LABEL BSD - NetBSD 8.0.0 i386 
 +KERNEL syslinux/mboot.c32 
 +APPEND netbsd/i386/8.0.0/netbsd-INSTALL.gz 
 +TEXT HELP 
 +Start the 32bit NetBSD 8.0.0 netboot installer. 
 +ENDTEXT 
 +</code> 
 + 
 +Only one file is needed: **netbsd-INSTALL.gz** - which is sourced from: /pub/NetBSD/NetBSD-8.0/i386/binary/kernel/netbsd-INSTALL.gz 
 + 
 +The **kernel** listed for the syslinux entry is just a standard binary found in most syslinux/pxelinux distributions; it is **not** specific to NetBSD. 
 + 
 +Once loaded, the NetBSD installer will run. NFS/HTTP/FTP will have to be chosen as the installation medium. 
 + 
 +---- 
 + 
 +===== Motorola MVME 68k ===== 
 + 
 +Surprisingly, the 147/167/177bug firmware built in to the Motorola MVME single board computers supports network booting, not via anything as sophisticated as PXE, but by traditional BOOTP methods, and fortunately we can support that in any modern Linux system. 
 + 
 +==== NetBSD 8.0 on MVME 68k ==== 
 + 
 +TBD 
 + 
 +==== NetBSD 7 on MVME 68k ==== 
 + 
 +TBD
  • blog/netboot_netbsd.1541710201.txt.gz
  • Last modified: 2018/11/08 20:50
  • by john