On Tue, 2008-11-11 at 07:51 +0100, Christian Perrier wrote: > Quoting Frank Lin PIAT ([EMAIL PROTECTED]): > > > I have a concern regarding the "multiarch CD" : > > syslinux/isolinux boots the amd-64 installer directly (i.e it doesn't > > show the menu). > > I suspect that it isn't the desired behavior. I've had a quick look and > > I suppose it's because isolinux/isolinux.cfg declares "timeout 0", then > > amd64text.cfg declares "default64 amd64-install". > > I assume it can be solved either by: > > - declaring "timeout 999" in amd64text.cfg > > or > > - removing "default64 amd64-install".
How thinks works: isolinux.bin is loaded. it loads isolinux.cfg and all the "included" files. isolinux sees "prompt 0", so it jumps to the action described in default (vesamenu.cfg) or default64 (amd-install). * The first action is to change default64 to vesamenu.c32 (or just remove it completely). See amdtext.cfg.diff Now the problem is that there's a bug in isolinux: It is possible to specify two different "default" action for boot prompt (Do action "vesamenu.c32" the first time, then do action "install"). This feature isn't possible with default64 (the second action is always the same action as the second "default", //or something like that//). We have at least three options : * Keep that new behaviour (We you press enter in the help screen, you launch i386 installation). * Apply the patch text.cfg.diff so when a user press "enter" after reading the help pages, he/she returns to the GUI menu. this can be a problem for people using serial console or some floppies according to fjp. * Apply the patch text-ifcpu64.diff, which uses ifcpu64.c32[1] to automatically choose the good cpu profile. (It event seems to automaticaly fallback to 32bit, it the 64bit label isn't fount) Note: the patch are against an existing Cd, not again the source files ;( [I start working on the source files] Franklin [1] http://syslinux.zytor.com/wiki/index.php/Ifcpu64.c32 --- scratch pad --- To rebuild an ISO iamge, based on extracted files, I have used: mkisofs -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/test.iso
--- isolinux/text-orig.cfg 2008-11-11 19:10:16.000000000 +0100 +++ isolinux/text.cfg 2008-11-11 19:10:07.000000000 +0100 @@ -1,4 +1,9 @@ -default install +default gui + +label gui + kernel vesamenu.c32 + + label install menu label ^Install menu default
--- isolinux/text-orig.cfg 2008-11-11 19:10:16.000000000 +0100 +++ isolinux/text.cfg 2008-11-11 19:34:03.000000000 +0100 @@ -1,6 +1,14 @@ default install + +label menu + kernel vesamenu.c32 + label install + kernel ifcpu64.c32 + append amd64-install -- i386-install + +label i386-install menu label ^Install menu default kernel /install.386/vmlinuz - append vga=normal initrd=/install.386/initrd.gz -- quiet + append vga=normal initrd=/install.386/initrd.gz -- quiet
--- isolinux/amdtext-orig.cfg 2008-11-11 19:41:39.000000000 +0100 +++ isolinux/amdtext.cfg 2008-11-11 19:41:24.000000000 +0100 @@ -1,4 +1,5 @@ -default64 amd64-install +default64 vesamenu.c32 + label amd64-install menu label ^64 bit install menu default64