7025 Dreambox and USB memory stick

1184jap

Registered
Messages
57
I am trying to backup a Gemini Image on to a USB memory stick fitted to 7025.How do I get a 7025 to recognise it.
 

Rocknroll

Staff member
Administrator
Messages
6,174
I don't have 7025 so can't say I know much about it. But perhaps you could try this usb mount script I found on a German board.
You place the file anywhere on your dreambox and run it on telnet.
But don't blame me if something goes wrong :)

But I imagine thowi's multiboot plugin should have something that could sort that out so maybe you should try that first. But that is just a guess since I never seen that plugin in action. You can find it HERE
 

1184jap

Registered
Messages
57
Thanks @Rocknroll I will try this out later when I feel couragous. Let you know what happens.
 

1184jap

Registered
Messages
57
Thanks @Rocknroll Tried usbmount.sh . Did not work. Anybody out there any ideas.

result of script

root@dm7025:/tmp> sh mountusb.sh
Loading Kernelmodules ...
modprobe: module ohci-hcd not found.
modprobe: failed to load module ohci-hcd
USB stick not yet recognized, try again later ...
root@dm7025:/tmp>
 

Rocknroll

Staff member
Administrator
Messages
6,174
I read somebody suggested formatting usb as ext3 first. Not sure if that helps.
 

1184jap

Registered
Messages
57
I found the Linux command for 3ext formating in a help file for Dreamflash. the box would not run it. Does anybody know the correct usage of this for 7025. See results of entering command below.

root@dm7025:~# mkfs.ext3 /dev/scsi/host0/bus0/target0/lun0/disc
mke2fs 1.38 (30-Jun-2005)
Could not stat /dev/scsi/host0/bus0/target0/lun0/disc --- No such file or directory

The device apparently does not exist; did you specify it correctly?
root@dm7025:~#
 

Rocknroll

Staff member
Administrator
Messages
6,174
This the procedure as explained by gutemine over on ihad hope it will help you somewhat:

Thera a 5 steps on the ladder to success:

have the USB drivers loaded

recognice uSB device ad /dev/scsi ... Path

fdisk of this path to create partition on USB stick

mkfs.ext3 to make unix filesystem on this partition.

Mount the USB stick (automount, fstab,..)

Instead of finding out all these commands and then have troubles with each of them, you can use the multiboot disable feature to achive what you are looking for:

FTP the kit (8.3) to /var/tmp
and then type in telnet:

cd /
bunzip2 /var/tmp/multiboot*
tar -xvf multiboot*
/var/tmp/multiboot.sh disable u

After successfull execution USB stick should be formated and mounted empty at /media/usb.

Multiboot is not installed in this case, and after a reboot the kit will be gone from /var/tmp completely !

Instead you can off course simply use the enable u feature of multiboot and have the whole image copied to the USB stick (bootable !)
with /media/mb/multiboot.sh copy 1 after the enable ;-)
 

1184jap

Registered
Messages
57
@ Rocknroll Still not working. Looked good as command results rolled by. See attached log. When I try to do backup from box it says destination does not exist.

root@dm7025:~> cd /
root@dm7025:/> bunzip2 /var/tmp/multiboot83.tar.bz2
root@dm7025:/> tar -xvf multiboot.tar
root@dm7025:/> tar -xvf /var/tmp/multiboot83.tar
var/tmp/dosfstools_2.10-r0_mipsel.ipk
var/tmp/bzip2_1.0.2-r1_mipsel.ipk
var/tmp/mkdosfs
var/tmp/mkfs.jffs2
var/tmp/buildimage
var/tmp/dump
var/tmp/makekit.sh
var/tmp/readme.txt
var/tmp/monitor.sh
var/tmp/multiboot.sh
var/tmp/multiboot.png
var/tmp/erase.cmd
var/tmp/flashboot.bat
var/tmp/rmsettings.sh
var/tmp/cpsettings.sh
var/tmp/DM7025Images.lst
var/tmp/vmlinux.gzU
var/tmp/bootlogo.mvi9
var/tmp/bootlogo.mvi8
var/tmp/bootlogo.mvi7
var/tmp/bootlogo.mvi6
var/tmp/bootlogo.mvi5
var/tmp/bootlogo.mvi4
var/tmp/bootlogo.mvi3
var/tmp/bootlogo.mvi2
var/tmp/bootlogo.mvi12
var/tmp/bootlogo.mvi11
var/tmp/bootlogo.mvi10
var/tmp/bootlogo.mvi1
var/tmp/bootlogo.mvi0
var/tmp/mbfbmessage
var/tmp/unrar
var/tmp/encrypt
var/tmp/autorun.batX
var/tmp/autorun.bat0
var/tmp/plugin.py
var/tmp/mbripimage.py
var/tmp/__init__.py
var/tmp/bootmanager
var/tmp/bootmanager/hallo
var/tmp/bootmanager/hallo.c
var/tmp/bootmanager/bootmanager.c
var/tmp/bootmanager/bootmanager
var/tmp/bootmanager/bootmanager.sh
var/tmp/bootmanager/install.sh
var/tmp/bootmanager/uninstall.sh
var/tmp/bootmanager/readme_first.txt
var/tmp/kits
var/tmp/kits/gettext_0.14.1-r3_mipsel.ipk
var/tmp/kits/gettext-dev_0.14.1-r3_mipsel.ipk
var/tmp/kits/glibc-charmap-utf-8_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-charmap-iso-8859-1_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-charmap-iso-8859-15_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/localedef_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-iso14651-t1_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-i18n_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-fraction_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-font_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-compat_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-combining_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-cjk-variants_2.3.5+cvs20051107-r0_mipsel.
ipk
var/tmp/kits/glibc-localedata-translit-cjk-compat_2.3.5+cvs20051107-r0_mipsel.ip
k
var/tmp/kits/glibc-localedata-translit-circle_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-wide_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-small_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-neutral_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-narrow_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-translit-hangul_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-de-de_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-de-de-iso-8859-1_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-de-de+euro_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-de-de_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-de-de+euro_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-it-it_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-it-it-iso-8859-1_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/locale-base-it-it+euro_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-it-it_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/kits/glibc-localedata-it-it+euro_2.3.5+cvs20051107-r0_mipsel.ipk
var/tmp/locale
var/tmp/locale/usr
var/tmp/locale/usr/lib
var/tmp/locale/it
var/tmp/locale/it/LC_MESSAGES
var/tmp/locale/it/LC_MESSAGES/multiboot.mo
var/tmp/locale/it/LC_MESSAGES/multiboot_it.po
var/tmp/locale/es
var/tmp/locale/es/LC_MESSAGES
var/tmp/locale/fr
var/tmp/locale/fr/LC_MESSAGES
var/tmp/locale/en
var/tmp/locale/en/LC_MESSAGES
var/tmp/locale/en/LC_MESSAGES/multiboot.mo
var/tmp/locale/en/LC_MESSAGES/multiboot_en.po
var/tmp/locale/de
var/tmp/locale/de/LC_MESSAGES
var/tmp/locale/de/LC_MESSAGES/multiboot_de.po
var/tmp/locale/de/LC_MESSAGES/multiboot.mo
usr/lib/enigma2/python/Plugins/Extensions/Multiboot/multiboot.png
usr/lib/enigma2/python/Plugins/Extensions/Multiboot/plugin.py
usr/lib/enigma2/python/Plugins/Extensions/Multiboot/__init__.py
root@dm7025:/> /var/tmp/multiboot.sh disable u

----------------------------------------------------------
Disabling Multiboot ...
----------------------------------------------------------
Multiboot will be disabled on USB stick
----------------------------------------------------------
USB stick not available ...
Loading USB Kernelmodules ...
Check if USB stick is plugged in and try in 30 sec again ...
----------------------------------------------------------
root@dm7025:/> /var/tmp/multiboot.sh disable u

----------------------------------------------------------
Disabling Multiboot ...
----------------------------------------------------------
Multiboot will be disabled on USB stick
Erasing USB stick ...
Making empty Filesystem on USB stick ...
Cleaning fstab ...
Cleaning up Multiboot directories ...
----------------------------------------------------------
Disabling multiboot finished
Multiboot devices should be mounted again EMPTY
Enigma2 needs to be restarted now ...
----------------------------------------------------------
root@dm7025:/>
 

Rocknroll

Staff member
Administrator
Messages
6,174
I don't know maybe you can try formatting it differently on windows first. Try both as fat32 and fat. I can't remember as what I formated my usb stick.
 

1184jap

Registered
Messages
57
I tried the different format types. But the result is the same. I will have another go at it later on.
 

1184jap

Registered
Messages
57
@ Rocknroll I reloaded gemini again and tried the different FAT's but no difference. Any other ideas.???
 

Rocknroll

Staff member
Administrator
Messages
6,174
@ Rocknroll I reloaded gemini again and tried the different FAT's but no difference. Any other ideas.???

Well I guess you could try researching on general information about mounting and formatting usb sticks on linux. Same principle should apply to dreambox:
Maybe some of these links can help:

http://tldp.org/HOWTO/html_single/Flash-Memory-HOWTO/
http://www.mydigitallife.info/2006/09/10/how-to-mount-usb-disk-drive-in-unix-or-linux/

Or following more complicated alternative explained in that thread which is reference again on general principle of usb devices on linux:

Thera a 5 steps on the ladder to success:

have the USB drivers loaded

recognice uSB device ad /dev/scsi ... Path

fdisk of this path to create partition on USB stick

mkfs.ext3 to make unix filesystem on this partition.

Mount the USB stick (automount, fstab,..)

Or perhaps you can try enabling usb with multiboot.

I guess command should be :

/var/tmp/multiboot.sh enable u
 

1184jap

Registered
Messages
57
Did command "/var/tmp/multiboot.sh enable " see results below. But still 7025 fails to recognise USB stick for backups. I think I will have learn something about Linux and USB's.

root@dm7025:/> /var/tmp/multiboot.sh enable u 0 0 4 80 8

----------------------------------------------------------
Enabling / Updating Multiboot ...
Multiboot will be used on USB stick
Creating 4 Partitions on USB stick ...
USB stick size is 492 MB
First Partition will be 157 MB ...
157 MB Standardpartition + 4 x 80 MB Images + 8 MB Exchangepartition
Making Standardpartition on beginning of USB stick ...
Making Multiboot Exchangepartition on end of USB stick ...
Making Image Partition 1 on USB stick ...
Making Image Partition 2 on USB stick ...
Making Image Partition 3 on USB stick ...
Making Image Partition 4 on USB stick ...
Extending /etc/fstab with USB Multiboot Partitions
----------------------------------------------------------
Copying Files from multiboot kit now to /media/mb
----------------------------------------------------------
Enabling turbo nfi Image copy with enigma2 stopped
Finished enable / update !
Enigma2 needs to be restarted now ...
----------------------------------------------------------
root@dm7025:/>


root@dm7025:/> /var/tmp/multiboot.sh info
----------------------------------------------------------
Multiboot Version 83 - Showing available Partitions
----------------------------------------------------------
Partition: 1 EMPTY
Partition: 2 EMPTY
Partition: 3 EMPTY
Partition: 4 EMPTY

----------------------------------------------------------
You are booted from FLASH
----------------------------------------------------------
autorun.bat on CF card for next reboot
----------------------------------------------------------
/flash/bootlogo.elf
/flash/vmlinux.gz
 
Top