Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blog:netboot_netbsd [2018/11/08 20:41] – john | blog:netboot_netbsd [2018/11/08 21:03] (current) – [Motorola MVME 68k] john | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Netbooting NetBSD ===== | ===== Netbooting NetBSD ===== | ||
- | === Intel Architectures (i386/ | + | {{: |
+ | |||
+ | ==== Intel Architectures (i386/ | ||
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: | ||
- | * netBSD-INSTALL.gz - Kernel | + | * **netBSD-INSTALL.gz** - NetBSD kernel |
- | * pxeboot_ia32.bin - Netboot loader sourced from: / | + | |
+ | * **pxeboot_ia32.bin** - Netboot loader sourced from: / | ||
An example working **syslinux** menu entry is shown below: | An example working **syslinux** menu entry is shown below: | ||
Line 23: | Line 26: | ||
</ | </ | ||
- | For amd64 | + | For amd64, there is an additional awkward step in that the **pxeboot_ia32.bin** loader is hardcoded to expect the NetBSD kernel to be called **netbsd** in the root of the TFTP server. To get it to be served from anywhere other than there, you need to modify the PXE server (dnsmasq in our case) to catch the request and point it somewhere else. |
+ | |||
+ | This entry is added to dnsmasq.conf: | ||
+ | |||
+ | < | ||
+ | ... and will flag any TFTP requests from the NetBSD boot loader. | ||
+ | |||
+ | And then this entry: | ||
+ | |||
+ | < | ||
+ | ... will redirect the boot file request to another location, in this case, the real location of the NetBSD 8.0.0 kernel image. | ||
+ | |||
+ | You **can** avoid having to put those entries in dnsmasq.conf, | ||
+ | |||
+ | 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' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== NetBSD 8.0 on i386 ==== | ||
+ | |||
+ | Network booting NetBSD 8.0 on i386 is fairly simple, here's the syslinux menu entry I'm using: | ||
+ | |||
+ | < | ||
+ | LABEL BSD - NetBSD 8.0.0 i386 | ||
+ | KERNEL syslinux/ | ||
+ | APPEND netbsd/ | ||
+ | TEXT HELP | ||
+ | Start the 32bit NetBSD 8.0.0 netboot installer. | ||
+ | ENDTEXT | ||
+ | </ | ||
+ | |||
+ | Only one file is needed: **netbsd-INSTALL.gz** - which is sourced from: / | ||
+ | |||
+ | The **kernel** listed for the syslinux entry is just a standard binary found in most syslinux/ | ||
+ | |||
+ | Once loaded, the NetBSD installer will run. NFS/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Motorola MVME 68k ===== | ||
+ | |||
+ | Surprisingly, | ||
+ | |||
+ | ==== NetBSD 8.0 on MVME 68k ==== | ||
+ | |||
+ | TBD | ||
+ | |||
+ | ==== NetBSD 7 on MVME 68k ==== | ||
- | === Motorola MVME 68k === | + | TBD |