version 1.3, 2018/08/23 18:43:32 |
version 1.4, 2018/08/23 19:56:42 |
Line 1073 official description of the installation |
|
Line 1073 official description of the installation |
|
information and important details. It is available in HTML, PostScript, plain |
information and important details. It is available in HTML, PostScript, plain |
text, and an enhanced text format to be used with more. These files can be |
text, and an enhanced text format to be used with more. These files can be |
found in the root directory of the NetBSD release (on the install CD or on the |
found in the root directory of the NetBSD release (on the install CD or on the |
FTP server). For example, the i386 install instructions are available on |
FTP server). For example, the amd64 install instructions are available at |
ftp.NetBSD.org/pub/NetBSD/NetBSD-7.1/i386/INSTALL.html |
ftp.NetBSD.org/pub/NetBSD/NetBSD-8.0/amd64/INSTALL.html |
|
|
2.2.2. Partitions |
2.2.2. Partitions |
|
|
|
|
|
|
Note |
Note |
|
|
The meaning of partitions "c" and "d" is typical of the i386 port. On most |
The meaning of partitions "c" and "d" is typical of the amd64 port. On most |
other ports, "c" represents the whole disk. |
other ports, "c" represents the whole disk. |
|
|
Note |
Note |
Line 1113 not to, you should let sysinst perform t |
|
Line 1113 not to, you should let sysinst perform t |
|
|
|
The exact amount of space required for a given NetBSD installation varies |
The exact amount of space required for a given NetBSD installation varies |
depending on the platform being used and which distribution sets are selected. |
depending on the platform being used and which distribution sets are selected. |
In general, if you have 1GB of free space on your hard drive, you will have |
Generally speaking, if you have a few GB of free space on your hard drive, you |
more than enough space for a full installation of the base system. |
will have enough space for a full installation of the base system. |
|
|
2.2.4. Network settings |
2.2.4. Network settings |
|
|
Line 1142 tested and works flawlessly! |
|
Line 1142 tested and works flawlessly! |
|
|
|
The NetBSD installation system consists of two parts. The first part is the |
The NetBSD installation system consists of two parts. The first part is the |
installation kernel. This kernel contains the NetBSD install program sysinst |
installation kernel. This kernel contains the NetBSD install program sysinst |
and it is booted from a CD (or DVD), memory card, USB flash drive, or floppy |
and it is booted from the install media (e.g, CD/DVD, USB drive, memory card, |
disk. The sysinst program will prepare the disk: it separates the disk space |
etc.). The sysinst program will prepare the disk: it separates the disk space |
into partitions, makes the disk bootable and creates the necessary file |
into partitions, makes the disk bootable and creates the necessary file |
systems. |
systems. |
|
|
The second part of the install system is made up of the binary distribution |
The second part of the install system is made up of the binary distribution |
sets: the files of the NetBSD operating system. The installer needs to have |
sets: the files of the NetBSD operating system. The installer needs to have |
access to the distribution sets. sysinst will usually fetch these files from |
access to the distribution sets. sysinst will usually fetch these files from |
the CD or DVD you burned, but it can also get them via FTP, NFS, or local |
the install media you booted from, but it can also fetch them via FTP, NFS, or |
filesystem. |
a local filesystem. |
|
|
The NetBSD Project provides complete install media for every supported hardware |
The NetBSD Project provides complete install media for every supported hardware |
architecture. This is usually in the form of bootable CD images (.iso files). |
architecture. This is usually in the form of bootable CD images (.iso files). |
|
|
Note |
|
|
|
Please see the list of mirrors and choose a local server near you for downloads |
|
|
|
2.2.6.1. Booting the install system from USB |
2.2.6.1. Booting the install system from USB |
|
|
To use a bootable NetBSD install USB (on amd64, i386) download the img.gz file |
To use a bootable USB install image (on amd64, i386) download the img.gz file |
for your hardware architecture, decompress and copy the image to a USB. For |
for your hardware architecture, decompress and copy the image to a USB. For |
example on a Unix-like system you may use: |
example on a Unix-like system you may use: |
|
|
# gunzip NetBSD-7.1-amd64-install.img.gz |
# gunzip NetBSD-8.0-amd64-install.img.gz |
# dd if=NetBSD-7.1-amd64-install.img of=/dev/your-usb bs=2m |
# dd if=NetBSD-8.0-amd64-install.img of=/dev/your-usb bs=2m |
|
|
|
|
your-usb may be /dev/rsd0d (NetBSD), /dev/sda (Linux). |
Examples of your-usb are /dev/rsd0d (NetBSD), /dev/sda (Linux). |
|
|
Caution |
Caution |
|
|
Line 1189 architecture and burn it to a CD or DVD. |
|
Line 1185 architecture and burn it to a CD or DVD. |
|
alone, as burning programs vary widely. Ensure that your computer is set up to |
alone, as burning programs vary widely. Ensure that your computer is set up to |
boot from CD-ROM before hard drives, insert the disc, and reboot the computer. |
boot from CD-ROM before hard drives, insert the disc, and reboot the computer. |
|
|
2.2.6.3. Booting the install system from floppy |
|
|
|
If you need to create installation floppies, you need to copy floppy images to |
|
a diskette. The floppy images are available on the NetBSD FTP servers or on a |
|
NetBSD install CD. To perform this operation in DOS you can use the rawrite |
|
program in the i386/installation/misc directory. For Windows, there's a version |
|
in rawr32.zip. The image files are i386/installation/floppy/boot1.fs and i386/ |
|
installation/floppy/boot2.fs for installation of a "normal" PC. The other |
|
floppies that are available are described in more detail in the INSTALL |
|
document. |
|
|
|
Note |
|
|
|
Before you write the boot images to floppies, you should always check that the |
|
floppies are good: this simple step is often overlooked, but can save you a lot |
|
of trouble! |
|
|
|
The procedure to write floppies is: |
|
|
|
1. Format the floppy. |
|
|
|
2. Go to the I386\INSTALLATION\FLOPPY directory of the CD-ROM. |
|
|
|
3. Run the ..\MISC\RAWRITE program (or extract ..\MISC\RAWR32.ZIP if you're on |
|
a Windows system, and run the RAWRITE32 program in that file). Usually the |
|
"Source file"s are BOOT1.FS and BOOT2.FS and the "Destination drive" is A: |
|
|
|
To create a boot floppy in a Unix environment, the dd command can be used: For |
|
example: |
|
|
|
# cd i386/installation/floppy |
|
# dd if=boot.fs of=/dev/fd0a bs=36b |
|
|
|
Note |
|
|
|
A 1440K floppy contains 1474560 bytes and is made up of 80 cylinders, 2 tracks, |
|
18 sectors and 512 bytes per sector, i.e., 80 * 2 * 18 = 2880 blocks. Thus bs= |
|
36b copies one cylinder (18 * 2 blocks) at a time and repeats the operation 80 |
|
times instead of 2880. |
|
|
|
2.3. Checklist |
2.3. Checklist |
|
|
This is the checklist about the things that should be clear and on-hand now: |
This is the checklist about the things that should be clear and on-hand now: |
Line 1244 This is the checklist about the things t |
|
Line 1200 This is the checklist about the things t |
|
|
|
* A working backup |
* A working backup |
|
|
* A printout of the INSTALL document |
* A copy of the INSTALL document |
|
|
Chapter 3. Example installation |
Chapter 3. Example installation |
|
|