Bonjour à tous,
je sors de ma compilation de Funtoo.
Mais j’ai un problème de grub2 : il refuse le chargement de l’OS “error : invalid signature”.
Combien de forum ai-je fait ? je ne saurais le dire tellement j’ai lu d’infos.
Structure d’installation dans l’ordre :
- OSX Snow Leopard
- Debian Squeeze
- Funtoo unstable
Le grub a été installé sur Debian :
[code]#
DO NOT EDIT THIS FILE
It is automatically generated by grub-mkconfig using templates
from /etc/grub.d and settings from /etc/default/grub
BEGIN /etc/grub.d/00_header
if [ -s $prefix/grubenv ]; then
load_env
fi
set default=“0"
if [ “${prev_saved_entry}” ]; then
set saved_entry=”${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)‘
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
END /etc/grub.d/00_header
BEGIN /etc/grub.d/05_debian_theme
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
END /etc/grub.d/05_debian_theme
BEGIN /etc/grub.d/10_linux
menuentry ‘Debian GNU/Linux, with Linux 2.6.35.4’ --class debian --class gnu-linux --class gnu --class os {
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
echo 'Loading Linux 2.6.35.4 …'
linux /boot/vmlinuz-2.6.35.4 root=UUID=3fec7f4b-1a58-4ab8-baf9-36875923dae6 ro
echo 'Loading initial ramdisk …‘
initrd /boot/initrd.img-2.6.35.4
}
menuentry ‘Debian GNU/Linux, with Linux 2.6.35.4 (recovery mode)’ --class debian --class gnu-linux --class gnu --class os {
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
echo 'Loading Linux 2.6.35.4 …'
linux /boot/vmlinuz-2.6.35.4 root=UUID=3fec7f4b-1a58-4ab8-baf9-36875923dae6 ro single
echo 'Loading initial ramdisk …‘
initrd /boot/initrd.img-2.6.35.4
}
menuentry ‘Debian GNU/Linux, with Linux 2.6.32-5-686’ --class debian --class gnu-linux --class gnu --class os {
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
echo 'Loading Linux 2.6.32-5-686 …'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3fec7f4b-1a58-4ab8-baf9-36875923dae6 ro
echo 'Loading initial ramdisk …‘
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry ‘Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)’ --class debian --class gnu-linux --class gnu --class os {
insmod part_gpt
insmod ext2
set root=’(hd0,gpt3)'
search --no-floppy --fs-uuid --set 3fec7f4b-1a58-4ab8-baf9-36875923dae6
echo 'Loading Linux 2.6.32-5-686 …'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3fec7f4b-1a58-4ab8-baf9-36875923dae6 ro single
echo 'Loading initial ramdisk …'
initrd /boot/initrd.img-2.6.32-5-686
}
END /etc/grub.d/10_linux
BEGIN /etc/grub.d/20_linux_xen
END /etc/grub.d/20_linux_xen
BEGIN /etc/grub.d/30_os-prober
menuentry “Mac OS X (32-bit) (on /dev/sda2)” {
insmod part_gpt
insmod hfsplus
set root=’(hd0,gpt2)‘
search --no-floppy --fs-uuid --set 5146fc1c98c0fe7e
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid 5146fc1c98c0fe7e uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
menuentry “Mac OS X (64-bit) (on /dev/sda2)” {
insmod part_gpt
insmod hfsplus
set root=’(hd0,gpt2)'
search --no-floppy --fs-uuid --set 5146fc1c98c0fe7e
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid 5146fc1c98c0fe7e uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
END /etc/grub.d/30_os-prober
BEGIN /etc/grub.d/40_custom
This file provides an easy way to add custom menu entries. Simply type the
menu entries you want to add after this comment. Be careful not to change
the ‘exec tail’ line above.
menuentry “Funtoo”{
set root=(hd0,5)
chainloader +1
}
END /etc/grub.d/40_custom
BEGIN /etc/grub.d/41_custom
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
END /etc/grub.d/41_custom ###[/code]
Egalement, le fstab de Debian :
[code]# /etc/fstab: static file system information.
proc /proc proc defaults 0 0
/dev/sda3 / ext3 errors=remount-ro 0 1
UUID=3fec7f4b-1a58-4ab8-baf9-36875923dae6 / ext3 errors=remount-ro 0 1
/dev/sda5 /home ext3 defaults 0 2
UUID=35cf4015-4a1a-4593-86b7-7ba41ef3f784 /home ext3 defaults 0 2
/dev/sda4 none swap sw 0 0
UUID=3fb5af48-b5b7-475b-9c42-068f16e4153b none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/cdrom1 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda6 /mnt/fun ext4 noatime 0 2
#j’avais mis “/” à la place de “/mnt/fun”, supprime egalement, mais meme resultat[/code]
On constate que pour le sda6, il n’y a pas d’UUID.
Ensuite vient le fstab de Funtoo :
proc /proc proc defaults 0 0
/dev/sda6 / ext4 noauto,noatime 1 0
/dev/sda4 none swap sw 1 2
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
Je remarque que le /dev/sda6 n’est pas monté lorsque je fais fdisk -l sur Debian :
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee GPT
/dev/sda2 26 6105 48828128 af HFS / HFS+
/dev/sda3 * 6105 6956 6835938 83 Linux
/dev/sda4 6956 7276 2572266 82 Linux swap / Solaris
Je suis complètement perdu. L’installation d’un grub sur le sda6 n’a rien changé.
J’aimerais bien que ma Funtoo se lance. La fatigue n’aidant plus, pouvez-vous m’aider ?
A bientôt
LeHibou

) et un pour la nouvelle distri, sur point / ou /boot selon le cas choisi.