version 1.1, 2011/11/20 20:55:21
|
version 1.2, 2012/08/12 22:57:40
|
Line 9 This describes how to install NetBSD (i3
|
Line 9 This describes how to install NetBSD (i3
|
[[!toc levels=3]] |
[[!toc levels=3]] |
|
|
|
|
|
#With an downloaded image |
|
From NetBSD 5.1.2 on for the i386 and amd64 ports it is possible to download a |
|
memory stick image for installing instead of the CD-ROM image. |
|
NetBSD using a memory stick instead of a CD-ROM drive |
|
From NetBSD 5.1.2 on it is possible to download a memory stick image directly |
|
for installing instead of downloading and transforming a CD image. |
|
|
|
This section describes in detail how to use this method. If you want to create |
|
an image yourself, please see below. |
|
|
|
##Downloading the installation image |
|
Installation images are available on the [NetBSD |
|
mirrors](http://www.netbsd.org/mirrors/) under the images/ directory, their |
|
filenames match the *install.img.gz pattern. |
|
|
|
For example if we want to download NetBSD 6.0_BETA2 for i386: |
|
|
|
# ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0_BETA2/images/NetBSD-6.0_BETA2-i386-install.img.gz |
|
|
|
##Copying the installation image to the memory stick |
|
To prepare the memory stick under a Unix system you can just use |
|
[[!template id=man name="dd" section="1"]]. |
|
For example if the memory stick is recognized as sd0 (**Warning: this will |
|
overwrite all the contents on your memory stick**): |
|
|
|
# gunzip NetBSD-6.0_BETA2-i386-install.img.gz |
|
# dd if=NetBSD-6.0_BETA2-i386-install.img of=/dev/rsd0d |
|
|
|
Whenever using dd(1), remember to set the blocksize by specifying the |
|
<code>bs</code> parameter, at least with a value of 4K, i.e. the call would end |
|
up with: |
|
|
|
# dd if=NetBSD-6.0_BETA2-i386-install.img of=/dev/rsd0d bs=4K |
|
|
|
##Installation process |
|
After NetBSD is booted from the memory stick the installation process is |
|
usual (you can find an example in |
|
[The NetBSD Guide](http://netbsd.org/docs/guide/en/chap-exinst.html)). |
|
Just pay attention when choosing the installation media: if you want |
|
to install using the installation sets on the memory stick when |
|
[choosing the installation |
|
media](http://www.netbsd.org/docs/guide/en/chap-exinst.html#exinst-choose-media) |
|
select <code>g: local directory</code> and then clear the *base* (by default it points |
|
to release/). |
|
|
|
|
#Easy method using mkmemstick.sh |
#Easy method using mkmemstick.sh |
|
|