version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
ACTIVATE |
| |
|
2 |
!!!ACTIVATE |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
BUGS |
| |
|
8 |
AUTHOR |
| |
|
9 |
SEE ALSO |
| |
|
10 |
---- |
| |
|
11 |
!!NAME |
| |
|
12 |
|
| |
|
13 |
|
| |
|
14 |
activate - read/write flags marking active boot partition |
| |
|
15 |
!!SYNOPSIS |
| |
|
16 |
|
| |
|
17 |
|
| |
|
18 |
__/sbin/activate__ ''device'' |
| |
|
19 |
show which partition is currently marked active on |
| |
|
20 |
device__ |
| |
|
21 |
/sbin/activate__ ''device partition'' |
| |
|
22 |
mark specified partition as active on given |
| |
|
23 |
device |
| |
|
24 |
!!DESCRIPTION |
| |
|
25 |
|
| |
|
26 |
|
| |
|
27 |
__activate__ is a simple program which sets the partition |
| |
|
28 |
which will be used to boot the system. To be precise, it |
| |
|
29 |
sets a flag in the partition table of the hard disk. This |
| |
|
30 |
may or may not have an effect on the bootup procedure. PC |
| |
|
31 |
booting is complicated, and this manual page does not |
| |
|
32 |
attempt to explain it; for more information on what |
| |
|
33 |
partition you should set active, you should consult the |
| |
|
34 |
documentation for your bootloader (an example bootloader is |
| |
|
35 |
__lilo,__ which has a good manual in /usr/share/doc/lilo/ |
| |
|
36 |
on Debian systems). |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
Note that programs such as __fdisk__ will also allow you |
| |
|
40 |
to set the active partition; it is probably better to use |
| |
|
41 |
one of these, since they generally provide services such as |
| |
|
42 |
allowing you to view the partition table before picking |
| |
|
43 |
which partition to activate, and provide opportunity to |
| |
|
44 |
confirm actions before writing to the partition table. |
| |
|
45 |
However, these programs have more checking for 'wrong' |
| |
|
46 |
values; for instance, they might not allow you to set the |
| |
|
47 |
active flag on an extended partition (because this is |
| |
|
48 |
generally a bad idea). __activate__, on the other hand, |
| |
|
49 |
assumes you really do know what you're doing and doesn't |
| |
|
50 |
have any bothersome prompts or sanity checks. In particular, |
| |
|
51 |
__activate__ makes ''no'' checks that the device you |
| |
|
52 |
give has a partition table on it at all! If you specify the |
| |
|
53 |
wrong device it will happily write garbage to |
| |
|
54 |
it. |
| |
|
55 |
!!OPTIONS |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
''device'' should be a block device such as /dev/hda. |
| |
|
59 |
Note that it does not make sense to give one of the |
| |
|
60 |
partition devices such as /dev/hda3. |
| |
|
61 |
|
| |
|
62 |
|
| |
|
63 |
''partition'' should be a number between 1 and 4 |
| |
|
64 |
specifying which partition should have the active flag |
| |
|
65 |
set. |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
If no partition number is given, activate will print out the |
| |
|
69 |
partition which is currently marked active. |
| |
|
70 |
!!BUGS |
| |
|
71 |
|
| |
|
72 |
|
| |
|
73 |
__activate__ should check that the device actually has a |
| |
|
74 |
partition table on it. |
| |
|
75 |
!!AUTHOR |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
Werner Almesberger (almesber@bernina.ethz.ch). |
| |
|
79 |
Peter Maydell (pmaydell@chiark.greenend.org.uk) wrote this |
| |
|
80 |
manual page. |
| |
|
81 |
!!SEE ALSO |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
lilo(8), fdisk(8) |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
__lilo__ comes with extensive documentation; this can be |
| |
|
88 |
found in /usr/share/doc/lilo/ on Debian |
| |
|
89 |
systems. |
| |
|
90 |
---- |