Bonjour Azad,
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0
title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda5 resume=/dev/hda6 splash=silent vga=788
initrd (hd0,4)/boot/initrd.img
title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda5 resume=/dev/hda6
initrd (hd0,4)/boot/initrd.img
title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda5 failsafe
initrd (hd0,4)/boot/initrd.img
title windows
root (hd0,0)
makeactive
chainloader +1
title Ubuntu
root (hd0,1)
chainloader +1
Une fois le menu.lst changé, il ne te reste qu'à installer le lanceur de grub sur le secteur de boot de ta partition / Mandriva.
Pour cela c'est ici dans cette mine d'or (le trésor de cep) :
au chapitre :"Quelques procédures de réparation-5°Grub"
http://www.cepcasa.info/parted/recup1.html#5%B0_grub
Dans ton cas, dans une console à partir d'Ubuntu :
sudo grub
setup (hd0,4) (hd0,4)
quit
Enfin pour finir, dans le menu.lst d'Ubuntu, il faudra rajouter ces lignes à la fin :
title Mandriva
root (hd0,4)
chainloader +1
boot
🙂