Jump to content


Photo

Multiboot: Backup and Restore Slots? Recovery after boot problems?


  • Please log in to reply
8 replies to this topic

#1 Qu@rk

  • Senior Member
  • 192 posts

+2
Neutral

Posted 28 September 2024 - 07:52

I had multiboot running but in June 2024 after an update of my OpenPLi 8.3 slot my VU+ DUO4K did not boot any more (kernel updated?, multiboot kernel overwritten?). I had to perform some tricks to get my box running again (inject a kernel image from an older backupsuite image into a recent image backup). But I Iost all my slots and settings in there.

 

I am running OpenPLi 8.3 on a VU+ DUO4K as my daily driver.

I would like to try OpenPLi 9 and OpenATV again.

 

My steps to do that would be: Is this the correct procedure?

  • Create an image backup of my OpenPLi 8.3 with backupsuite.
  • Flash OpenPLi 9.0, perform basic setup (network etc.) and activate multiboot
    This would be my recovery image, correct?
  • Flash my OpenPLi 8.3 backup into one slot
    Is there an easy way to do that? I could not select the latest backup image directly. I had to rename it to a specific name format and copy it to the images folder on my hdd.
  • Flash OpenPLi 9.0 and OpenATV to Slot 2 and 3

But after every slot is configured and running how would I backup each slot completely?

How to restore a backup to a slot?

 

I found this post;

https://forums.openp...p/#entry1626943

 

But if the box wouldn't boot, how do I recover or restore my slot backups?

Flash OpenPLi 9, basic setup, activate multiboot and then how to restore the slots correctly?

 

In general:

What would be the best and hopefully easiest backup/restore/recovery strategy of a multiboot setup?

 



Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #2 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 28 September 2024 - 12:34

That is a known issue, and present in all VU+ 4K images, it has only been adressed in the latest images a few months ago, and in OpenPLi develop (fix will be in 9.1-release).

 

For details, see https://github.com/o...core/issues/877

 

The problem is indeed that the image itself isn't multiboot aware, so if there is a kernel update in the updates, that update will overwrite the kexec multiboot kernel of the box.

 

See https://wiki.openpli...er_an_update.3F for more details, and a howto on how to fix it if it happens.

 

I haven't seen a box that doesn't boot anymore after this happened, obviously, if it doesn't boot anymore, you're out of luck, and USB flashing is the only remaining option.

 

True multiboot boxes have multiboot support in the bootloader, separate partitions for the kernel of each slot, and a recovery partition that can be booted by the bootloader. VU+ doesn't have any of that.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #3 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 28 September 2024 - 12:51

For the rest of your questions:

 

Yes, the first image flashed, from USB, will be the slot 0 image, and should be treated as the recovery image. Which means flash, configure network (so you can access it remotely if needed), and nothing else.

 

I never use (and have never used) backupsuite. I never had a need for it. I only use the autobackup feature.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #4 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 28 September 2024 - 13:14

Actually using backupsuite nowadays has not a real added vallue…usually normal backup/restore is sufficiant for openpli. I have no idea if the same is true for other images.

Edited by littlesat, 28 September 2024 - 13:15.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #5 Qu@rk

  • Senior Member
  • 192 posts

+2
Neutral

Posted 29 September 2024 - 09:35

Thanks for the immediate reply.

 

Kexec:

After posting my questions I have found the updated wiki. Thanks, very helpful.

I have read the github kexec discussion and in principle I have understood the problem and the possible solution in future builds and why it fails with current/older builds. I will have to think about a procedure to backup my slots.

 

Additional to the "tar method":

Would it be possible to use backupsuite within each slot?

The created backup image would contain the kexec kernel, right?

Would it be possible to restore an backupsuite image created like that within the multiboot menu of the recovery image? Or will this fail because of the kexec kernel?

 

Autobackup on OpenPLi 8.3:

I have never used autobackup/autoinstall to restore an installation. I made my own settings backups manually.

I prefer a full image backup. If something goes terribly wrong the box is in a working state exactly as before within minutes.

But I have read the autobackup wiki and understand your point. I will use it as an additional safety net.

 

On my OpenPLi 8.3 I changed the autobackup settings (start time 03:00, save previous backup=ON, create autoinstall=ON). If I leave the menu with the green button and enter the autobackup settings again the setting "save previous backup" is OFF again.

 

The box did not start and performed a backup this morning at 03:00 and the setting "save previous backup" was off again.

Manual backups work.

 

Would the box start from deep standby and perform the autobackup?



Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #6 twol

  • Senior Member
  • 448 posts

+15
Neutral

Posted 29 September 2024 - 12:58

Actually using backupsuite nowadays has not a real added vallue…usually normal backup/restore is sufficiant for openpli. I have no idea if the same is true for other images.

@qu@rk,  @littelsat flashing an image and restoring the settings backup to recreate the normal working environment  is true for images such as  openvix, openbh and openatv, as well as openpli.
Alternatively to reduce slot restoration, the originators of Vu+ multiboot specifically also supported usb images, so that if slot 0 is replaced (for whatever reason) usb images are available instantly by installation of the STARTUP files for those images.
Slot 0 can also be online flashed without loss of the other emmc slot images.


Gigablue Quad 4K & UE 4K, Vu+Uno4KSE, DM900
.........FBC Tuners:
------------------> GT-SAT unicable lnb to 1.5M dish(28.2E)
------------------> Gigablue unicable lnb to 80 cm dish(19.2E)

Octagon sf8008, AX HD61, Edision Osmio 4K+, Zgemma H9Combo using Legacy ports on multiswitches
Zgemma H9twin & Zgemma H9 C/S mode into Giga4K
 


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #7 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 29 September 2024 - 13:08

There is only one possible reasons for wanting to make a full backup with backupsuite: you have plugins for which no ipk exists (for example plugin developers who develop on the box).

 

In all other circumstances, a flash + autobackup is better and faster. I consider myself a "power user", and I have never ever had the need for a full backup.

 

I can't comment on the situation for non-OpenPLi images.

 

And OpenPLi doesn't support slots on USB.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #8 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 29 September 2024 - 14:09

Even then you do not need that… just put that ipk in the folder as ipk where the backup files are and they also are installed. At least we do…

Edited by littlesat, 29 September 2024 - 14:10.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multiboot: Backup and Restore Slots? Recovery after boot problems? #9 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 29 September 2024 - 15:55

I wrote "when no IPK exists"...

 

For example when you are developing a new plugin and you do that directly on the box, without git (so you would lose your work after a flash).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users