Home | History | Annotate | Line # | Download | only in i386
prep revision 1.2.2.2
      1 NOTE: If you wish to install NetBSD on your whole disk, i.e. you do
      2 not want DOS or any other operating system to reside on your hard
      3 disk, you can skip this section and go on to the section that
      4 describes installation, below.  If you're upgrading your system from a
      5 previous release of NetBSD, you shouldn't have proceeded directly to
      6 the section about upgrading; you need none of the information
      7 presented here.
      8 
      9 First and foremost, before beginning the installation process, MAKE
     10 SURE YOU HAVE A RELIABLE BACKUP of any data on your hard disk that you
     11 wish to keep.  Repartitioning your hard disk is an excellent way to
     12 destroy important data.
     13 
     14 Second, if you are using a disk controller which supports disk
     15 geometry translation, be sure to use the same parameters for NetBSD as
     16 for DOS or the other operating systems installed on your disk.  If you
     17 do not, it will be much harder to make NetBSD properly coexist with
     18 them.
     19 
     20 Third, use the DOS "fdisk" program or another partition editor to
     21 repartition your hard disk.  Create a partition of at least 40M in
     22 size, and note its starting offset and its length (preferably in units
     23 of disk sectors or cylinders).  You will need that information when
     24 installing NetBSD (and if the offset and length are not in those
     25 units, you will have to convert them).  Once you have created the new
     26 NetBSD partition, mark it as having a partition type of 0xA5 (165, in
     27 decimal).  If you used "fdisk" to partition your disk, you will
     28 probably have to use a different partition editor to mark the
     29 partition with the correct type.
     30 
     31 Finally, do whatever is necessary to restore order to the partition
     32 you took space away from.  If it was a DOS partition, you probably
     33 will need to use "format" to create a new file system on it, and then
     34 restore your important files from your backups.  Other operating
     35 systems will have different needs; most will need to reformat the
     36 partition, and if it was their "main" partition, will probably need
     37 to be reinstalled.
     38 
     39 Your hard disk is now prepared to have NetBSD installed on it, and
     40 you should proceed with the installation instructions.
     41