Menu

Install DRBL to Debian 10 - Buster

Help
2019-07-21
2019-07-25
  • József Venczel

    József Venczel - 2019-07-21

    Hi,
    I am trying to install the DRBL server on the Debian 10 operating system.
    Here is an instruction list:
    (This must for the next command.)
    apt install gnupg

    wget -q http://drbl.org/GPG-KEY-DRBL -O- | apt-key add -

    Then I edit the /etc/apt/sources.list
    nano /etc/apt/sources.list
    Insert the following line:
    deb http://free.nchc.org.tw/drbl-core drbl stable

    Then:

    apt update
    apt upgrade
    

    Next step:
    apt install drbl freedos

    And here are the first errors:
    drblsrv -i
    After answering the question: "Do you want to upgrade the operating system?"
    (Enter)
    The following error message appears:

    The following packages have unmet dependencies:
     partimage : Depends: libssl0.9.8 (>= 0.9.8f-5) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    Warning! Some necessary packages are not installed! If you continue, maybe something will go wrong! It is better to exit now and check your /etc/apt/sources.list and internet link!
    

    If I check the version of libssl:

    dpkg -l|grep libssl
    ii  libssl1.1:amd64               1.1.1c-1                            amd64        Secure Sockets Layer toolkit - shared libraries
    

    If I continue the installation, then:

    *****************************************************.
    *****************************************************.
    Trying to upgrade some necessary packages if available...
    *****************************************************.
    Searching for the latest kernel in the repository...  kernel ...
    The latest kernel in the ayo repository is linux-image-4.19.0-5-amd64
    There are 2 kernels available for clients, which one do you prefer?
    [1]: kernel 4.19.0-5-amd64 x86_64 (from this DRBL server)
    [2]: linux-image-4.19.0-5-amd64 (from APT repository)
    [1] 2
    Clients will use the kernel linux-image-4.19.0-5-amd64 from apt repository.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    Need to get 47.7 MB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://security.debian.org/debian-security buster/updates/main amd64 linux-image-4.19.0-5-amd64 amd64 4.19.37-5+deb10u1 [47.7 MB]
    Fetched 47.7 MB in 4s (10.9 MB/s)
    Download complete and in download only mode
    *****************************************************.
    Installing kernel for clients... ...
    Searching for the latest kernel in the repository... kernel ...
    *****************************************************.
    Now run: drblsrv-offline -c -d -a -l en_US.UTF-8 -k /var/cache/apt/archives/linux-image-4.19.0-5-amd64_4.19.37-5+deb10u1_amd64.deb "" ""
    Kernel package /var/cache/apt/archives/linux-image-4.19.0-5-amd64_4.19.37-5+deb10u1_amd64.deb is used for client...
    *****************************************************.
    Your OS version is:: Debian 10.0
    *****************************************************.
    *****************************************************.
    Installing kernel for clients... ...
    The kernel for client is from specific package /var/cache/apt/archives/linux-image-4.19.0-5-amd64_4.19.37-5+deb10u1_amd64.deb.
    Installing /var/cache/apt/archives/linux-image-4.19.0-5-amd64_4.19.37-5+deb10u1_amd64.deb for clients...
    It might take several minutes to install this kernel, please be patient...
    done!
    Generating modules.dep and map files for clients... done!
    Preparing the kernel firmware for clients...
    /usr/share/drbl/sbin/install-kernel-for-client: line 256: rsync: command not found
    Trying to download memtest86+ from distribution repository...
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
      hwtools memtester kernel-patch-badram memtest86 mtools
    The following NEW packages will be installed:
      memtest86+
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 75.1 kB of archives.
    After this operation, 2448 kB of additional disk space will be used.
    Get:1 http://deb.debian.org/debian buster/main amd64 memtest86+ amd64 5.01-3 [75.1 kB]
    Fetched 75.1 kB in 0s (446 kB/s)
    Download complete and in download only mode
    Putting memtest86+ in DRBL package repository /usr/share/drbl/pkg/memtest86+/...
    /usr/share/drbl/sbin/drbl-prepare-memtest: line 34: strings: command not found
    Memtest86+ version:
    done!
    /usr/share/drbl/sbin/drbl-prepare-pxelinux: line 152: strings: command not found
    Found /usr/lib/PXELINUX/pxelinux.0 in this system:
    PXELinux version:
    Copying the PXELinux files to DRBL local repository...
    Putting required pxelinux files to /usr/share/drbl/pkg/syslinux//bios/... /usr/share/drbl/sbin/drbl-prepare-pxelinux: line 45: strings: command not found
    done!
    Putting required pxelinux files to /usr/share/drbl/pkg/syslinux//bios/... /usr/share/drbl/sbin/drbl-prepare-pxelinux: line 45: strings: command not found
    done!
    Putting required pxelinux files to /usr/share/drbl/pkg/syslinux//efi32/... /usr/share/drbl/sbin/drbl-prepare-pxelinux: line 45: strings: command not found
    done!
    Putting required pxelinux files to /usr/share/drbl/pkg/syslinux//efi64/... /usr/share/drbl/sbin/drbl-prepare-pxelinux: line 45: strings: command not found
    done!
    *****************************************************.
    Creating config file for PXE clients...
    Copying pxelinux.0, gpxelinux.0, menu.c32, vesamenu.c32, chain.c32, mboot.c32, sanboot.c32 and memdisk to /tftpboot/nbi_img...
    Copying memtest86+ to /tftpboot/nbi_img...
    Copying FreeDOS files to /tftpboot/nbi_img/...
    Generating default pxelinux config (/tftpboot/nbi_img/pxelinux.cfg/default)...
    Use com32 module: vesamenu.c32
    dpkg-query: no packages found matching clonezilla
    Adding menus for DRBL, local boot, memtest86+, FreeDOS...
    done!
    /usr/sbin/drbl-gen-grub-efi-nb: line 9: /etc/drbl/drbl-ocs.conf: No such file or directory
    /usr/sbin/drbl-gen-grub-efi-nb: line 10: /usr/share/drbl/sbin/ocs-functions: No such file or directory
    Removing the old /tftpboot/nbi_img/grub-efi.cfg if it exists...
    Preparing background img and font...
    '/usr/share/grub/unicode.pf2' -> '/tftpboot/nbi_img/unicode.pf2'
    '/usr/share/drbl/image/drblwp.png' -> '/tftpboot/nbi_img/drblwp.png'
    Generating default GRUB network boot config (/tftpboot/nbi_img/grub-efi.cfg/grub.cfg)...
    dpkg-query: no packages found matching clonezilla
    Adding GRUB EFI boot menu for DRBL, Clonezilla...
    done!
    System architecture is 64-bit.
    UEFI Secure Boot support disabled for x86_64 clients becasue there is no /usr/lib/shim/shimx64.efi.signed and /usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed installed, or it is disabled in /etc/drbl/drbl.conf ("secure_boot_client").
    Missing grub2 module normal.mod... Exluding normal.mod...
    Missing grub2 module tftp.mod... Exluding tftp.mod...
    Missing grub2 module efinet.mod... Exluding efinet.mod...
    Missing grub2 module chain.mod... Exluding chain.mod...
    Missing grub2 module echo.mod... Exluding echo.mod...
    Missing grub2 module net.mod... Exluding net.mod...
    Missing grub2 module gzio.mod... Exluding gzio.mod...
    Missing grub2 module xzio.mod... Exluding xzio.mod...
    Missing grub2 module linux.mod... Exluding linux.mod...
    Missing grub2 module efi_gop.mod... Exluding efi_gop.mod...
    Missing grub2 module efi_uga.mod... Exluding efi_uga.mod...
    Missing grub2 module png.mod... Exluding png.mod...
    Missing grub2 module gfxterm.mod... Exluding gfxterm.mod...
    Missing grub2 module gfxterm_background.mod... Exluding gfxterm_background.mod...
    Missing grub2 module gfxterm_menu.mod... Exluding gfxterm_menu.mod...
    Missing grub2 module serial.mod... Exluding serial.mod...
    Missing grub2 module part_gpt.mod... Exluding part_gpt.mod...
    Missing grub2 module part_msdos.mod... Exluding part_msdos.mod...
    Missing grub2 module boot.mod... Exluding boot.mod...
    Missing grub2 module multiboot.mod... Exluding multiboot.mod...
    Missing grub2 module progress.mod... Exluding progress.mod...
    Missing grub2 module search.mod... Exluding search.mod...
    Missing grub2 module ext2.mod... Exluding ext2.mod...
    Missing grub2 module xfs.mod... Exluding xfs.mod...
    Missing grub2 module reiserfs.mod... Exluding reiserfs.mod...
    Missing grub2 module jfs.mod... Exluding jfs.mod...
    Missing grub2 module hfsplus.mod... Exluding hfsplus.mod...
    Missing grub2 module fat.mod... Exluding fat.mod...
    Missing grub2 module ntfs.mod... Exluding ntfs.mod...
    Missing grub2 module configfile.mod... Exluding configfile.mod...
    Missing grub2 module test.mod... Exluding test.mod...
    Missing grub2 module sleep.mod... Exluding sleep.mod...
    Missing grub2 module tr.mod... Exluding tr.mod...
    Missing grub2 module reboot.mod... Exluding reboot.mod...
    Missing grub2 module halt.mod... Exluding halt.mod...
    Creating the uEFI network booting bootable image /tftpboot/nbi_img/bootx64.efi...
    grub-mkimage: error: cannot open `/usr/lib/grub/x86_64-efi/moddep.lst': No such file or directory.
    Warning! Failed to create /tftpboot/nbi_img/bootx64.efi!
    This server won't be able to serve uEFI network boot clients.
    Preparing the grub modules in /tftpboot/nbi_img/grub-efi.cfg...
    The uEFI network booting is ready.
    *****************************************************.
    *****************************************************.
    Creating the image files for PXE and Etherboot client computer(s), this will take a few minutes ...
    Running mknic-nbi  --all --no-modules
    Will client check DHCP server name is "drbl" or not: yes
    The maximum times to try to get IP address for a client: 5
    The pause time after network card is up: 0
    The timeout to wait for network card linked (Unit: 0.1 secs): 70
    The NFS protocol for DRBL system: nfs3
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Setting port for udhcpc request to default...
    Can't open /usr/lib/mkpxeinitrd-net/initrd-skel/etc/linuxrc.conf: No such file or directory.
    Searching the latest installed kernel for DRBL client... This might take several minutes...
    Trying to find the kernel in /tftpboot/node_root
    The selected kernel for DRBL clients is: 4.19.0-5-amd64
    Kernel 2.6 or 3 was found, so default to use initramfs.
    Creating the network boot initrd for PXE clients by: mkpxeinitrd-net -k 4.19.0-5-amd64 -t initramfs   -nf
    /usr/sbin/mknic-nbi: line 363: mkpxeinitrd-net: command not found
    Finished!
    Done!
    *****************************************************.
    Done!
    

    If I continue again:

    drblpush -i

    Then I get the next error message:

    You did NOT setup any Internet network setting for the network cards for clients (such as the IP address of eth1, eth2...), or something wrong!
    We can NOT continue...
    

    I use DRBL/Clonezilla server on Debian 8 for approx. 3 years ago and I use this server on Debian 9 for approx. 1 years ago.
    I created a hungarian tutorial:
    https://logout.hu/cikk/hogyan_keszits_fel_negyven_gepet_az_erettsegire_1/bevezeto_helyzetelemzes_meg_ilyesmi.html
    It works on Debian 8 and 9.
    Now I want to reinstall this system on Debian 10 and want to rewrite the tutorial. I hope it will be successful, but I need help for me.

    I'm sorry for my weak language skills!

    Best regards,
    József Venczel

     
  • Steven Shiau

    Steven Shiau - 2019-07-23

    The DRBL repository should not provide partimage since it's not working for all the distributions. This is fixed. Please run:
    sudo drblsrv -u
    to uninstall drbl, then install it again, and run "drblsrv -i" and "drblpush -i" to configure it.

    Steven

     
    • József Venczel

      József Venczel - 2019-07-25

      Thank you for your help! Now it works!
      I haven't tried all the functions yet.

      Best regards,
      József

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.