problème lilo : volid read error - Installation - Linux et OS Alternatifs
MarshPosté le 21-08-2003 à 21:56:44
désolé, mais c'est un peu long, mais je fourni tout
[root@athlon boot]# lilo Fatal: volid read error
voici la table de mes partitions
[root@athlon boot]# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40027029504 bytes 255 heads, 63 sectors/track, 4866 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 191 1534176 7 HPFS/NTFS /dev/hda2 192 2738 20458777+ 7 HPFS/NTFS /dev/hda3 2739 4866 17093160 f Win95 Ext'd (LBA) /dev/hda5 2739 3747 8104761 7 HPFS/NTFS # mon /home, bizarrement, le format n'est pas bon... /dev/hda6 3748 4800 8458191 83 Linux # mon / /dev/hda7 4801 4866 530144+ 82 Linux swap
et mon lilo.conf
# Support LBA for large hard disks. # lba32
# Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81
#disk=/dev/sda # bios=0x80
# Specifies the boot device. This is where Lilo installs its boot # block. It can be either a partition, or the raw device, in which # case it installs in the MBR, and will overwrite the current MBR. #
boot=/dev/hda
# Specifies the device that should be mounted as root. (`/') #
root=/dev/hda6
# Enable map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the # map smaller. Using `compact' is especially recommended when # booting from a floppy disk. It is disabled here by default # because it doesn't always work. # # compact
# Installs the specified file as the new boot sector # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # # n'existe pas install=/boot/boot-menu.b
# Specifies the location of the map file # map=/boot/map
# You can set a password here, and uncomment the `restricted' lines # in the image definitions below to make it so that a password must # be typed to boot anything but a default configuration. If a # command line is given, other than one specified by an `append' # statement in `lilo.conf', the password will be required, but a # standard default boot will not require one. # # This will, for instance, prevent anyone with access to the # console from booting with something like `Linux init=/bin/sh', # and thus becoming `root' without proper authorization. # # Note that if you really need this type of security, you will # likely also want to use `install-mbr' to reconfigure the MBR # program, as well as set up your BIOS to disallow booting from # removable disk or CD-ROM, then put a password on getting into the # BIOS configuration as well. Please RTFM `install-mbr(8)'. # # password=tatercounter2000
# Specifies the number of deciseconds (0.1 seconds) LILO should # wait before booting the first image. # delay=20
# You can put a customized boot message up if you like. If you use # `prompt', and this computer may need to reboot unattended, you # must specify a `timeout', or it will sit there forever waiting # for a keypress. `single-key' goes with the `alias' lines in the # `image' configurations below. eg: You can press `1' to boot # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. # # message=/boot/bootmess.txt
# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode> ) # # vga=ask # vga=9 #
#vga=791
vga=normal
# Kernel command line options that apply to all installed images go # here. See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in # the Linux kernel `Documentation' directory. #
# If you have another OS on this machine to boot, you can uncomment the # following lines, changing the device name on the `other' line to # where your other OS' partition is. # # other=/dev/hda4 # label=HURD # restricted # alias=3
Marsh Posté le 21-08-2003 à 21:56:44
désolé, mais c'est un peu long, mais je fourni tout
[root@athlon boot]# lilo
Fatal: volid read error
voici la table de mes partitions
[root@athlon boot]# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 191 1534176 7 HPFS/NTFS
/dev/hda2 192 2738 20458777+ 7 HPFS/NTFS
/dev/hda3 2739 4866 17093160 f Win95 Ext'd (LBA)
/dev/hda5 2739 3747 8104761 7 HPFS/NTFS # mon /home, bizarrement, le format n'est pas bon...
/dev/hda6 3748 4800 8458191 83 Linux # mon /
/dev/hda7 4801 4866 530144+ 82 Linux swap
et mon lilo.conf
# Support LBA for large hard disks.
#
lba32
# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
#disk=/dev/hde
# bios=0x81
#disk=/dev/sda
# bios=0x80
# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda
# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda6
# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller. Using `compact' is especially recommended when
# booting from a floppy disk. It is disabled here by default
# because it doesn't always work.
#
# compact
# Installs the specified file as the new boot sector
# You have the choice between: bmp, compat, menu and text
# Look in /boot/ and in lilo.conf(5) manpage for details
#
# n'existe pas
install=/boot/boot-menu.b
# Specifies the location of the map file
#
map=/boot/map
# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20
# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
prompt
timeout=100
# prompt
# single-key
# delay=100
# timeout=100
# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode> )
#
# vga=ask
# vga=9
#
#vga=791
vga=normal
# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append="hdc=ide-scsi"
# Boot up Linux by default.
default=Linux_2.4.21
image=/vmlinuz
label=Linux_2.2.0
read-only
# restricted
# alias=1
image=/boot/bz-2.4.20
label=Linux_2.4.20
read-only
append="hdc=ide-scsi"
image=/boot/bz-2.4.21
label=Linux_2.4.21
read-only
append="hdc=ide-scsi"
image=/boot/bz-2.6.0-test1
label=2.6.0-test1
read-only
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label="WindowsXP"
[root@athlon boot]# ls -l
total 5046
-rw-r--r-- 1 root root 512 2003-06-02 12:48 boot.0300
lrwxrwxrwx 1 root root 9 2003-08-21 21:43 boot.b -> boot.0300
-rw-r--r-- 1 root root 830999 2003-06-13 20:49 bz-2.4.20
-rw-r--r-- 1 root root 851980 2003-08-13 08:19 bz-2.4.21
-rw-r--r-- 1 root root 1122877 2003-07-16 00:47 bz-2.6.0-test1
-rw-r--r-- 1 root root 3888 2003-06-02 12:36 config-2.2.20-idepci
lrwxrwxrwx 1 root root 38 2003-08-19 17:59 debianlilo.bmp -> /usr/share/lilo/contrib/debianlilo.bmp
-rw------- 1 root root 54784 2003-08-13 08:21 map
lrwxrwxrwx 1 root root 33 2003-08-19 17:59 sarge.bmp -> /usr/share/lilo/contrib/sarge.bmp
lrwxrwxrwx 1 root root 31 2003-08-19 17:59 sid.bmp -> /usr/share/lilo/contrib/sid.bmp
-rw-r--r-- 1 root root 224124 2003-06-02 12:36 System.map-2.2.20-idepci
-rw-r--r-- 1 root root 420929 2003-06-02 12:51 System.map-2.4.20
-rw------- 1 root root 434494 2003-08-21 21:34 System.map-2.4.21
-rw-r--r-- 1 root root 530382 2003-07-16 00:54 System.map-2.6.0-test1
-rw-r--r-- 1 root root 665509 2003-06-02 12:36 vmlinuz-2.2.20-idepci
que du classic ...
j'y comprends rien, j'ai rien touché ...