Install NetBSD from USB stick

Since NetBSD 5.1, a special image is generated for i386 and amd64 architecture. This is called “memstick”.

Look at your nearest mirror, in a directory called /pub/NetBSD/NetBSD-5.1/memstick. You’ll find fs.gz image file. Grab the one you want and unzip it. Plug you USB key and issue commands that, from Mac OS X, would look like:

# diskutil unmountDisk /dev/disk3
# dd if=i386memstick-5.1.fs of=/dev/disk3 bs=1m
# diskutil unmountDisk /dev/disk3

Insert the USB key in the laptop and boot from it.

That’s All Folks!

Author: Joel Carnat

Technical Architect and SysAdmin @work ; OpenBSD and FOSS @home ; Karate, Kobudō, Jōdō, Bodyweight workout, Photography @hobby

3 thoughts on “Install NetBSD from USB stick”

    1. I don’t remember :)
      It is probably “local directory” or “unmounted fs”, specifying the USB drive.
      Your best bet is to drop to a shell and have a look if you can find the sets from “/” ; then use “local directory”. If not, just mount sd0a on /mnt, locate the sets’ path, unmount sd0a and specify the information with “unmounted fs”.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.