Jump to content
XPEnology Community

twinkie

Transition Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by twinkie

  1. Hello, I try to move xpenoboot from USB to EFI partition on SSD in my NAS in order to boot, but experienced problem with boot from UEFI as XPEnoboot stuck at some point in loading kernel.

     

    I first installed Windows 10 on my SSD boot disk, which created first recovery partition and second EFI partition, then I installed latest debian distribution which installed to the rest of disk and added EFI files for GRUB into EFI fat32 partition.

     

    My efi partition is on /dev/sda2 which is by default mounted in debian on /boot/EFI

     

    Now in order to boot syslinux to load XPEnoboot I needed to install syslinux into EFI partition. So first I downloaded lastest syslinux from https://www.kernel.org/pub/linux/utils/ ... ting/6.04/

     

    Then from archive syslinux I took syslinux files for efi64 architecture following guide

    https://wiki.archlinux.org/index.php/sy ... I_Syslinux

    Created folder /boot/efi/EFI/syslinux and copied files from syslinux 6.04 into it :

     

    syslinux.efi – syslinux efi loader

    ldlinux.elf

    ldlinux.e64

    zImage – from XPEnoboot USB

     

    And additional support files from syslinux distribution, not all are necessary :

     

    hdt.c32

    chain.c32

    libcom32.c32

    libgpl.c32

    libmenu.c32

    libutil.c32

    menu.c32

    syslinux.cfg

    vesamenu.c32

     

    I modified syslinux.cfg as follows added path to zImage of XPEnoboot on EFI partition

     

    UI menu.c32

    PROMPT 0

    TIMEOUT 50

    DEFAULT xpenology

    MENU TITLE XPEnoboot 5.2-5644.4-df9e09c

     

    LABEL xpenology

    MENU LABEL XPEnology DSM 5.2-5644

    KERNEL /EFI/syslinux/zImage

    APPEND root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs sn=xmac1=xxxmac2=xxx vid=0x0EA0 pid=0x2168 loglevel=0 vga=0x305

     

    LABEL debug

    MENU LABEL XPEnology DSM 5.2-5644 Debug

    KERNEL /EFI/syslinux/zImage

    APPEND root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs sn=xx mac1=xxx mac2=xxx vid=0x0EA0 pid=0x2168 loglevel=0 vga=0x305 debug=1

     

    LABEL install

    MENU LABEL XPEnology DSM 5.2-5644 Install/Upgrade

    KERNEL /EFI/syslinux/zImage

    APPEND root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs sn=xxx mac1=xxx mac2=xxx vid=0x0EA0 pid=0x2168 loglevel=0 vga=0x305 upgrade=5.2-5644

     

     

    As my EFI partition is on /dev/sda2 i modified command to add Syslinux option to UEFI boot menu

     

    efibootmgr -c -d /dev/sda -p 2 -l /EFI/syslinux/syslinux.efi -L "Syslinux"

     

    Now I was able to boot Syslinux from UEFI and then load XPEnoboot. Syslinux loaded XPEnoboot but only black screen show up and boot stop.

    When I tried DEBUG mode I could see XPEnoboot kernel messages loading but then it stuck at some point.

     

    Any idea how to make xpenoboot boting from partition on UEFI systém ?

  2. Hello,

     

    I would like to get rid of USB by install XPenology into /boot directory on my Linux partition in nas server.

    My config consist of dualboot UEFI installation on dedicated server with NAS NVR3 board.

    I got 12 SATA connectors and connected 6HDD and 2SSD. On SSD i got dualboot Debian Linux and Windows 10 booting in UEFI GRUB.

    Now I want to get rid of USB and have triple boot config for Debian, Windows 10 and XPEnology.

    My idea was to transfer XPenology zImage from USB to /boot folder on debian SSD drive and update Grub accordingly, but GRUB expect initrd which I dont have for XPenology.

     

    I tried to rewrite syslinux boot entry into GRUB as you can see below, but it does not work and even I can see new boot entry after grub-update I can't boot and only got black screen with XPenlogy not loading.

     

    What is the problem in my GRUB config ?

     

    SYSLINUX:

    MENU LABEL XPEnology DSM 5.2-5644

    KERNEL /zImage

    APPEND root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs sn=XXXXX mac1=XXXX mac2=X vid=0x0EA0 pid=0x2168 loglevel=0 vga=0x305

     

     

    GRUB incorrect not working

    menuentry "XPEnology DSM 5.2-5644" {

    linux /boot/zImage root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=XXXXX sn=XXXXX mac1=XXXXX mac2=XXXXX vid=0x0EA0 pid=0x2168 loglevel=0 vga=0x305

    boot

     

    }

  3. I solved it by downloading latest binary from syslinux and then throw away binary on usb and created completely new usb from binaries on distribution and then transfereed zImage and syconfig.cfg. Also added config lines to boot windows

     

    LABEL boot_hd1

    MENU LABEL HD1 Windows

    COM32 chain.c32

    APPEND hd1

     

    LABEL boot_hd2

    MENU LABEL HD2 Windows

    COM32 chain.c32

    APPEND hd2

     

    LABEL boot_hd3

    MENU LABEL HD3 Windows

    COM32 chain.c32

    APPEND hd3

  4. Hello,

     

    i would like to modify syslinux.cfg and add menu to be able have option to boot Windows 10/7 from another disk on xpenoboot.

    The problem is that syslinux need same version of chain.c32 and libcom32.c32 to load. On original distribution of xpenoboot those library files are missing.

    I am unable to identify which version of syslinux is used on xpenoboot.

     

    I mean to add something like this

     

    label Windows

    menu label Windows 10

    MENU INDENT 1

    COM32 chain.c32 fs ntldr=/bootmgr

     

    Thanks for any advice.

×
×
  • Create New...