DL580-Gen8 Problems with new HP-UEFI
Hi, I'm currently trying to get a brand new HP DL580 Gen8 booted into a live image. In difference to the DL380 Gen8 the DL580 Gen8 has an UEFI. I got a pre-release of the box in December and it worked fine, as it had the same Bios as the old Gen7, but the final UEFI-version doesn't work at all with the current live system (debian7 - pxe-boot, build with live-build 3.0.5). If I switch back to Legacy mode it boots as usual,.. I made some own Images and tried out some of the live images but none of the worked in any way. The only image that is working with the new HP-UEFI is the official Debian 7.6 netinstall ISO. It moans Error: prefix not set in first Grub-Screen, but after a while it shows the normal install dialog :) I use my live-system just for automated Inventory maintenance and firmware patching, so I don't need the installer. Could it be, that the bit of magic that makes the net-installer UEFI-bootable, comes just with the installer packages I'm digging in the live image-git repos for hours and I haven't found components for uefi-systems in any of them (efi-reader or grub-efi packages or hooks, etc.). Before I start with the try and error process, I would like to ask if somebody has the config for the net-install-iso-7.6 Best regards and thanks in advance Sandro Wabner _ BBS-IAO-GIS-HPS-VCT Bayer Business Services GmbH Gebäude B151 51368 Leverkusen, Deutschland E-Mail: sandro.wab...@bayer.com Web: http://business-services.bayer.comhttp://business-services.bayer.com/ Please visit our anniversary website: http://www.150.bayer.comhttp://www.150.bayer.com/ Geschäftsführung: Daniel Hartert, Vorsitzender | Wilhelm Oehlschläger, Arbeitsdirektor Vorsitzender des Aufsichtsrats: Werner Baumann Sitz der Gesellschaft: Leverkusen | Amtsgericht Köln, HRB 49895
Bug#757697: RFE: Autodetection of architecture at boot time to load appropiate kernel
El 10/08/14 18:31, Adrian Gibanel Lopez escribió: Source: live-config Severity: wishlist ** With Isolinux / Syslinux you should use the ifcpu64.c32 comboot module as seen in tails: https://git-tails.immerda.ch/tails/tree/config/binary_local- hooks/20-syslinux_detect_cpu?id=deb15c765e2b34fe587c96ca590981a59a278922 Upstream documentation: http://www.syslinux.org/wiki/index.php/Ifcpu64.c32 Thank you! I attach a patch for Isolinux / Syslinux implementation for cpu detection. Please advise how to improve the implementation so that it can be accepted upstream. Thank you. adrian15 -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/ diff -urN original/usr/lib/live/build/binary_syslinux fork_cpu64bit_detection/usr/lib/live/build/binary_syslinux --- original/usr/lib/live/build/binary_syslinux 2014-08-14 02:42:20.007666770 + +++ fork_cpu64bit_detection/usr/lib/live/build/binary_syslinux 2014-08-15 05:08:58.701948081 + @@ -161,6 +161,12 @@ ;; esac +# Copy necessary syslinux modules +for module in ifcpu64.c32 +do + cp chroot/usr/lib/syslinux/${module} ${_TARGET}/ +done + # Configuring files if [ -e ${_TARGET}/live.cfg.in ] then @@ -183,6 +189,22 @@ ;; *) + _AMD64_486_NUMBER=0 + + for _FLAVOUR in ${LB_LINUX_FLAVOURS} + do + if [ ${_FLAVOUR} = amd64 -o ${_FLAVOUR} = 486 ] ; then + _AMD64_486_NUMBER=$((${_AMD64_486_NUMBER} + 1)) + fi + done + + if [ ${_AMD64_486_NUMBER} -ge 2 ] ; then + _AMD64_LABEL=$(cat ${_TARGET}/live.cfg.in | grep ^label | grep -v failsafe | sed 's/label //g' | sed -e s|@FLAVOUR@|amd64|g) + _486_LABEL=$(cat ${_TARGET}/live.cfg.in | grep ^label | grep -v failsafe | sed 's/label //g' | sed -e s|@FLAVOUR@|486|g) + _AUTO_LABEL=$(cat ${_TARGET}/live.cfg.in | grep ^label | grep -v failsafe | sed 's/label //g' | sed -e s|@FLAVOUR@|autodetect|g) + _AUTO_MENU_LABEL=$(cat ${_TARGET}/live.cfg.in | grep menu label | grep -v failsafe | sed 's/.*menu label //g' | sed -e s|@FLAVOUR@|auto|g) + fi + _NUMBER=0 for _FLAVOUR in ${LB_LINUX_FLAVOURS} @@ -197,7 +219,22 @@ echo ${_TARGET}/live.cfg grep -v 'menu default' ${_TARGET}/live.cfg.in ${_TARGET}/live.cfg else - cat ${_TARGET}/live.cfg.in ${_TARGET}/live.cfg + if [ ${_AMD64_486_NUMBER} -ge 2 ] ; then + cat EOF ${_TARGET}/live.cfg +label ${_AUTO_LABEL} + menu label ${_AUTO_MENU_LABEL} + com32 ifcpu64.c32 + append ${_AMD64_LABEL} -- ${_486_LABEL} -- ${_486_LABEL} + +EOF + fi + + + if [ ${_AMD64_486_NUMBER} -ge 2 ] ; then + grep -v 'menu default' ${_TARGET}/live.cfg.in ${_TARGET}/live.cfg + else + cat ${_TARGET}/live.cfg.in ${_TARGET}/live.cfg + fi fi sed -i -e s|@FLAVOUR@|${_FLAVOUR}|g \