FlashExpander (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
 
(49 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Kategorie:Index]]
 
[[Kategorie:Enigma2]]
 
[[Kategorie:FAQ und Anleitungen]]
 
 
{|width="40%"
 
{|width="40%"
 
  |[[Bild:deutsch.png]] - [[FlashExpander|in Deutsch]]
 
  |[[Bild:deutsch.png]] - [[FlashExpander|in Deutsch]]
 
  |[[Bild:english.png]] - [[FlashExpander (en)|in English]]
 
  |[[Bild:english.png]] - [[FlashExpander (en)|in English]]
 
  |}
 
  |}
{|width=99%
+
[[Datei:FlashExpander.png |thumb|350px|FlashExpander in action]]
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 1em 1em 1em;  background-color:#F8F8FF; align:right;">[[Bild:Artikel_Hinweis.png|right|40px|The Gemini Project]]
+
The '''FlashExpander (FE)''' by [http://www.i-have-a-dreambox.com/wbb2/profile.php?userid=177 mechatron] "expands" the Flash memory with an additional device such as: USB Stick, CF Card, SD Card, HDD or SSD ....  
=== The FlashExpander (FE) ===
+
The directory '''<code>/usr</code>''' is copied from the Flash memory onto the device and is mounted over fstab.  
</div>
 
|-
 
|
 
<div style="background-color: #FFFFFF; border: 1px padding: .4em; solid #cccccc;">
 
__TOC__
 
The FlashExpander by [http://www.i-have-a-dreambox.com/wbb2/profile.php?userid=177 mechatron] "expands" the Flash memory with an additional device such as: USB Stick, CF Card, SD Card, HDD or SSD ....  
 
The directory '''/usr''' is copied from the Flash memory onto the device and is mounted over fstab.  
 
  
The directory /usr contains System commands, programms, libraries, Plugins, Skins, ....
+
The directory <code>/usr</code> contains System commands, programms, libraries, Plugins, Skins, etc.
After activating FlahExpander you will have enough space availiable (e.g. for the Webbrowser), without overfilling the Flash memory.
 
  
Using a NFS Server for FlashExpander is possible from Version 0.32 upwards. This is a little bit more complex to configure, hence should be done only if you have some experiece. In the chapter '''NFS Freigabe einbinden''' you can find a little guideline.  
+
After activating FlashExpander you will have enough space availiable (e.g. for the Webbrowser, HbbTV, ...), without overfilling the Flash memory.
  
Gemini or iCVS is not required for using FlashExpander. The plugin was tested with several images, OE1.6 and OE2.0.
+
Using a NFS Server for FlashExpander is possible from Version 0.32 upwards. The setup is a little bit more complex to configure, hence should be done only if you have some experiece. This possibility can be very interesting if you have a 500HD without USB-mod. In the chapter '''[[FlashExpander_(en)#NFS-Share|NFS-Share]]''' you can find a little guideline.  
  
The Plugin supports following languages: English, German, French, and Italian.
+
Gemini or iCVS is not required for using FlashExpander. The plugin was tested with several images, OE 1.6 and OE 2.0.
  
 +
The source code of the plugin can be found on the Dreambox after the installation of the plugin. Any help for developing or translations are welcome.
  
==== Requirements ====
+
The Plugin supports following languages:
 +
*English
 +
*German
 +
*French
 +
*Dutch
 +
*Italian
 +
== Requirements ==
  
* An Image based on OE1.6 or OE2.0.
+
* An Image based on OE 1.6 or [[OE 2.0 (en)|OE 2.0]].
* The device should a least have '''one''' partition formated as [http://de.wikipedia.org/wiki/Ext2 ext2]/[http://de.wikipedia.org/wiki/Ext3  3]/[http://de.wikipedia.org/wiki/Ext4 4] or [http://de.wikipedia.org/wiki/XFS_%28Dateisystem%29 xfs]. A [http://de.wikipedia.org/wiki/Raw_Device RAW Device], a device without partition, is not supported. These kind of device needs to be initalized and partitioned. You can use the devicemanager of the Dreambox or a computer to prepare the device (e.g. with [http://gparted.sourceforge.net/ GParted]).
+
* The device should a least have '''one''' partition formated as [http://en.wikipedia.org/wiki/Ext2 ext2]/[http://en.wikipedia.org/wiki/Ext3  3]/[http://en.wikipedia.org/wiki/Ext4 4] or [http://en.wikipedia.org/wiki/XFS_%28Dateisystem%29 xfs]. A [http://en.wikipedia.org/wiki/Raw_device RAW Device], a device without partition, is not supported. These kind of device needs to be initalized and partitioned. You can use the devicemanager of the Dreambox or a computer to prepare the device (e.g. with [http://gparted.sourceforge.net/ GParted]).
 +
* If you want to use a device with 2 partitions, you find interesting info in the [[eParted (en)|eParted]] or [[fdisk_(en)|fdisk]] article. With 2 partitions you can outsource the directory /usr on one partition and use the second partition for picons, swap or other stuff.
 
* The DM7025(+) can only use a CF Card and needs additional packages to be installed, please follow the installation notes.
 
* The DM7025(+) can only use a CF Card and needs additional packages to be installed, please follow the installation notes.
* When using nfs, a share needs to be mounted over telnet before activating FlashExpander. Attention! NFS shares mounted by [http://www.autofs.org/ autofs] (automounter) are not supported!
+
* When using nfs, a share needs to be mounted over Telnet before activating FlashExpander. Attention! NFS shares mounted by [http://www.autofs.org/ autofs] (automounter) are not supported!
  
  
==== Using FlashExpander ====
+
== Functionality ==
  
As mentioned before, only the directory /usr will be moved to the Device or NFS Server. The other directories will be used by the dreambox as they where before from the flash memory. Keep in mind the target device will be '''deleted''' completely before while activating FlashExpander!
+
As mentioned before, only the directory <code>/usr</code> will be moved to the device or NFS Server. The other directories will be used by the dreambox as they where before from the flash memory. Keep in mind the target device will be '''deleted''' completely while activating FlashExpander!
  
The biggest benefit is achieved when FlashExpander ist activated immediately after flashing a new image. Afterwards you can install Plugins, Skins, ... which will be located onto the outsourced /usr directory automatically.
+
The biggest benefit is achieved when FlashExpander ist activated immediately after flashing a new image. Afterwards you can install Plugins, Skins, ... which will be located onto the outsourced <code>/usr</code> directory automatically.
  
You can also use FlashExpander on an installed Dreambox. But no Flash memory will be freed up. You only outsource the directory /usr, this is independent from the availiable free memory in flash.
+
You can also use FlashExpander on an installed Dreambox. But no Flash memory will be freed up. You only outsource the directory <code>/usr</code>, this is independent from the availiable free memory in flash.
  
Once FlashExpander is activated the device should not be removed. If the device is removed the original directory /usr from Flash memory will be used again. You can also edit the entry in the /etc/[http://de.wikipedia.org/wiki/Fstab fstab] to disable the mount, and to use the original directory /usr in the Flash memory.
+
Once FlashExpander is activated the device should not be removed. If the device is removed the original directory <code>/usr</code> from Flash memory will be used again. You can also edit the entry in the /etc/[http://en.wikipedia.org/wiki/Fstab fstab] to disable the mount, and to use the original directory <code>/usr</code> in the Flash memory.
  
  
Back to [[#top | Inhaltsverzeichnis:]]
+
== Installation ==
 +
=== DM500HD, DM800(se), DM7020HD and DM8000 ===
  
= Installation of the FlashExpander =
+
Copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266 FlashExpander] ipk via ftp in the directory <code>/tmp</code> and install the Plugin with following command:
 
 
== DM500HD, DM800(se), DM7020HD and DM8000 ==
 
 
 
Copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266 FlashExpander] ipk via ftp in the directory /tmp and install the Plugin with following command:
 
  
 
  opkg install /tmp/flashexpander*
 
  opkg install /tmp/flashexpander*
  
After restarting Enigma2 you will find the Plugin in '''[Menu]''' => '''[Applications]'''.
+
After restarting Enigma2 you will find the Plugin in {{Taste|Menu}} → {{Taste|Plugins}}.
 
 
  
== DM7025(+) ==
+
=== DM7025(+) ===
  
For the 7025+ three extra packages are required before installing FlashExpander.  Copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?postid=1761047#post1761047 Packages] via ftp in the directory /tmp and install:
+
For the 7025+ three extra packages are required before installing FlashExpander.  Copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?postid=1761047#post1761047 Packages] via ftp in the directory <code>/tmp</code> and install:
  
 
  opkg install /tmp/*.ipk
 
  opkg install /tmp/*.ipk
  
Reboot the box and copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266 FlashExpander] ipk via ftp in the directory /tmp and install the Plugin with following command:
+
Reboot the box and copy the [http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266 FlashExpander] ipk via ftp in the directory <code>/tmp</code> and install the Plugin with following command:
  
 
  opkg install /tmp/flashexpander*
 
  opkg install /tmp/flashexpander*
  
 
+
After restarting Enigma2 you will find the Plugin in {{Taste|Menu}} → {{Taste|Plugins}}.
After restarting Enigma2 you will find the Plugin in '''[Menu]''' => '''[Applications]'''.
 
 
 
 
 
Back to [[#top | Inhaltsverzeichnis:]]
 
  
  
= Using FlashExpander =
+
== Using FlashExpander ==
  
 
The usage is simple and selfexplaining ;)
 
The usage is simple and selfexplaining ;)
  
{|border="0" cellspacing="15" cellpadding="0"
+
#Start the FlashExpander Plugin via {{Taste|Menu}} → {{Taste|Plugins}} and press the {{Taste|OK}} button.
|'''1.'''
+
#Choose the device or the NFS Share for outsourcing.
|Start the FlashExpander Plugin via '''[Menu]''' => '''[Applications]''' and press the '''[OK]''' button.
+
#Confirm the selection with {{Taste|Yes}}.
|-
+
#The directory <code>/usr</code> is copied onto the device or the NFS share. <br/>'''Attention, all data on the selected device are deleted!'''
|'''2.'''
+
#Reboot the Dreambox after the copying with {{Taste|Yes}}.
|Choose the device or the NFS Share for outsourcing.
+
#After the reboot you can open the FlashExpander Plugin again, to check the result ;) <br/>Here the availiable space is displayed. Other possibility to see the result is the command '''df -h''' via [[Telnet (en)|Telnet]] / ssh. The Addons Manager from [[GP3 Blue Panel (en)|Blue Panel]] will also display the free space, if [[GP3 Installation (en)|GP3 Plugin]] is installed.
|-
 
|valign="top"|'''3.'''
 
|Confirm the selection with '''[Yes]'''.
 
|-
 
|valign="top"|'''4.'''
 
|The directory /usr is copied onto the device or the NFS share. <br/>'''Attention, all data on the selected device are deleted!'''
 
|-
 
|'''5.'''
 
|Reboot the Dreambox after the copying with '''[Yes]'''.
 
|-
 
|valign="top"|'''6.'''
 
|After the reboot you can open the FlashExpander Plugin again, to check the result ;) <br/>Here the availiable space is displayed. Other possibility to see the result is the command '''df -h''' via [[telnet]] / [[ssh]]. The Addons Manager from [[GP3 Plugin Ueberblick|BluePanel]] will also display the free space, if [[GP3 Installation|GP3 Plugin]] is installed.
 
|}
 
 
 
  
Back to [[#top | Inhaltsverzeichnis:]]
 
  
 +
==NFS-Share==
 +
=== Mounting ===
  
= Mount NFS Share =
+
{{Achtung|1=Make sure the NFS Server is reachable while starting the Dreambox, otherwise the directory <code>/usr</code> can not be mounted. And keep in mind the files on the NFS share will be '''deleted''' before FlashExpander copies the files. We advice to create a new NFS share only for FlashExpander, to prevent the unwanted loss of files.}}
 
 
{{Attention|1=Make sure the NFS Server is reachable while starting the Dreambox, otherwise the directory /usr can not be mounted. And keep in mind the files on the NFS share will be '''deleted''' before FlashExpander copies the files. We advice to create a new NFS share only for FlashExpander, to prevent the unwanted loss of files.}}
 
  
 
This chapter shows the different steps for mounting a NFS Server on the Dreambox. The NFS Server must be mounted before using FlashExpander.
 
This chapter shows the different steps for mounting a NFS Server on the Dreambox. The NFS Server must be mounted before using FlashExpander.
  
 +
=== Creating ===
  
== Create NFS Share ==
+
Create on the NFS Server a share and edit the <code>/etc/exports</code>. Depending on the device you use, it is possible to do this with an UI. In this example the directory <code>/home/FE</code> is shared on a Linux computer. The entry in [http://de.wikipedia.org/wiki/Network_File_System#Konfiguration_in_Unix-Systemen exports] looks like below.  Of course you can limit the share on computers, subnets, ....  But this is beyond the scope of this guideline.  The user is responsible for the administration of the shares in his network.
 
 
Create on the NFS Server a share and edit the /etc/exports. Depending on the device you use, it is possible to do this with an UI. In this example the directory /home/FE is shared on a Linux computer. The entry in [http://de.wikipedia.org/wiki/Network_File_System#Konfiguration_in_Unix-Systemen exports] looks like below.  Of course you can limit the share on computers, subnets, ....  But this is beyond the scope of this guideline.  The user is responsible for the administration of the shares in his network.
 
  
 
  /home/FE *(rw,no_root_squash,async,no_subtree_check)
 
  /home/FE *(rw,no_root_squash,async,no_subtree_check)
  
 +
=== Mounting ===
  
== Mount NFS Share ==
+
Login via [[Telnet (en)|Telnet]] or ssh on the Dreambox. Create a directory which will be used for the mount.
 
 
Login via [[telnet]] or [[ssh]] on the Dreambox. Create a directory which will be used for the mount.
 
  
 
  mkdir /media/FE
 
  mkdir /media/FE
Zeile 128: Zeile 100:
 
  mount -t nfs -o rw,nolock,soft,tcp 192.168.1.125:/home/FE /media/FE
 
  mount -t nfs -o rw,nolock,soft,tcp 192.168.1.125:/home/FE /media/FE
  
 +
=== Use NFS Share with FlashExpander ===
  
== Use NFS Share with FlashExpander ==
+
After mounting successfully the share your dreambox is ready for using FlashExpander. Continu with the chapter '''[[FlashExpander_(en)#Using FlashExpander|Using FlashExpander]]''' for outsourcing the directory <code>/usr</code>. Have fun ;)
  
After mounting successfully the share your dreambox is ready for using FlashExpander. Continu with the chapter '''Using FlashExpander''' for outsourcing the directory /usr. Have fun ;)
 
  
 
+
== Slideshows ==
Back to [[#top | Inhaltsverzeichnis:]]
 
 
 
 
 
= Slideshows =
 
  
 
Two little slideshows showing FlashExpander in action. On the left, using an USB Stick with a xfs filesystem, and the second shows the usage of a NFS Server.
 
Two little slideshows showing FlashExpander in action. On the left, using an USB Stick with a xfs filesystem, and the second shows the usage of a NFS Server.
  
 
{|
 
{|
|<youtube v="6FkcbjIvZ8c"/>
+
|{{#ev:youtube|6FkcbjIvZ8c}}
|<youtube v="6_rm-O2YmRI"/>
+
|{{#ev:youtube|6_rm-O2YmRI}}
 
|}
 
|}
  
  
= Supportthread =
+
== Supportthread ==
  
Support neede? Click on the link ;)
+
Need support? Click on the following link ;)
  
 
[http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266&hilight=flashexpander FlashExpander (FE)]  
 
[http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=172266&hilight=flashexpander FlashExpander (FE)]  
  
 
+
[[Kategorie:Instructions (en)]]
'''Zurück zur Übersicht:[[Gemini-Wiki:Portal]] oder [[Hauptseite]]'''
+
[[Kategorie:Enigma2 Plugins (en)]]

Aktuelle Version vom 8. September 2013, 14:09 Uhr

Deutsch.png - in Deutsch English.png - in English
FlashExpander in action

The FlashExpander (FE) by mechatron "expands" the Flash memory with an additional device such as: USB Stick, CF Card, SD Card, HDD or SSD .... The directory /usr is copied from the Flash memory onto the device and is mounted over fstab.

The directory /usr contains System commands, programms, libraries, Plugins, Skins, etc.

After activating FlashExpander you will have enough space availiable (e.g. for the Webbrowser, HbbTV, ...), without overfilling the Flash memory.

Using a NFS Server for FlashExpander is possible from Version 0.32 upwards. The setup is a little bit more complex to configure, hence should be done only if you have some experiece. This possibility can be very interesting if you have a 500HD without USB-mod. In the chapter NFS-Share you can find a little guideline.

Gemini or iCVS is not required for using FlashExpander. The plugin was tested with several images, OE 1.6 and OE 2.0.

The source code of the plugin can be found on the Dreambox after the installation of the plugin. Any help for developing or translations are welcome.

The Plugin supports following languages:

  • English
  • German
  • French
  • Dutch
  • Italian

Requirements

  • An Image based on OE 1.6 or OE 2.0.
  • The device should a least have one partition formated as ext2/3/4 or xfs. A RAW Device, a device without partition, is not supported. These kind of device needs to be initalized and partitioned. You can use the devicemanager of the Dreambox or a computer to prepare the device (e.g. with GParted).
  • If you want to use a device with 2 partitions, you find interesting info in the eParted or fdisk article. With 2 partitions you can outsource the directory /usr on one partition and use the second partition for picons, swap or other stuff.
  • The DM7025(+) can only use a CF Card and needs additional packages to be installed, please follow the installation notes.
  • When using nfs, a share needs to be mounted over Telnet before activating FlashExpander. Attention! NFS shares mounted by autofs (automounter) are not supported!


Functionality

As mentioned before, only the directory /usr will be moved to the device or NFS Server. The other directories will be used by the dreambox as they where before from the flash memory. Keep in mind the target device will be deleted completely while activating FlashExpander!

The biggest benefit is achieved when FlashExpander ist activated immediately after flashing a new image. Afterwards you can install Plugins, Skins, ... which will be located onto the outsourced /usr directory automatically.

You can also use FlashExpander on an installed Dreambox. But no Flash memory will be freed up. You only outsource the directory /usr, this is independent from the availiable free memory in flash.

Once FlashExpander is activated the device should not be removed. If the device is removed the original directory /usr from Flash memory will be used again. You can also edit the entry in the /etc/fstab to disable the mount, and to use the original directory /usr in the Flash memory.


Installation

DM500HD, DM800(se), DM7020HD and DM8000

Copy the FlashExpander ipk via ftp in the directory /tmp and install the Plugin with following command:

opkg install /tmp/flashexpander*

After restarting Enigma2 you will find the Plugin in MenuPlugins.

DM7025(+)

For the 7025+ three extra packages are required before installing FlashExpander. Copy the Packages via ftp in the directory /tmp and install:

opkg install /tmp/*.ipk

Reboot the box and copy the FlashExpander ipk via ftp in the directory /tmp and install the Plugin with following command:

opkg install /tmp/flashexpander*

After restarting Enigma2 you will find the Plugin in MenuPlugins.


Using FlashExpander

The usage is simple and selfexplaining ;)

  1. Start the FlashExpander Plugin via MenuPlugins and press the OK button.
  2. Choose the device or the NFS Share for outsourcing.
  3. Confirm the selection with Yes.
  4. The directory /usr is copied onto the device or the NFS share.
    Attention, all data on the selected device are deleted!
  5. Reboot the Dreambox after the copying with Yes.
  6. After the reboot you can open the FlashExpander Plugin again, to check the result ;)
    Here the availiable space is displayed. Other possibility to see the result is the command df -h via Telnet / ssh. The Addons Manager from Blue Panel will also display the free space, if GP3 Plugin is installed.


NFS-Share

Mounting

Ambox attention.png Make sure the NFS Server is reachable while starting the Dreambox, otherwise the directory /usr can not be mounted. And keep in mind the files on the NFS share will be deleted before FlashExpander copies the files. We advice to create a new NFS share only for FlashExpander, to prevent the unwanted loss of files.

This chapter shows the different steps for mounting a NFS Server on the Dreambox. The NFS Server must be mounted before using FlashExpander.

Creating

Create on the NFS Server a share and edit the /etc/exports. Depending on the device you use, it is possible to do this with an UI. In this example the directory /home/FE is shared on a Linux computer. The entry in exports looks like below. Of course you can limit the share on computers, subnets, .... But this is beyond the scope of this guideline. The user is responsible for the administration of the shares in his network.

/home/FE	*(rw,no_root_squash,async,no_subtree_check)

Mounting

Login via Telnet or ssh on the Dreambox. Create a directory which will be used for the mount.

mkdir /media/FE

Mount the NFS Share with the following command. IP Adress and Share must match your configuration. After executing the command no error message should appear. Otherwise some settins on the server are wrong or the Mount syntax is incorrect. With the command mount you can check if the NFS Share is mounted.

mount -t nfs -o rw,nolock,soft,tcp 192.168.1.125:/home/FE /media/FE

Use NFS Share with FlashExpander

After mounting successfully the share your dreambox is ready for using FlashExpander. Continu with the chapter Using FlashExpander for outsourcing the directory /usr. Have fun ;)


Slideshows

Two little slideshows showing FlashExpander in action. On the left, using an USB Stick with a xfs filesystem, and the second shows the usage of a NFS Server.


Supportthread

Need support? Click on the following link ;)

FlashExpander (FE)