[Bug 478991] New: kiwi: improve KIWIIsoLinux.pm to allow bi/tri arch boot
https://bugzilla.novell.com/show_bug.cgi?id=478991 Summary: kiwi: improve KIWIIsoLinux.pm to allow bi/tri arch boot Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: ms@novell.com QAContact: adrian@novell.com Found By: --- make KIWIIsoLinux.pm better to be able to use this module as replacement for m_cd. Initial comments follows: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=478991
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=478991#c1
--- Comment #1 from Marcus Schaefer
Nach deiner Tabelle wäre auch ein zB x86_64-legacy + s390 möglich.
Jupp.
Aber wie geht das ? es gibt in diesem Fall ja einen el-torito bootloader (isolinux.bin) und dieses cd.ikr zeug kann ich das dann jeweils mit -b an mkisofs übergeben ? Mir ist nicht ganz klar wie das mit mehreren bootloadern in einem iso gehen soll
Die 'normalen' s390 CDs enthalten ja auch zwei Booteinträge: i386-legacy + s390. Der i386-Teil ist unser sles9-Rettungssystem (plus extra-Zeugs). Bisher kommt auf unseren CDs vor (ex ppc): (legacy = no-emul-boot mit isolinux) - i386-legacy - x86_64-legacy - i386-legacy + x86_64-legacy # Umschalten wird von gfxboot gemacht, genisoimage sieht nur i386-legacy - x86_64-legacy + x86_64-efi - i386-legacy + x86_64-legacy + x86_64-efi # s.o. - ia64-efi - i386-legacy + s390-ikr el-torito erlaubt mehrere Einträge im boot catalog. Die Theorie ist, daß dann das BIOS beim Booten ein Auswahlmenü anzeigt. Mit -eltorito-alt-boot beginnt man einen neuen Eintrag. [Genau genommen stimmt das nicht mit der el-torito spec überein, ist aber offenbar die Praxis.] s390 mißbraucht das etwas und verwendet den zweitem Eintrag für das s390-Zeugs und nimmt den ersten, damit man auf normaler Hardware ein Rettungssystem starten kann (oder ftp server aufsetzen). efi ist das gleiche Prinzip; die efi-firmware schaut sich alle Einträge an und nimmt den ersten, der ihr in den Kram passt. Und BIOSe, die efi & legacy können, zeigen ein Menü an (manchmal). Wenn mehrere efi-images da sind, kann man auch mehr als zwei Einträge machen. In der Praxis denkbar wäre z.B. (3 Einträge): - (i386-legacy + x86_64-legacy) + i386-efi + x86_64-efi (Macs haben i386-efi, Server x86_64-efi) Wichtig ist nur, daß der legacy Eintrag _immer_ der erste ist (wegen Kompatibilität). efi ist kein Problem, da die Quellen der Intel Referenzimplementierung offen sind und kein normaler Mensch das noch mal selber reimplemetieren wird - man kann also einfach nachschauen, was efi tut. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=478991
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=478991#c2
Marcus Schaefer
Rudi kannst Du bitte sagen was aus dem m_cd Skript bezüglich APPID obsolete ist ? Danke
if test -n "$DISTPRODUCT-" ; then # code 10 DISTIDENT="$DISTPRODUCT-$DISTVERSION" else # code 11 and later DISTIDENT="$LABEL" fi if test -f $SOURCE/content -a -z "$TMP_LS" ; then # we already collected this above APPID=$DISTIDENT else APPID="unknown" fi APPID=`echo $APPID | tr " " -` test -n "$APPID" && PARAMS="$PARAMS -A $APPID" und fertig. VolumeID ist eine andere Geschichte, aber APPID sollte passen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=478991
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=478991
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=478991#c3
--- Comment #3 from Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com