Multiboot DM7025 Beta v0.6

Rocknroll

Staff member
Administrator
Messages
6,174
Version History
0.5 Test Beta Release:
add cool Bootlogo
change shutdown option to halt (to prevent mixhup with show on abreviated commands)
add abreviated commands multiboot.sh {e|d|b|c|s|h|r} {0|1|2|3} now works
0.6 Test beta release:
fixed problem that only abreviated commands worked
add update|u option for only copying new files from kit
add logfile for displaying logfile at /media/cf (but there is currently none created)

Code:
Hello folks!

This is the Readme.txt to my multi-boot Tool for the Dreambox 7025.

At present we have a version 0.4 (differs from version 03 only by this file,
and is therefore not posted yet),

The work is definitely not yet finished, functioned however it is already completed and doing its job well!

There is still no Blue Pannel integration, thus sinply use it in a telnet window at /media/cf and execute multiboot.sh

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

How do you start using it ?

first YOU need a CF CARD for your Dreambox 7025 with at least 256MB (bigger ones wor,
then we the last partition simply will be larger, smaller does NOT work
- except, one adapts the scripts and amkes them work without the 3. Partition)

First time you have to Flash an image that recognizes the CF Card - in principle
it therefore work only with images that have the CF support included, however at
present all have it included because it is in the CSV of DM contained.

Importantly - while Flasing the CF card has to be ALWAYS outside of teh dreambox
and when pressing the lower buttin whehn switching on on.

Only then one can flash via the WebIF normaly (with CF card inside that cannot be done).

Then copy the multibootXX.tar file to /tmp with ftp (TCP/IP must be working).

Unpack the whole files for the first time there and enter the following command:

> cd /tmp
> tar -xvf multibootXX.tar
> multiboot.sh enable

By this the CF map is prepared for multiboot and all 4 partitions are prepared,
however only the first (FAT) is filled with the Tools needed.

Subsequently, continue working on /media/cf - and for test purposes we will start to copy
only the first time all 3 partitions with a copy of the Flash.

Before entering the command always change directory to /media/cf:

> cd /media/cf

Or enter multiboot with full path:

> /media/cf/multiboot.sh

Mow let's start with the copying:

> multiboot.sh copy 1

> multiboot.sh copy 2

> multiboot.sh copy 3

Then test with one of the copied images if you can boot-enable it (in our example #1)
and simply reboot:

> multiboot.sh boot 1

> multiboot.sh reboot

Now should be bootet from the first partition:

> multiboot.sh show

That command should confirm this !!!

Now the CF card is already functional for multiboot - Congratulation !

Before you now copy a further image from the Flash to the CF card you have to change
multiboot again to the Flash.

THis is very IMPORTANTLY - if you forget this it will copy sonsene, and the image
probably will not boot because image and Kernel not fit each other.

That is by the way the most usual error if one does not watch out !

> multiboot.sh boot 0

> multiboot.sh halt

Now the box should be halted and you can remove the CF card for flashing the next image


After Flashing and maybe changig necessary things (like Settings, Plugins download,...
- bus this can be done naturally also later on the CF card) you can continue.

If the image flashing is completed simply shutdown with halt and reboot with CF card insterted
(which is still pointing to Flash booting)

Then simply this new Flashimage is copied on the next partition copy:

> multiboot.sh copy 2

Before flushing and copying a further image on the CF card you must use multiboot.sh
again tp point to the flash booting:

> multiboot.sh boot 0

> multiboot.sh halt

Now the box ais halted and you can remove the CF map card once more for flashing the last
image. After you can flash the last image for copying to the CF card and maybe doing necessary setups
(Settings, Plugins download, ... - but you can do this naturally also later when booted
from the CF card) .

If the image is flashed you have to shutdown with halt and reboot again, then instert the CF card
(which is still pointing to Flash booting)

Then simply this new Flashimage is copied on the last partition:

> multiboot.sh copy 3

Now one can copy still another last image in the Flash for booting, however one must
let multiboot.sh copy again to the CF card after this:

> multiboot.sh boot 0

> multiboot.sh halt

Now the box si halted and you can remove the CF card for putitng the last image to
the Flash.

Flash it and if necessary changes are needed (Settings, Plugins to download,...)
do them im Fals.

Then the image flashed is simply again copied to the CF card
(which is still pointing to flash booting) clean-does and thus to boats.

Simply synchronize this new Flashimage on the CF card again:

> multiboot.sh copyy 0

That is important so that the Kernel for the Flash and on the Cf card fit each other !

Now much fun with multibboting & testing!

In principle you can select now that all Partitions are filled only with multiboot.sh
and the wanted partitionnumber (x = 1.2.3 and 0 for the Flash) what Image you want to boot:

> multiboot.sh boot x

If you want to copy a new image over a partition already filled the don't worry,
you don't need to beginn from start.

Simply put the wanted image into the Flash (as above) and then as copy it to
the wanted partition, the script deletes the previous partitian cleanly.

And how to get rid of Multiboot:

> multiboot.sh boot 0

> multiboot.sh reboot

After the Reboot:

> multiboot.sh disable

Thus the CF card should be again empty and after a Reboot be mounted as a whole
on /media/cf
 
Top