Re: How do I build a custom installer?
Greg Troxel <[email protected]> Mon, 10 Feb 2025 22:03:46 -0500
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Message-ID | <[email protected]> |
Chris Tucker <[email protected]> writes: > Hello, > > I have installed NetBSD/macppc on my Mac using the netbsd ISO. I can > boot off the cd using ofwboot.xcf and "netbsd". > > However, I'd like to modify the "netbsd" kernel options. > > I've successfully modified regular kernels just fine. > > However, I've not been able to figure out how to do this for the installer. > > To make my installer kernel, I lightly modified GENERIC_MD and built it. > > When I boot, the system boots normally at first, then complains "no > file system for md0". > > I noticed that the ISO installer file includes /bin, /etc, /sbin, and > several other files that aren't a kernel. ( I presume this is on the > memory disk, but not sure how it gets there, or if it's part of the > kernel build somehow ...) > > What's the process for making a custom kernel for the installer? Usually, modify the sources (as you did) and then ./build.sh release install-image live-image or some variation on that. At times various ports have needed steps outside of build.sh but gradually more has been integrated. (I have no idea about the macppc particulars.)