Diff for /wikisrc/tutorials/how_to_install_netbsd_from_an_usb_memory_stick.mdwn between versions 1.2 and 1.6

version 1.2, 2012/08/12 22:57:40 version 1.6, 2012/12/18 12:07:02
Line 11  This describes how to install NetBSD (i3 Line 11  This describes how to install NetBSD (i3
   
 #With an downloaded image  #With an downloaded image
 From NetBSD 5.1.2 on for the i386 and amd64 ports it is possible to download a   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.  memory stick image for installing instead of downloading and transforming a CD 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   This section describes in detail how to use this method. If you want to create 
 an image yourself, please see below.  an image yourself, please see below.
Line 24  Installation images are available on the Line 21  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_BETA2 for i386:  For example if we want to download NetBSD 6.0 for i386:
   
     # ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0_BETA2/images/NetBSD-6.0_BETA2-i386-install.img.gz      # ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0/images/NetBSD-6.0-i386-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
Line 34  To prepare the memory stick under a Unix Line 31  To prepare the memory stick under a Unix
 For example if the memory stick is recognized as sd0 (**Warning: this will  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_BETA2-i386-install.img.gz      # gunzip NetBSD-6.0-i386-install.img.gz
     # dd if=NetBSD-6.0_BETA2-i386-install.img of=/dev/rsd0d      # dd if=NetBSD-6.0-i386-install.img of=/dev/rsd0d
   
 Whenever using dd(1), remember to set the blocksize by specifying the   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   <code>bs</code> parameter, at least with a value of 4K, i.e. the call would end 
 up with:  up with:
   
     # dd if=NetBSD-6.0_BETA2-i386-install.img of=/dev/rsd0d bs=4K      # dd if=NetBSD-6.0-i386-install.img of=/dev/rsd0d bs=4K
   
 ##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
 usual (you can find an example in  usual (you can find an example in
 [The NetBSD Guide](http://netbsd.org/docs/guide/en/chap-exinst.html)).  [The NetBSD Guide](http://www.netbsd.org/docs/guide/en/chap-exinst.html)).
 Just pay attention when choosing the installation media: if you want  Just pay attention when choosing the installation media: if you want
 to install using the installation sets on the memory stick when  to install using the installation sets on the memory stick when
 [choosing the installation   [choosing the installation 
Line 55  select <code>g: local directory</code> a Line 52  select <code>g: local directory</code> a
 to release/).  to release/).
   
   
 #Easy method using mkmemstick.sh  #Build your own image
   Use <code>build.sh -U release install-image</code>
   with your usual build settings from your src directory.
   
 [Create an image using mkmemstick.sh](http://jmcneill.spaces.live.com/blog/cns!F507161C07E89CBE!170.entry)  
   
   
   
 This script depends on the sysutils/cdrtools package.  
   
   
   
 1 Fetch a copy of the ISO you wish to install along with [mkmemstick.sh](http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/mkmemstick.sh)  
   
   
   
 2 Create a disk image from the ISO:  
   
   
   
     $ sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img  
   
   
   
 3 Write the newly created image to the memory stick as root:  
   
   
   
     # dd if=i386memstick-5.0.1.img of=/dev/sd0d  
   
 4 Boot from the USB device and follow the [installation process below](/How_to_install_NetBSD_from_an_USB_Memory_Stick/#index3h2).   
   
   Carry on with [the instructions after download](#index2h2) above.
   
   
 #Manual method  #Manual method

Removed from v.1.2  
changed lines
  Added in v.1.6


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