summaryrefslogtreecommitdiff
path: root/package/aboot/src/srmbootfat/srmbootraw.sgml
blob: 6490854ce498fd8cfe0481bcd4e740c33c8073b5 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<refentry id="srmbootraw">

<refmeta>
<refentrytitle>srmbootraw</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>srmbootraw</refmiscinfo>
</refmeta>

<refnamediv>
<refname>srmbootraw</refname>
<refpurpose>
Linux/Alpha SRM boot block composer
</refpurpose>
</refnamediv>

<refsynopsisdiv>
 <cmdsynopsis>
   <command>srmbootraw</command> 
        <arg choice="plain">boot_device</arg>
        <arg choice="plain">boot_file</arg>
   </cmdsynopsis>
</refsynopsisdiv>

<!--  <refsect1><title>COPYRIGHT</title>
<para>
</para>
</refsect1> -->

<refsect1><title>DESCRIPTIONS</title>
<para>
<indexterm><primary>srmbootraw</primary></indexterm>
This tool is a quick hack and is not supposed to exist in its present
state for long.
</para>

<para>
<application>Srmbootraw</application> writes the image from
<filename>boot_file</filename>
preceded by the appropriate SRM boot block into the first blocks of
<filename>boot_device</filename>, preserving the disklabel.
It is intended to be used when you have a small raw
partition at the beginning of your hard drive, dedicated for the bootloader.
If you don't, <filename>srmbootraw</filename>
will silently render your file system(s) unusable.
</para>
</refsect1>

<refsect1><title>ARGUMENTS</title>
<para>
<variablelist>
<varlistentry><term><filename>boot_device</filename></term>
<listitem><para>
The device you intend to boot from, e.g. <filename>/dev/sda</filename>.
It must have enough room
at the beginning to hold the boot block and the bootloader.
</para></listitem></varlistentry>
<varlistentry><term><filename>boot_file</filename></term>
<listitem><para>
The file name of the bootloader.
</para></listitem></varlistentry>
</variablelist>
</refsect1>

<!-- <refsect1><title>BUGS</title>
<para>
</para>
</refsect1> -->

<refsect1><title>AUTHOR</title>
<para>
Nikita Schmidt <email>cetus@snowball.ucd.ie</email>
</para>
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
<application>aboot</application>(8), 
<application>mke2fs</application>(8),
<application>swriteboot</application>(8),
<application>e2writeboot</application>(8),
<application>srmbootfat</application>(1)
</para>
</refsect1>
</refentry>