Chkroot Multiboot Support for EMMC Devices

There are 22 replies in this Thread which was already clicked 6,026 times. The last Post () by samlukin.

  • I will reproduce here the full post of Captain! It refers to a generalization of MultiBoot

    support for EMMC based receivers other than those to which the Kexec Multiboot method

    was applied! Essentially ... everything starts from the "clean" installation of an OpenATV

    image more recent than the one published on 29 Apr 2025!


    Chkroot Multiboot


    Chkroot is a method used in the Linux environment to detect and prepare root
    filesystems for alternate boot configurations. By default, Multiboot is disabled
    on all devices. For supported models, a menu item appears allowing you to
    activate Multiboot. You can also disable it again.


    grafik.png


    The system remembers the setting, even after a reboot—unless you reinstall
    the image. After activation, the box will reboot. The first boot will take a little
    longer while Slot 1 is set up in the root filesystem.


    grafik-1.png


    You can then go to Software-Flash Online and install another image into a slot.
    Most EMMC devices have 4 GB of storage, which allows for 4 Multiboot slots.
    These share the same flash area. You can check usage and available space
    in the Information Menu.

    Since these devices didn’t have Multiboot support before, older or third-party
    images might not include a menu entry to install or switch between slots.
    Manual slot switching: To switch slots manually via Telnet or SSH, use:


    Code
    multibot-selector


    Devices currently supported by chkroot Multiboot:

    anadol4k, anadol4kv2, anadol4kcombo, axashis4kcombo, dinobot4kl,
    protek4kx1, dinobot4k, mediabox4k, dinobot4kse, ferguson4k, dinobot4kplus,
    axashis4kcomboplus, dinobot4kmini, arivacombo, arivatwin, dinobot4kpro,
    axashisc4k, dinobot4kelite, iziboxx4, viper4kv20, viper4kv30, protek4kx2,
    iziboxelite4k, dinobot4ktwin, hitube4kpro, hitube4kplus, viper4kv40,
    iziboxone4kplus, axas4kcombo, axas4ktwin, gi11000, viper4k51,
    beyonwizu4, sf4008, dm820, dm7080, dm900, dm920

  • Multiboot Selector


    The selector is a script that is called from TelNet, an image independent script !!!

    it also works in OpeATV and PurE2 ... I called it from PurE2 to reboot into OpenATV,

    the base image.


    Code
    wget -O /tmp/multiboot-selector.sh "http://source.mynonpublic.com/multiboot-selector.sh" && chmod 777 /tmp/multiboot-selector.sh && /tmp/multiboot-selector.sh


    The script accepts user selection 1-4 ! then you can Reboot to selected destination.

    Edited once, last by mihaip ().

  • Warning !


    Because only OpenATV has knowledge of ChkRoot Multiboot ... any operation

    of "Flash online" type made from an image other than OpenATV will rewrite

    the base image !!! So populate and update MultiBoot only from OpenATV !

    which will recognize your partition table and will exploit it correctly as a

    Multiboot one!


    1-0-19-283-D-3-FB-1-C00000-0-0-0-20250502193901.jpg


    1-0-19-283-D-3-FB-1-C00000-0-0-0-20250502194014.jpg


    1-0-19-283-D-3-FB-1-C00000-0-0-0-20250502194032.jpg

  • Quote

    Devices currently supported by chkroot Multiboot:


    anadol4k, anadol4kv2, anadol4kcombo, axashis4kcombo, dinobot4kl, protek4kx1, dinobot4k, mediabox4k, dinobot4kse, ferguson4k, dinobot4kplus, axashis4kcomboplus, dinobot4kmini, arivacombo, arivatwin, dinobot4kpro, axashisc4k, dinobot4kelite, iziboxx4, viper4kv20, viper4kv30, protek4kx2, iziboxelite4k, dinobot4ktwin, hitube4kpro, hitube4kplus, viper4kv40, iziboxone4kplus, axas4kcombo, axas4ktwin, gi11000, viper4k51, beyonwizu4, sf4008, dm820, dm7080, dm900, dm920

  • Thank you for your detailed information and for sharing your knowledge with us. I already have a built-in Multiboot feature on my Octagon device. Recently, I was wondering why the openATV team hasn't updated their online flash utility to be more modern and flexible regarding user data transfer to a fresh installation.

  • Multiboot Helper plugin


    Because I had everything I needed, since the time I was building

    Oscam.ipk daily for Enigma2 A5 ... so I decided to do it myself!!!

    So I've cleanup OpenVIX image ...


    screenshot-20250514075729.jpg


    screenshot-20250514075751.jpg


    screenshot-20250514075815.jpg


    Multiboot Helper plugin first execution ...


    screenshot-20250514075858.jpg


    screenshot-20250514075917.jpg


    screenshot-20250514075933.jpg


    Multiboot Helper plugin second execution ...


    screenshot-20250514080022.jpg


    screenshot-20250514080046.jpg


    Here I am ! boot into PurE2 !


    screenshot-20250514021625.jpg


    Bingo !!!


    Multiboot Helper.zip

    Edited 2 times, last by mihaip ().

  • In the last two days I've made an intensive testing with

    ChkRoot on DM 920 UHD ! First of all ... it works like a charm !

    all is a mater of respecting some simple rules ... I've done

    some 20 installations in the 6 Slots without any major incident !


    - don't use yet OATV 7.6 as BASE image ... it is at his beginnings

    - don't use DreamOS images in ChkRoot ( Captain rule)

    - use Multiboot Manager or Multiboot Helper plugin to navigate

    - reuse without fear old images Slots !

    - most advanced OpenE2 image after OATV comes from raed

    - install the Multiboot Helper plugin in any SLAVE image

    wich does not have a functional Multiboot Manager

    as follows ...


    Download link : https://mega.nz/file/j4UBwByY#…mPRHlboRRzIQ6S6WeZWQefJaI

    Code
    opkg install --force-depends /tmp/*.ipk

    - discard OpenHDF , it does not understand Triple Tuner !

    - if something wrong is happen ... use a "cleanup" helper

    then revive ChkRoot ... always works !

    - don't expect Recovery Mode to repair damages ! it doesn't !

    is just a last refuge if system does not start at all !


    Code
    echo 0 > /sys/block/mmcblk0boot1/force_ro
    dd if=/dev/zero of=/dev/mmcblk0boot1 bs=512


    As a rule ... this works even if the boot process starts,

    you have Logo on the screen and is hanging for some

    reason ! Telnet already works and can fix the STARTUP !

  • Mihaip Can it be installed on a dreambox two?

  • Well ... I've asked Captain a procedure roll back GPT to Legacy !

    and to implement ChkRoot on Dream ONE/TWO ! He is not interested

    i such a project !


    The answer is NO !!!


    I've done a similar complex test on Amiko Viper 4K V30 ! is working like

    a charm ! what a good quality work !!!

    Edited 7 times, last by mihaip ().

  • mihaip, thanks for the information. It's a shame they don't do this on Dreambox Two because many people have the problem. I hope they will do it one day.

  • Anyone please help I do this

    chmod 755 /usr/bin/multiboot-selector.sh
    multiboot-selector.sh
    In telnet after my hdd is not mounting I try to mount it manually but error I have lot of data in hdd I don't want to format it

  • Captain

    If we could create a plugin that could be installed separately on the Flash image, which would then automatically replicate in the images extracted in multiboot, it would be better and, perhaps, more accessible to everyone. It would be even more user-friendly to be able to install images, especially DreamOS ones, since the plugin is also intended for Dreamboxes, in their native format, .tar.xz or .tar.gz.


    The plugin offered by Alan Turing's Gutemine allowed the installation of open images in the .bz2 format and was easier to use.


    Thanks for your work.

    .

Amiko Viper 4K UHD Linux Enigma 2 2160p H.265 HEVC Multi-Stream DVB-S2X & DVB-C/T2 Combo Receiver

Download Amiko Firmware & Images. Enigma2 Team Support from OpenATV, OpenHDF, OpenPLi, OpenSPA, OpenViX, Open Vision & PurE2.