1 .\" $NetBSD: prep,v 1.1 2008/09/13 15:43:07 tsutsui Exp $
3 First and foremost, before beginning the installation process,
4 .Em make sure you have a reliable backup
5 of any data on your hard disk that you wish to keep,
6 including existing Windows NT partition.
7 Mistakes in partitioning your hard disk may lead to data loss.
9 is still in very experimental state so unexpected trouble could
10 also happen even on normal operations.
13 .Ss2 Available Boot Media
15 The ARC firmware on most machines allows for system booting using:
17 Local floppy disk, hard disk or CD-ROM with the following file systems:
19 MS-DOS (FAT12) file system
21 ISO9660 CD-ROM file system
25 Some ARC implementation might support netboot, but the
27 bootloader doesn't support netboot due to lack of information.
29 There are no bootable floppies in the distribution because the
31 bootloader doesn't support loading a kernel from multiple floppies
32 and the installation kernel is too large to fit one floppy.
34 .Ss2 Preparing the Bootable Media
36 This section describes how to get a
38 install kernel onto a CD-R.
42 mirror sites and download CD-R image from the
45 .Lk http://www.NetBSD.org/mirrors/#iso
47 Get and install cdrecord.
48 This is available in the packages collection under pkgsrc/sysutils/cdrtools.
49 Systems not supported by the packages
50 collection should get it from the official website:
52 .Lk ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/sysutils/cdrtools/README.html
54 .Lk http://cdrecord.berlios.de/old/private/cdrecord.html
57 .No # Ic "cdrecord -v speed=16 dev=/dev/cd0d arccd.iso"
60 You will need to substitute the correct name of the disk image file,
61 speed for your CD writer, and the
62 correct device for your system (for i386 it would be
65 .Ss2 Booting from CD-ROM and Hard disk
67 To boot from a CD-ROM and a hard disk, choose the
69 menu on the ARC BIOS prompt and specify the
71 program with appropriate boot device paths.
72 The first argument is a path to bootloader, and
73 the second argument is a path to a kernel to be loaded.
75 The device pathnames might be machine dependent.
77 .Dq Advanced RISC Computing Specification
81 .Lk http://www.NetBSD.org/ports/arc/index.html
85 Booting a kernel from the installation CD-ROM:
87 .Ic scsi(0)cdrom(4)fdisk(0)boot scsi(0)cdrom(4)fdisk(0)netbsd
93 is used to specify SCSI interfaces. If your boot devices are connected to
94 the secondary SCSI, use
101 is a SCSI ID of the CD-ROM.
102 You might have to use a different number.
106 Booting a kernel in the FAT partition via bootloader in the same FAT partition:
108 .Ic scsi(0)disk(0)rdisk(0)partition(1)boot scsi(0)disk(0)rdisk(0)partition(1)netbsd
112 Booting a kernel in the FFS partition via bootloader in the FAT partition:
114 .Ic scsi(0)disk(0)rdisk(0)partition(1)boot scsi(0)disk(0)rdisk(0)partition(2)netbsd
121 is the SCSI ID of the disk.
122 You might have to use a different number.
129 are the partition numbers of the FDISK (MBR) partition of the disk.
130 Usually the FAT partition (which is mandatory for the bootloader) is in
131 the first partition and
133 will be installed in the second partition, so use
135 for a bootloader and specify
139 kernel after it's installed in the
144 Once you have successfully installed
146 you can store the above default boot command into NV-RAM with the
149 .Sq Sy Manage startup
150 commands on the ARC BIOS menu.