Siduction Forum

Siduction Forum => Installation - Support => Topic started by: Hanisch on 2011/01/08, 13:55:09

Title: Chainloader nach aptosid funktioniert nicht
Post by: Hanisch on 2011/01/08, 13:55:09
Hallo,

ich habe MANDRIVA 2010.2 auf /dev/sdc9 mit GRUB1 und möchte von dort via
Chainloader aus der menu.lst
...
title Other operating system:    a p t o s i d      ++++++++ (/dev/sdc7)
root (hd0,6)
chainloader +1


das aptosid (GRUB2) starten. Habe aptosid sowohl auf ext3 als auch ext4
ausprobiert.
Da erhalte ich aber folgende Meldung:

root (hd0,6)
 Filesystem type is ext2fs, partition type 0x83
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue ...

Habe GRUB2 mittels:
grub-install --force /dev/sdc7
in die Partition geschrieben.

Liegt das nun an GRUB2 von aptosid, weil das gleiche mit Ubuntu 10.10
auf /dev/sdc1 funktioniert.
Folgende Erklärung zu Error 13 habe ich gefunden:
13 : Invalid or unsupported executable format
   This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).


Demnach müßte es am aptosid-Kernel liegen.

Gruß
Ch. Hanisch
Title: Chainloader nach aptosid funktioniert nicht
Post by: seagull on 2011/01/08, 14:57:05
grub2 aus grub1 chainloaden hat bei mir so funktioniert:

title       Chainload into GRUB v2
root        (hd0,yx)
kernel      /boot/grub/core.img
Title: Chainloader nach aptosid funktioniert nicht
Post by: ralul on 2011/01/08, 15:36:47
Wieso ist bei dir sdc eigentlich "(hd0" ?

Im Root einer Partition ist Grub2 auf Blocklisten angewiesen, was wackelg ist und deswegen nur mit grub-install --force machbar ist!

Wenn du Ubuntu Grub2 hast kannst du dort wunderbar aptosid auch bei Kernel upgrades starten, zB (ubuntu) /etc/grub.d/40_custom:#!bin/sh
exec tail -n +3 $0                                  
# This file provides an easy way to add custom
# ...
menuentry "Debian sda9" {
search --no-floppy --label --set debian
linux  /vmlinuz root=LABEL=debian
initrd /initrd.img
}  
wenn Du Deiner aptosid Partition das Label "debian" verpasst ...
Title: Chainloader nach aptosid funktioniert nicht
Post by: Hanisch on 2011/01/08, 17:09:06
Quote from: "seagull"grub2 aus grub1 chainloaden hat bei mir so funktioniert:

title       Chainload into GRUB v2
root        (hd0,yx)
kernel      /boot/grub/core.img
Ok. - das funktioniert. Aber die Schrift beim Bootvorgang ist jetzt grün.

Gruß
Ch. Hanisch
Title: Chainloader nach aptosid funktioniert nicht
Post by: seagull on 2011/01/10, 12:38:01
die grüne Schrift kommt bei mir vom GRUB_GFXPAYLOAD_LINUX = 1024x768x16. Wenn an letzter Stelle x32 steht ist die Schrift auch wieder weiß. Bei x8 werden die "Boot-Pinguine" zu Geistern....