~ubuntu-branches/ubuntu/hardy/silo/hardy-updates

« back to all changes in this revision

Viewing changes to etc/silo.conf

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2007-10-25 09:28:08 UTC
  • mfrom: (15.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071025092808-1yhj12t7s4zqsfu5
Tags: 1.4.13a+git20070930-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build with -fno-stack-protector.
  - Change silo.postinst to automatically update the boot block without
    invoking siloconfig and keep asking questions on upgrades.
  - Convert silo.conf to use /dev/disk/by-uuid.
  - Ubuntu maintainer foobar.
  - Fix debian/rules call to dh_installdocs.
  - Drop the requirement of gcc-4.1 and start using default gcc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Example of how can be silo.conf set up
 
2
partition = 4
 
3
root = /dev/sda4
 
4
timeout = 10
 
5
#password = __put_your_password_in_cleartext_here__
 
6
#restricted
 
7
image = /vmlinux
 
8
        label = linux
 
9
image = /vmlinux.old
 
10
        label = old
 
11
image = /vmlinux.live
 
12
        label = live
 
13
image = /vmlinux.elf
 
14
        label = elf
 
15
        root = /dev/sda8
 
16
# Boot OS on partition 1 of current disk, using bootblock saved from
 
17
# /dev/sda1 to /dev/sda4's /boot/old.b
 
18
other = 1
 
19
        bootblock = 4/boot/old.b
 
20
        label = sunos
 
21
# Boot OS on partition 6 of the current disk, using it's bootblock
 
22
#other = 6
 
23
#       label=os6
 
24
#
 
25
# This version of silo is able to load solaris kernel already, you just
 
26
# specify the name of the image (usually /kernel/unix) without the
 
27
# /platform/SUNW,SparcStation_5 like stuff on Solaris 2.5+.
 
28
# You should type there a flag solaris, which tells it is a solaris kernel
 
29
# and needs special handling (you'll still need to have in / or
 
30
# /platform/... your solaris ufsboot loader). You can pass arguments to that
 
31
# kernel using literal argument.
 
32
# If you want to load a solaris kernel from the command line, you should
 
33
# either put a keyword solaris somewhere in parameters, or should use name
 
34
# /kernel/unix (which defaults to solaris).
 
35
image = 2/kernel/unix
 
36
        label = solaris
 
37
        literal = "-v"
 
38
        solaris
 
39
# This image will appear in the image list only if we are on a sun4u
 
40
image[sun4u] = /vmlinux64
 
41
        label = archspecific
 
42
# this one if sun4c, sun4d or sun4m
 
43
image[sun4c,sun4d,sun4m] = /vmlinux32
 
44
        label = archspecific
 
45
# and this one if sun4
 
46
image[sun4] = /vmlinux.sun4
 
47
        label = archspecific
 
48
# This image will be loaded and executed if you press <E> at the beginning
 
49
# of the input line. No Enter key is needed.
 
50
# If you want to give such a kernel some arguments, you should 
 
51
# enter at least one space before the image name (spaces will be eaten,
 
52
# but if the single-key label is not the really first letter on the line
 
53
# it won't be autostarted).
 
54
image = /vmlinuxxy
 
55
        label = E
 
56
        single-key
 
57
# Like this you can build some help system for SILO.
 
58
# If the user presses some key at the beginning of the line, it will
 
59
# display some file (the "cat " prefix makes it go to screen instead
 
60
# of being loaded and executed).
 
61
image = "cat /etc/msgs/hello.msg"
 
62
        label = H
 
63
        single-key
 
64
# And if you press L, you will see long listing of your /lib/modules/ :)
 
65
image = "ls -l /lib/modules/"
 
66
        label = L
 
67
        single-key