bon j'ai des probleme avec lilo > j'ai un 2 disques
hda1 = windowsme hda2 = /usr hdc1 = swap hdc2 = / hdc3= /home
lilo sur hdc2 me dit
1.
hussshome/mardi_soir# lilo -v
2.
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
3.
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
4.
Released 17-Nov-2004, and compiled at 12:32:32 on May 25 2005
5.
Debian GNU/Linux
6.
7.
Reading boot sector from /dev/hdc2
8.
Using BITMAP secondary loader
9.
Calling map_insert_data
10.
Mapping bitmap file /boot/coffee.bmp
11.
Calling map_insert_file
12.
13.
Boot image: /boot/vmlinuz-2.4.27.050605
14.
Added Lin_img0 *
15.
16.
Boot image: /boot/vmlinuz-2.6.8-2-686
17.
Mapping RAM disk /boot/initrd.img-2.6.8-2-686
18.
Added Lin_2.6.8img1
19.
20.
Boot other: /dev/hda2, on /dev/hda, loader CHAIN
21.
Fatal: First sector of /dev/hda2 doesn't have a valid boot signature
22.
hussshome/mardi_soir#
et voici mon lilo.conf
1.
# Generated by liloconfig
2.
3.
# This allows booting from any partition on disks with more than 1024
4.
# cylinders.
5.
lba32
6.
7.
# Specifies the boot device
8.
boot=/dev/hdc2
9.
10.
# Specifies the device that should be mounted as root.
11.
# If the special name CURRENT is used, the root device is set to the
12.
# device on which the root file system is currently mounted. If the root
13.
# has been changed with -r , the respective device is used. If the
14.
# variable ROOT is omitted, the root device setting contained in the
15.
# kernel image is used. It can be changed with the rdev program.
16.
root=/dev/hdc2
17.
18.
# Bitmap configuration for /boot/coffee.bmp
19.
bitmap=/boot/coffee.bmp
20.
bmp-colors=12,,11,15,,8
21.
bmp-table=385p,100p,1,10
22.
bmp-timer=38,2,13,1
23.
24.
# Enables map compaction:
25.
# Tries to merge read requests for adjacent sectors into a single
26.
# read request. This drastically reduces load time and keeps the map
27.
# smaller. Using COMPACT is especially recommended when booting from a
28.
# floppy disk.
29.
# compact
30.
31.
# Install the specified file as the new boot sector.
32.
# LILO supports built in boot sectory, you only need
33.
# to specify the type, choose one from 'text', 'menu' or 'bitmap'.
34.
# new: install=bmp old: install=/boot/boot-bmp.b
35.
# new: install=text old: install=/boot/boot-text.b
36.
# new: install=menu old: install=/boot/boot-menu.b or boot.b
37.
# default: 'menu' is default, unless you have a bitmap= line
38.
# Note: install=bmp must be used to see the bitmap menu.
39.
# install=menu
40.
install=bmp
41.
42.
# Specifies the number of _tenths_ of a second LILO should
43.
# wait before booting the first image. LILO
44.
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
45.
# delay=20
46.
47.
# Prompt to use certaing image. If prompt is specified without timeout,
48.
# boot will not take place unless you hit RETURN
49.
prompt
50.
timeout=50
51.
52.
# Specifies the location of the map file. If MAP is
53.
# omitted, a file /boot/map is used.
54.
map=/boot/map
55.
56.
# Specifies the VGA text mode that should be selected when
57.
# booting. The following values are recognized (case is ignored):
58.
# NORMAL select normal 80x25 text mode.
59.
# EXTENDED select 80x50 text mode. The word EXTENDED can be
60.
# abbreviated to EXT.
61.
# ASK stop and ask for user input (at boot time).
62.
# <number> use the corresponding text mode. A list of available modes
63.
# can be obtained by booting with vga=ask and pressing [Enter].
64.
vga=normal
65.
66.
# These images were automagically added. You may need to edit something.
67.
68.
image=/boot/vmlinuz-2.4.27.050605
69.
label="Lin img0"
70.
read-only
71.
72.
image=/boot/vmlinuz-2.6.8-2-686
73.
label="Lin 2.6.8img1"
74.
initrd=/boot/initrd.img-2.6.8-2-686
75.
read-only
76.
77.
# If you have another OS on this machine (say DOS),
78.
# you can boot if by uncommenting the following lines
79.
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
80.
other=/dev/hda2
81.
label="MS Windows"
voila merci