NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to install NetBSD on a USB stick



In Message <20160213142158.GA20835@odin>,
   Mayuresh <mayuresh%acm.org@localhost>wrote:

=>I wish to install NetBSD 7.0 i386 on a laptop on a USB stick. This is for
=>testing purpose, not for day to day use.
=>
=>I know I can boot from an installation image from a USB stick. However I
=>want to carry out the installation on a USB stick.
=>
=>The installation procedure that works with a hard disk did not work. I am
=>not sure whether setting up geometry etc. needs to be done differently if
=>the target drive is a USB stick.
=>
=>I notice a memstick image for 5.1, but not for 7.0.
=>http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1/memstick/

   Unfortunately, you'll probably need to build one yourself.
Fortunately, as long as you have a build host, it should be pretty
easy. With the source checked out, just:

% ./build.sh -m i386 -U tools release live-image

You'll end up with NetBSD-${version}-${arch}-live-{sd0,wd0}root.img.gz
files in the releasedir/images directory. Uncompressed, the sd0
image will work on USB drives, and the wd0 image will work on SATA
drives. Note that I haven't done this as a cross-build, but I
believe it should work.

   Good luck...

				Gary Duzan




Home | Main Index | Thread Index | Old Index