Diff for /wikisrc/tutorials/how_to_install_netbsd_from_an_usb_memory_stick.mdwn between versions 1.7 and 1.12

version 1.7, 2013/02/16 12:28:00 version 1.12, 2017/06/21 10:25:20
Line 1 Line 1
 This describes how to install NetBSD (i386/amd64) using a Memory Stick instead of a CD-ROM Drive.  This describes how to install NetBSD (i386/amd64) using a Memory Stick instead
   of a CD-ROM Drive.
   
 **Contents**  **Contents**
   
Line 17  Installation images are available on the Line 18  Installation images are available on the
 mirrors](http://www.netbsd.org/mirrors/) under the images/ directory, their  mirrors](http://www.netbsd.org/mirrors/) under the images/ directory, their
 filenames match the *install.img.gz pattern.  filenames match the *install.img.gz pattern.
   
 For example if we want to download NetBSD 6.0 for i386:  For example if we want to download NetBSD 7.0 for amd64:
   
     # ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0/images/NetBSD-6.0-i386-install.img.gz      # ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0/images/NetBSD-7.0-amd64-install.img.gz
   
 ## Copying the installation image to the memory stick  ## Copying the installation image to the memory stick
 To prepare the memory stick under a Unix system you can just use  To prepare the memory stick under a Unix system you can just use
 [[!template id=man name="dd" section="1"]].  [[!template id=man name="dd" section="1"]].
 For example if the memory stick is recognized as sd0 (**Warning: this will  Whenever using dd(1), remember to set the blocksize by specifying the 
   <code>bs</code> parameter in order to speed up the write to the installation
   media a bit (e.g. 1m).
   For example if the memory stick is recognized as `sd0` (**Warning: this will
 overwrite all the contents on your memory stick**):  overwrite all the contents on your memory stick**):
   
     # gunzip NetBSD-6.0-i386-install.img.gz      # gunzip NetBSD-7.0-amd64-install.img.gz
     # dd if=NetBSD-6.0-i386-install.img of=/dev/rsd0d      # dd if=NetBSD-7.0-amd64-install.img of=/dev/rsd0d bs=1m
   
 Whenever using dd(1), remember to set the blocksize by specifying the   In the previous command we have used `rsd0d` in order to refer to the *whole*
 <code>bs</code> parameter, at least with a value of 4K, i.e. the call would end   `sd0` disk.
 up with:  
   On Linux the command is similar although it need some minor adjustments, if the
   memory stick is recognized as `sdb` (**Warning: this will overwrite all the
   contents on your memory stick**):
   
       # gunzip NetBSD-7.0-amd64-install.img.gz
       # dd if=NetBSD-7.0-amd64-install.img of=/dev/sdb bs=1M
   
     # dd if=NetBSD-6.0-i386-install.img of=/dev/rsd0d bs=4K  On Windows you can use [rawrite32](//www.netbsd.org/~martin/rawrite32/) to copy
   the image to the stick.
   
 ## Installation process  ## Installation process
 After NetBSD is booted from the memory stick the installation process is  After NetBSD is booted from the memory stick the installation process is

Removed from v.1.7  
changed lines
  Added in v.1.12


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb