Extra Multiboot slots for sf8008 and sf8008m

Antworten
Nachricht
Autor
Benutzeravatar
Lucifer
Member
Member
Beiträge: 232
Registriert: 01 Feb 2015 12:30
Hat gedankt: 159 Mal
Hat Dank erhalten: 155 Mal

Extra Multiboot slots for sf8008 and sf8008m

#1

Beitrag von Lucifer »

Hi there,
There is a way to create extra Multiboot Slots on the SD-card of the sf8008, or create extra Multiboot Slots on a USB-device of the sf8008m.

Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


Creating extra Multiboot Slots means that you have to create extra partitions (the right way) on the SD-card or USB-device.
You can have 7 extra Multiboot Slots for every 16GB, or less if you also want to use the USB-device for data storage.(picons, epg, .....)
There is a script now that creates the partitions automatically.
More about that later, first some more info about extra Multiboot Slots for the sf8008m.


This USB-device MUST be in usb port sda, in this case the (white) usb2.0 port.

Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


If you already have a USB-device in usb port sda, it's better to save the content because the USB device will be erased when the extra Multiboot Slots are created.
Or you can use a different USB-device for the test. (if you have an other USB-device)
For this example i used a 16GB Sandisk mini USB-device and created 6 extra Multiboot Slots (Slot 5-10).
After creating the extra slots and rebooting the box, you can install images in the new Slots via Flash Online and select the new slots in the Multiboot Menu.

Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


Limits of the Recovery Menu:

If you use the Recovery Menu, you can only select 4 slots for startup and Network Multiboot Upgrade.

Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


[ATTACH=CONFIG]73243[/ATTACH]

Script_Polish_v1.5.rar
(4.53 KiB) 118-mal heruntergeladen


If you want to have extra Multiboot slots for sf8008 or sf8008m, you can use the same script.
You have to start the script in a Flash image (slot1-4)
The script shows information on the screen with OSD (On Screen Display) message boxes, instead of information in the Console screen.
That's why the script has ".hidden" in the name. (for starting the script via a ButtonSetup (and ppanel installed), more about that later)

If you have extra Multiboot Slots (and data) on the SD-card of the sf8008, it's better make an Image Backup of the images in Slot 5 and 6, because the SD-card will be erased when the extra Multiboot Slots are created.
If you also have other data stored on the SD-card, it's better to save the data to an other place.
Or you can use an other SD-card for the test. (if you have an other SD-card)

Scripts till version 1.3 have 4 user settings, and script version 1.4 has 5 user settings that can be changed to your personal preferences.
For this example Large Multiboot slots of 2GB are used, more about that later.

------------------------------------

1. Line 15 and 16 of the script:

15 RESERVE=1025050
16 #RESERVE=1050

This way you can have 6 extra Multiboot Slots on a 16GB SD-card or USB-device and the rest of the memory (about 2GB) is used to create a userdata partition.
If you don't want/need a (big) userdata partition, you can have 7 extra slots on a 16GB SD-card or USB-device.
In that case you have to change line 15 and 16 like this:

15 #RESERVE=1025050
16 RESERVE=1050

------------------------------------

2. Line 22 and 23 of the script:

22 USERDATA_FS=fat32
23 #USERDATA_FS=ext4

Here you can choose how the userdata partition should be formatted, fat32 is standard.
If you want the userdata partition formatted in the linux ext4 format, you have to change lines 22 and 23 like this:

22 #USERDATA_FS=fat32
23 USERDATA_FS=ext4


------------------------------------

3. Line 26 of the script:

26 USERDATA_MOUNTPOINT=/media/userdata

Here you can choose the name for the userdata mount.
If you want to use the userdata partition as usb, you can change line 26 like this:

26 USERDATA_MOUNTPOINT=/media/usb

If you want to use the userdata partition as hdd (for recording), you can change line 26 like this:
26 USERDATA_MOUNTPOINT=/media/hdd

!! Important !!
When the userdata is created, a mount line is written in /etc/fstab
For example: UUID=B4B8-2963 /media/hdd ext4 defaults 0 0 ### sda17
If you want to use the (hdd) userdata partition in other multiboot images, you have to copy the mount line to the /etc/fstab file of those images manually and reboot the box to activate the mount.

There have been reports about sertain types/brands of SD-cards have problems when they are used as HDD.
More info here: SanDisk Ultra microSDXC Class 10 UHS-I U1 A1 400GB | OpenBh Team Board
And here: SF8008 UHD MicroSDcard as media/hdd (SanDisk Ultra microSDXC Class 10 UHS-I U1 A1 400GB) | Digitalworldz

------------------------------------

4. Line 29 of the script:

29 MB_SLOTSLIMIT=15

Here you can set a limit for extra Multiboot Slots, 15 is standard (if you have a 32GB/64GB SD-card or USB-device).

For the script it doesn't matter if you set a higher number like this:
EXTRA_MB_SLOTSLIMIT=40

The script checks the size of the device and will just create the maximum amount of Multiboot Slots that are possible on the device.
The setting in the script is only there, incase someome wants to create less Multiboot Slots then the maximum amount of Multiboot Slots on the device.

If you only want 4 extra Multiboot Slots on your SD-card or USB-device, change line 29 like this:

29. MB_SLOTSLIMIT=4

------------------------------------
This new option is available in version 1.4
5. Line 32 to 34 of the script:

32 #MULTIBOOT_SLOT_SIZE=Small
33 #MULTIBOOT_SLOT_SIZE=Medium
34 MULTIBOOT_SLOT_SIZE=Large

Here you can set the size of the Multiboot Slots (Root partition): Small (1GB), Medium (1.5GB) or Large (2GB). (Default = Large)

If you want to create Small Multiboot Slots (1GB), change line 32 to 34 like this:

32 MULTIBOOT_SLOT_SIZE=Small
33 #MULTIBOOT_SLOT_SIZE=Medium
34 #MULTIBOOT_SLOT_SIZE=Large

If Small Multiboot Slots are selected with a RESERVE of 1025050Kib, it's posssible to create 13 Multiboot Slots on a 16GB SD-card or USB-device.
If Small Multiboot Slots are selected with a RESERVE of 1050Kib, it's posssible to create 14 Multiboot Slots on a 16GB SD-card or USB-device.

If Medium Multiboot Slots are selected with a RESERVE of 1025050Kib, it's posssible to create 9 Multiboot Slots on a 16GB SD-card or USB-device.
If Medium Multiboot Slots are selected with a RESERVE of 1050Kib, it's posssible to create 9 Multiboot Slots on a 16GB SD-card or USB-device.

If Large Multiboot Slots are selected with a RESERVE of 1025050Kib, it's posssible to create 6 Multiboot Slots on a 16GB SD-card or USB-device.
If Large Multiboot Slots are selected with a RESERVE of 1050Kib, it's posssible to create 7 Multiboot Slots on a 16GB SD-card or USB-device.

------------------------------------

Important information for installing a Recovery Image !!!

When you have created extra Multiboot slots on the SD-card or USB-device, you have also extra STARTUP files in: /boot
The box needs the STARTUP files to find the location of the Multiboot slots.
The files STARTUP_1 to STARTUP_4 are for the Multiboot slots in the flash memory.
The files STARTUP_5, STARTUP_6, .... are for the Multiboot slots on the SD-card or USB-device.

When you install a Recovery image, your box will not see the extra Multiboot slots on the SD-card or USB-device anymore.
That is because the files STARTUP_5, STARTUP_6, .... are missing in: /boot

If you copy the file /boot to your pc before the Recovery Image is installed, you can always copy the files STARTUP_5, STARTUP_6, .... back to your box after the Recovery Image is installed.
After a reboot your box will see the extra Multiboot slots on the SD-card or USB-device again.

You can also download the STARTUP files 5 to 30 here.
You only need the STARTUP files for the Multiboot slots that are created on the SD-card or USB-device.
Not many people will need file STARTUP_30, but you don't get problems if you add STARTUP files for Multiboot slots that you don't have. ;)

If you use a part of the SD-card or USB-device for data storage (picons, epg, ...), the partition is mounted.
you will loose the mount (name) and it has to be mounted with the right name again after the Recovery Image is installed.

The device/partition mounts are stored in file: /etc/fstab
So, you can also copy the fstab file to your pc before the Recovery Image is installed, and copy the fstab file back to the box after the Recovery Image is installed.
After a reboot, you will have the mount(s) back again.

Thanks to @ahmedmoselhi (Octagon forum) for the question and feedback about installing a Recovery Image.



A Special Thanks to: @Betacentauri for helping me with the setup of the partitions, and @Pike_Bishop for helping me with upgrading the script(s)


I made a complete HowTo manual on the OpenEight forum: Extra Multiboot slots for sf8008 and sf8008m [HowTo] | Octagon Forum (octagon-forum.eu)


Update 31-07-2021 version1.3:
- One of the build in safeties has been improved.
- Version number has been added.
- Add date/time to the logfile name.
- Cleanup unnecessary empty lines in the fstab file afer mounting the userdata partition.

Update 17-12-2021 version 1.4:
- Add variable to set the size of the Multiboot Slot (root partition).
- Changed the mount line for the userdata partition in /etc/fstab to improve remounting when the script is used multiple times for the same device.
- Existing STARTUP files are also recreated to fix a rare issue (corrupt file) that is not caused by the partitioning or the script.

Thanks to @fullkiller for the questions about smaller Multiboot Slots and making a Polish version of the script.

Update 04-02-2022 version 1.5:
- Fix for running the script with higher bash versions.
- Removed old unused code from a previous version.

Thanks to @maxious for the feedback and tests.

regards
Lucifer
Dateianhänge
Script_English_v1.5.rar
(4.28 KiB) 191-mal heruntergeladen
Script_German_v1.5.rar
(4.44 KiB) 121-mal heruntergeladen
STARTUP_5_to_30.rar
(6.6 KiB) 181-mal heruntergeladen
08.Network_Multiboot_Upgrade.jpg
06.Recovery_Menu.jpg
05.Multiboot_Menu.jpg
04_Slot_selection.jpg
03.sf8008mini.jpg
02.About.jpg
01.FlashOnline_sf8008m.jpg
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#2

Beitrag von Pike_Bishop »

Hi,

Kann das bitte ein @Mod hier rein linken (nicht verschieben nur reinlinken - ich kann das ja nun nicht mehr, aber jemand sollte das mit den Scripts weiter sauber halten);
https://www.opena.tv/viewtopic.php?p=116838#p116838
denn es handelt sich ja um ein Script was diesen Job erledigt, und da wärs gut wenn man das zusätzlich auch dort unter den gesammelten Scripts finden kann.
Hier wird man es mit der Zeit nicht mehr finden.

Als Linktext würd ich vorschlagen;
SF8008 Multiboot Slots auf Externen Medium automatisch erstellen
denn das Script ist nur für die Octagon SF8008 Boxen (jedenfalls derzeit).

Grüsse
Pike
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#3

Beitrag von Pike_Bishop »

Hi,

Kein Moderator der sich dafür kurz Zeit nehmen will hier ?
Mir könnts egal sein, is ja nicht mein Forum.


Grüsse
Pike
Benutzeravatar
lippei
Moderator
Moderator
Beiträge: 2743
Registriert: 21 Apr 2013 08:04
Receiver 1: AX 61
Receiver 2: Protek 4K mit Sky Modul
Hat gedankt: 594 Mal
Hat Dank erhalten: 1511 Mal

#4

Beitrag von lippei »

möcht ich ja gerne ,

kann aber nur das ganze thema zusammenfügen .

welcher einzelne soll hier angefügt werden ?

Edit:

habs dort angefügt
Gruß Lippei

Protek 4K mit Sky Modul
Pulse 4K openATV 1000GB HDD ,7.5.1
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#5

Beitrag von Pike_Bishop »

Hi lippei,

Danke ist schonmal nicht schlecht, aber man weiss so nicht um was es geht - kann der Link dort nicht umbenannt werden zu;
SF8008 Multiboot Slots auf Externen Medium automatisch erstellen
War ja früher selbst Mod hier (nur in der Script Section) aber das war ne ein Problem.


Grüsse
Pike
Benutzeravatar
lippei
Moderator
Moderator
Beiträge: 2743
Registriert: 21 Apr 2013 08:04
Receiver 1: AX 61
Receiver 2: Protek 4K mit Sky Modul
Hat gedankt: 594 Mal
Hat Dank erhalten: 1511 Mal

#6

Beitrag von lippei »

Gruß Lippei

Protek 4K mit Sky Modul
Pulse 4K openATV 1000GB HDD ,7.5.1
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#7

Beitrag von Pike_Bishop »

Hi,


Nicht ganz - Link verweist auf Post 5 und nicht auf Post 1
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#8

Beitrag von Pike_Bishop »

Danke nun is es super :good:
Benutzeravatar
Pike_Bishop
Moderator
Moderator
Beiträge: 2693
Registriert: 11 Feb 2020 22:06
Wohnort: here and there
Receiver 1: Mutant HD2400
Receiver 2: VU Ultimo 4K
Receiver 3: Octagon SF8008
Receiver 4: Gigablue Quad 4K
Receiver 5: VDR
Hat gedankt: 704 Mal
Hat Dank erhalten: 1523 Mal
Geschlecht:

#9

Beitrag von Pike_Bishop »

Hi,

Gab ein Update von @Lucifer mit 31.07.2021 (Download in Post #1) -> Änderungen bzw. Verbesserungen kann man auch in Post #1 nachlesen.


Grüsse
Pike
Scripte
********************* Bild *********************
Keine Antwort auf PN Anfragen welche ins Forum gehören.
Benutzeravatar
Lucifer
Member
Member
Beiträge: 232
Registriert: 01 Feb 2015 12:30
Hat gedankt: 159 Mal
Hat Dank erhalten: 155 Mal

#10

Beitrag von Lucifer »

Hi there,


Multiboot info update about installing a Recovery Image, in post #1

regards
Lucifer
Benutzeravatar
Lucifer
Member
Member
Beiträge: 232
Registriert: 01 Feb 2015 12:30
Hat gedankt: 159 Mal
Hat Dank erhalten: 155 Mal

#11

Beitrag von Lucifer »

Hi there,

New Script version 1.4 is available and HowTo manual updated in the first post.

Update 17-12-2021 version 1.4:
- Add variable to set the size of the Multiboot Slot (root partition).
- Changed the mount line for the userdata partition in /etc/fstab to improve remounting when the script is used multiple times for the same device.
- Existing STARTUP files are also recreated to fix a rare issue (corrupt file) that is not caused by the partitioning or the script.

regards
Lucifer
Benutzeravatar
Lucifer
Member
Member
Beiträge: 232
Registriert: 01 Feb 2015 12:30
Hat gedankt: 159 Mal
Hat Dank erhalten: 155 Mal

#12

Beitrag von Lucifer »

Hi there,

New Script version 1.5 is available in the first post.

Update 04-02-2022 version 1.5:
- Fix for running the script with higher bash versions.
- Removed old unused code from a previous version.

regards
Lucifer
Antworten

Zurück zu „OCTAGON SF8008 4K UHD“