summaryrefslogtreecommitdiff
path: root/package/aboot/src/INSTALL
blob: 107940de214878d86216376e6effc6778201a4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Thu Jun 27 03:23:08 1996

- Edit Makefile and include/config.h to suite your needs.  For most
  purposes, the distributed version should work fine.  Note that
  the CONFIG_FILE_PARTITION macro is still present like in earlier
  version, but since aboot-0.5 allows you to select a partition via
  the boot-commandline, the value for that macro is not as critical
  anymore. Users of certain versions of gcc (2.96 and later?) 
  may need to add '-ffreestanding' flag to CFLAGS, in the Makefile.

- Type "make".

- To install the newly created aboot image (named "bootlx"), in most cases,
  you use swriteboot (found in the sdisklabel directory), like this:

    # swriteboot -c[boot partition #] [boot device] bootlx

  for example, on my system, the kernel images (and aboot.conf) are on my 
  root partition, /dev/sda2. hence:

    # swriteboot -c2 /dev/sda bootlx
  
  DON'T DO THIS UNLESS YOU'RE SURE OF THE PARTITION INFO. If you don't know 
  exactly what you're doing, and your system already boots okay, there's no 
  reason to be installing a new bootloader.

  For more info, read the SRM HOWTO, in doc/faq/srm.html, or at:
  http://www.alphalinux.org/faq/srm.html