Difference between revisions of "Vu Multiboot"

From OpenPLi Wiki
Jump to: navigation, search
(Restore kexec kernel for VU+ Duo 4K ONLY!!)
(Restore kexec kernel for VU+ Duo 4K ONLY!!)
Line 63: Line 63:
 
- log on the STB with ssh or telnet<br />
 
- log on the STB with ssh or telnet<br />
  
- execute the following command: opkg install vuplus-kexec --force-reinstall<br />
+
- execute the following command: ''opkg install vuplus-kexec --force-reinstall<br />''
 +
- execute the following command: ''dd if=/usr/bin/kernel_auto.bin of=/dev/mmcblk0p6<br />''
  
- execute the following command: dd if=/usr/bin/kernel_auto.bin of=/dev/mmcblk0p6<br />
+
- execute the following command: ''mv /usr/bin/STARTUP.cpio.gz /STARTUP.cpio.gz<br />''
 
 
- execute the following command: mv /usr/bin/STARTUP.cpio.gz /STARTUP.cpio.gz<br />
 
  
 
reboot<br /><br />
 
reboot<br /><br />

Revision as of 14:57, 20 June 2024

Intro

With OpenPLi 9 we offer multiboot for all Vu+ 4K receivers, so only the 4K versions!!! So it's a Vu+ 4K receiver specific feature that makes it possible to install multiple images on your Vu+ 4K receiver. When you have activated this feature, you can install multiple images, how much images you can install, when it is supported, depends on the slots, let's say the partitions that become present.
Below we will explain how to activate this feature.

Initialize Vu+ 4K Multiboot

By default Vu+ 4K Multiboot is not active, you have to activate or Initialize Multiboot. If you want multiboot, you go to Main menu > Setup > Flash image. Your receiver needs connection to the internet (never connect your receiver directly to internet! Always behind a firewall/Router). So if you receiver supports it, below in the screen you will see the option Initialize Multiboot (see below)

VuMultiboot-001.jpg

Now press the yellow button as pointed out in the picture above and the screen below will appear.

VuMultiboot-002.jpg

Now you have tree choices,

  • press Exit on your remote control and nothing is changed, so no multiboot,
  • Press the Green button and you will Init Multiboot, as shown in the picture below, please wait until your receiver reboots.
VuMultiboot-003.jpg
  • Press the Red button to completely remove the Multiboot option. when you do the screen below will appear.
VuMultiboot-004.jpg

Pressed the Remove forever (as you can see above) you can still abort removing the Multiboot by selecting No with your remote control. If you have pressed Yes and removed multiboot, please restart/reboot and after a restart the option "Initialize Multiboot" will be gone (see below).

VuMultiboot-005.jpg

Remove forever


Remove forever will of course only remove the multiboot feature from this particular image, so if you reconsider and want multiboot back, a flash will return the Multiboot feature. Remove forever will not be saved in your autobackup.

Adding other OpenPLi versions or other images

When you have multiboot you can install an image in every free slot (= partitions where you can install an image). In each slot you can install an OpenPLi version and there is the option to install OpenPLI with or without a backup. of course you can always install other images.

AutoBackup

When you flash a multi boot version from the menu a backup is created and restored by default. When this flash process starts there is a time window to cancel it, so by default a backup is created from the current image and will be restored right after the flash on the newly installed image. In most cases and certainly when there is no HDD present, a USB stick with enough space, has to be plugged into the receiver so create the backup. These backup files are relatively small. In many cases it is best to use a USB stick of about 1 Gb, albeit to store the downloaded image.

How to select an installed multiboot image

There are 2 ways to select the image to boot from. Using the remote control you simply press Menu and go into Standby/Restart menu. Press long on the power control button using your remote control a menu appears and as you can see in the picture below there is the "Multiboot image selector" option, once pressed it offers the images you have installed.

VuMultiboot-006.jpg

Now you can pick one and OpenPLi will boot into it. In the picture below only 1 is showed, as this is the one created after you initialized Multiboot. When you install more images these will also be displayed.

VuMultiboot-007.jpg


When there are more images installed there is also the possibility by pressing yellow button to remove an image. See picture below.

VuMultiboot-008.jpg

Once you remove an image, the yellow button changes to restore deleted images, in case you made a mistake. Even when you reboot you can restore deleted images, once you install a new one it the "old slot" it will be gone!

Adding other images than OpenPLi

If you want to add any other images, well other than OpenPLi, you can also flash them using the other images button, see pictures below. This will open the option to choose other brands.

VuMultiboot-009.jpg


VuMultiboot-010.jpg

Forced loading recovery image

The first image, the one in which you activated multi boot is called "the recovery image" is in slot 0. If you for some reason, you want to boot not from the menu using the multiboot image selector (see pictures above), then create an empty STARTUP_RECOVERY file at the root of you HHD/USB drive and hold de Power button for more than 12 seconds for reboot receiver.

Restore kexec kernel for VU+ Duo 4K ONLY!!

Note: it is recommended to make backups first before you start restoring the slots by using plan A, in case the box won't boot you can always fall back to plan B.

Boot the STB in slot 0

- log on the STB with ssh or telnet

- execute the following command: opkg install vuplus-kexec --force-reinstall
- execute the following command: dd if=/usr/bin/kernel_auto.bin of=/dev/mmcblk0p6

- execute the following command: mv /usr/bin/STARTUP.cpio.gz /STARTUP.cpio.gz

reboot

If this procedure fails it is time for plan B:
- backup the folders: linuxrootfs1, linuxrootfs2 and linuxrootfs3 with tar -czvf, on an external device

 example: tar -cvzf /media/hdd/linuxrootfs1.tar.gz /linuxrootfs1 (repeat this als for rootfs2 and 3)

- reflash the STB via USB
- install the multiboot option
- restore the backup into the root of slot 0

 example: cd /
tar -xzvf /media/hdd/linuxrootfs1.tar.gz (repeat this for rootfs2 and 3)


After rebooting the STB the slots should be available again.

Note: Again, it is recommended to make backups first before you start restoring the slots by using plan A, in case the box won't boot you can always fall back to plan B.