aboot.conf.sgml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  2. <refentry id="aboot.conf">
  3. <refmeta>
  4. <refentrytitle>aboot.conf</refentrytitle>
  5. <manvolnum>5</manvolnum>
  6. <refmiscinfo>aboot.conf</refmiscinfo>
  7. </refmeta>
  8. <refnamediv>
  9. <refname>aboot.conf</refname>
  10. <refpurpose>The configuration file for <application>aboot</application>(8)
  11. </refpurpose>
  12. </refnamediv>
  13. <refsect1><title>DESCRIPTION</title>
  14. <para>
  15. <indexterm><primary>aboot.conf</primary></indexterm>
  16. <filename>aboot.conf</filename> contains a list of boot settings
  17. for <application>aboot</application>(8). Each boot setting
  18. has a unique number which can be supplied at the SRM-Prompt.
  19. <indexterm><primary>SRM</primary></indexterm>.
  20. </para>
  21. <para>
  22. <filename>aboot.conf</filename> must be in a directory called
  23. <filename>etc</filename> on the <emphasis>same partition</emphasis>
  24. as your kernels reside on unless you explicitly list the partitions
  25. for your kernels (see below for details). So if you create a separate
  26. boot partition (called <filename>/boot</filename>) then
  27. <filename>aboot.conf</filename> should reside in <filename>/boot/etc/</filename>.
  28. </para>
  29. <para>
  30. In the following example the kernels reside on a different partition (hda4)
  31. then <filename>/</filename> belongs to (hda5), while in the fifth
  32. line <filename>/boot</filename> is on the same partition (hda6) as
  33. <filename>/</filename>.
  34. Therefore <filename>aboot.conf</filename> can be located on any of the
  35. three partitions but <emphasis>always</emphasis> in a directory
  36. <filename>etc</filename> at the top level of the file system on that
  37. partition. You can change the partition to use with
  38. <application>abootconf</application>(8).
  39. </para>
  40. <para><example>
  41. <title>Example <filename>aboot.conf</filename></title>
  42. <blockquote>
  43. <literallayout>
  44. 0:4/vmlinuz root=/dev/hda5
  45. 1:4/vmlinuz root=/dev/hda5 single
  46. 2:4/vmlinuz.old ro root=/dev/hda5
  47. 3:4/vmlinuz-2.4.9-32 root=/dev/sdc3 initrd=/initrd-2.4.9-32.img console=tty0
  48. 8:6/boot/vmlinuz ro root=/dev/hda6
  49. </literallayout>
  50. </blockquote>
  51. </example></para>
  52. <para>
  53. The first number is a unique identifier for each boot configuration.
  54. To boot a certain configuration at the SRM-Prompt you would issue
  55. </para>
  56. <para>
  57. <command>
  58. boot <parameter>dka0 -fl "0"</parameter>
  59. </command>
  60. </para>
  61. <para>
  62. where dka0 has to be replaced by your boot device and the boot configuration
  63. (0 in this case) can be replaced by any defined in
  64. <filename>etc/aboot.conf</filename>.
  65. </para>
  66. <para>
  67. After the colon the number of the partition the kernel resides on is given. 1
  68. corresponds to the BSD partition labeled A:, 2 to B: and so on.
  69. </para>
  70. <para>
  71. After the slash the name of the kernel to boot is given, including a possible
  72. path. If your kernel does not reside on a file system but is located directly
  73. after <application>aboot</application>(8) at the beginning of the hard disk
  74. you would omit the number, the slash and the kernel name.
  75. </para>
  76. <para>
  77. Next the name of the partition to mount as <filename>/</filename> is given.
  78. Other kernel parameters follow as required. As shown also an initrd can be
  79. specified.
  80. </para>
  81. <para>
  82. The contents of this file can be shown before booting if necessary by
  83. using the interactive
  84. mode of <application>aboot</application>(8) (booting with the flag "i")
  85. and then issuing "h" at the <application>aboot</application>-prompt.
  86. </para>
  87. </refsect1>
  88. <refsect1><title>AUTHOR</title>
  89. <para>
  90. This man page was written by Helge Kreutzmann
  91. <email>debian@helgefjell.de</email> for the Debian GNU/Linux project but
  92. may be used by others.
  93. </para>
  94. </refsect1>
  95. <refsect1><title>SEE ALSO</title>
  96. <para><application>aboot</application>(8), <application>abootconf</application>(8), <application>swriteboot</application>(8), HP SRM Manual (<ULink URL="http://h18002.www1.hp.com/alphaserver/download/srm_reference.pdf"></ULink>)
  97. </refsect1>
  98. </refentry>