re
j ai utilise grub-install
Je boot sur le DD correpondant dans le Bios–>ecran habituel de grub,ca a l’air OK.Seulement,erreur 22 au choix de l’OS,il ne trouve rien a booter en hd2,5 ni en hd2,0
je galere en livecd,j’arrive meme pas a re;ettre grub en hd0
[code]grub> setup (hd0)
setup (hd0)
Error 12: Invalid device requested[/code]
toute aide est bienvenue
edit=qques infos
[code]grub> find /boot/grub/stage1
(hd0,0)
(hd2,0)
(hd2,5)
grub> [/code]
[code]### BEGIN AUTOMAGIC KERNELS LIST
lines between the AUTOMAGIC KERNELS LIST markers will be modified
by the debian update-grub script except for the default options below
DO NOT UNCOMMENT THEM, Just edit them to your needs
## Start Default Options
default kernel options
default kernel options for automagic boot options
If you want special options for specific kernels use kopt_x_y_z
where x.y.z is kernel version. Minor versions can be omitted.
e.g. kopt=root=/dev/hda1 ro
kopt_2_6_8=root=/dev/hdc1 ro
kopt_2_6_8_2_686=root=/dev/hdc2 ro
kopt=root=/dev/hdc6 ro quiet
default grub root device
e.g. groot=(hd0,0)
groot=(hd2,5)
should update-grub create alternative automagic boot options
e.g. alternative=true
alternative=false
alternative=true
should update-grub lock alternative automagic boot options
e.g. lockalternative=true
lockalternative=false
lockalternative=false
additional options to use with the default boot option, but not with the
alternatives
e.g. defoptions=vga=791 resume=/dev/hda5
defoptions=vga=775
should update-grub lock old automagic boot options
e.g. lockold=false
lockold=true
lockold=false
Xen hypervisor options to use with the default Xen boot option
xenhopt=
Xen Linux kernel options to use with the default Xen boot option
xenkopt=console=tty0
altoption boot targets option
multiple altoptions lines are allowed
e.g. altoptions=(extra menu suffix) extra boot options
altoptions=(single-user) single
altoptions=(single-user mode) single
controls how many kernels should be put into the menu.lst
only counts the first occurence of a kernel, not the
alternative kernel options
e.g. howmany=all
howmany=7
howmany=all
should update-grub create memtest86 boot option
e.g. memtest86=true
memtest86=false
memtest86=true
should update-grub adjust the value of the default booted system
can be true or false
updatedefaultentry=false
should update-grub add savedefault to the default options
can be true or false
savedefault=false
## End Default Options
title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd2,5)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/hdc6 ro quiet vga=775
initrd /boot/initrd.img-2.6.24-1-686
title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root (hd2,5)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/hdc6 ro quiet single
initrd /boot/initrd.img-2.6.24-1-686
title Debian GNU/Linux, kernel 2.6.24-1-486
root (hd2,5)
kernel /boot/vmlinuz-2.6.24-1-486 root=/dev/hdc6 ro quiet vga=775
initrd /boot/initrd.img-2.6.24-1-486
title Debian GNU/Linux, kernel 2.6.24-1-486 (single-user mode)
root (hd2,5)
kernel /boot/vmlinuz-2.6.24-1-486 root=/dev/hdc6 ro quiet single
initrd /boot/initrd.img-2.6.24-1-486
title Debian GNU/Linux, kernel 2.6.22-3-k7
root (hd2,5)
kernel /boot/vmlinuz-2.6.22-3-k7 root=/dev/hdc6 ro quiet vga=775
initrd /boot/initrd.img-2.6.22-3-k7
title Debian GNU/Linux, kernel 2.6.22-3-k7 (single-user mode)
root (hd2,5)
kernel /boot/vmlinuz-2.6.22-3-k7 root=/dev/hdc6 ro quiet single
initrd /boot/initrd.img-2.6.22-3-k7
title Debian GNU/Linux, kernel 2.6.22-2-486
root (hd2,5)
kernel /boot/vmlinuz-2.6.22-2-486 root=/dev/hdc6 ro quiet vga=775
initrd /boot/initrd.img-2.6.22-2-486
title Debian GNU/Linux, kernel 2.6.22-2-486 (single-user mode)
root (hd2,5)
kernel /boot/vmlinuz-2.6.22-2-486 root=/dev/hdc6 ro quiet single
initrd /boot/initrd.img-2.6.22-2-486
END DEBIAN AUTOMAGIC KERNELS LIST
This is a divider, added to separate the menu items below from the Debian
ones.
title Other operating systems:
root
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
#title Ubuntu, kernel 2.6.20-16-generic (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=332c1508-2c45-4ac3-ae77-039bcaac1091 ro quiet splash
#initrd /boot/initrd.img-2.6.20-16-generic
#savedefault
#boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
#title Ubuntu, kernel 2.6.20-16-generic (recovery mode) (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=332c1508-2c45-4ac3-ae77-039bcaac1091 ro single
#initrd /boot/initrd.img-2.6.20-16-generic
#savedefault
#boot
This entry automatically added by the Debian installer for an existing
##linux installation on /dev/hda1.
#title Ubuntu, kernel 2.6.20-15-generic (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=332c1508-2c45-4ac3-ae77-039bcaac1091 ro quiet splash
#initrd /boot/initrd.img-2.6.20-15-generic
#savedefault
#boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
#title Ubuntu, kernel 2.6.20-15-generic (recovery mode) (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=332c1508-2c45-4ac3-ae77-039bcaac1091 ro single
#initrd /boot/initrd.img-2.6.20-15-generic
#savedefault
#boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
#title Ubuntu, memtest86+ (on /dev/hda1)
#root (hd0,0)
#kernel /boot/memtest86+.bin
#savedefault
#boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hdc1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hdc1)
root (hd2,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=9a73c987-7f4c-4037-aac0-9f51401c8954 ro splash vga=775
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hdc1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdc1)
root (hd2,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=9a73c987-7f4c-4037-aac0-9f51401c8954 ro single
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hdc1.
title Ubuntu 7.10, memtest86+ (on /dev/hdc1)
root (hd2,0)
kernel /boot/memtest86+.bin
savedefault
boot
[/code]