J’ai réussi à dépanner mon système grâce à :
find /boot/grub/stage1
root (hd0,1)
setup (hd0)
quit
Mais j’ai voulu retenter l’installation de grub2 et re-erreur 15. La manipe précédente ne marche pas.
Voici comment j’ai installé grub2:
aptitude install grub-pc
reboot sur l’ancient grub -> il me dirige vers le nouveau, je boot sans problème.
Je me dis ça marche et je décide de l’installer sur la MBR avec upgrade-from-grub-legacy et au reboot, j’ai droit à mon erreur 15…
Voici mon grub.cfg :
[code]#
DO NOT EDIT THIS FILE
It is automatically generated by /usr/sbin/grub-mkconfig using templates
from and settings from /etc/default/grub
BEGIN /etc/grub.d/00_header
set default=0
set timeout=5
set root=(hd2,2)
search --fs-uuid --set 8c80e4c9-4a7b-4ed1-aef7-5db01a20809a
if loadfont /usr/share/grub/ascii.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don’t
# understand terminal_output
terminal gfxterm
fi
fi
END /etc/grub.d/00_header
BEGIN /etc/grub.d/05_debian_theme
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
END /etc/grub.d/05_debian_theme
BEGIN /etc/grub.d/10_linux
menuentry “Debian GNU/Linux, linux 2.6.29-1-686” {
set root=(hd2,2)
search --fs-uuid --set 8c80e4c9-4a7b-4ed1-aef7-5db01a20809a
linux /boot/vmlinuz-2.6.29-1-686 root=UUID=8c80e4c9-4a7b-4ed1-aef7-5db01a20809a ro quiet
initrd /boot/initrd.img-2.6.29-1-686
}
menuentry “Debian GNU/Linux, linux 2.6.29-1-686 (recovery mode)” {
set root=(hd2,2)
search --fs-uuid --set 8c80e4c9-4a7b-4ed1-aef7-5db01a20809a
linux /boot/vmlinuz-2.6.29-1-686 root=UUID=8c80e4c9-4a7b-4ed1-aef7-5db01a20809a ro single quiet
initrd /boot/initrd.img-2.6.29-1-686
}
menuentry “Debian GNU/Linux, linux 2.6.26-2-686” {
set root=(hd2,2)
search --fs-uuid --set 8c80e4c9-4a7b-4ed1-aef7-5db01a20809a
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=8c80e4c9-4a7b-4ed1-aef7-5db01a20809a ro quiet
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry “Debian GNU/Linux, linux 2.6.26-2-686 (recovery mode)” {
set root=(hd2,2)
search --fs-uuid --set 8c80e4c9-4a7b-4ed1-aef7-5db01a20809a
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=8c80e4c9-4a7b-4ed1-aef7-5db01a20809a ro single quiet
initrd /boot/initrd.img-2.6.26-2-686
}
END /etc/grub.d/10_linux
BEGIN /etc/grub.d/30_os-prober
END /etc/grub.d/30_os-prober
BEGIN /etc/grub.d/40_custom
This file is an example on how to add custom entries
END /etc/grub.d/40_custom ###[/code]
Comment se numérote les partitions maintenant ? Dans grub.cfg, il y a root=(hd2,2) alors que sur l’ancien j’étais en (hd0,1)
J’ai pas envie de tout reinstaller, comment me sortir de cette erreur ?
Merci d’avance.