Subject: From zero to /bin/sh?
To: None <>
From: Petar Bogdanovic <>
List: netbsd-users
Date: 09/16/2005 18:28:52
Hello all,

I would like to 'build' an extremely minimal (i386-)NetBSD-System. (Not 
for use, just as an exercise.) What do I need if I just want to get a shell?

I assume:

- a medium (cd, usb-stick, harddisk, etc.)
- a ms-dos partition-table with (at least) one primary partition (p.p.)
- a disklabel on the p.p. with a root-(disklabel-)partition (i.e. wd0a)
- a root-fs (ffs on wd0a)
- a primary boot block (/usr/mdec/bootxx_ffsv1) in the MBR or at the
   beginning of the p.p.

- a kernel: /netbsd
- /bin/init
- /etc/fstab
- /bin/sh

Is that enough for single-user? What should I add for multi-user?

Thanks a lot & with kind regards,