formatting a usb through dreambox?

rhurbarb

Senior Member
Messages
244
Would there be a plugin that would format my usb stick using fat 32?.My computer doesnt like my usb stick and its a pain keep getting out my laptop to format it.Thanks ..Rhurbarb
 

Ferret

Marching On Together !
Staff member
Administrator
Messages
17,549
most images have a inbuilt tool to format usb sticks.

What image are you running ?
 

rhurbarb

Senior Member
Messages
244
Hello Ferret im using Oozoon oe2..i looked through the software manager but nothing i could see in there for usb ..
Thinking about it now would there be a format driver in Dreamelite 4 as its on flash for me and Oozoon on usb

lol as far as Tspanel i cant get it to load in grrrrr .. a headache for me on that one Frank
 
Last edited:

frank087234

Well Known Member
Messages
1,002
Hello Ferret im using Oozoon oe2..i looked through the software manager but nothing i could see in there for usb ..
Thinking about it now would there be a format driver in Dreamelite 4 as its on flash for me and Oozoon on usb

lol as far as Tspanel i cant get it to load in grrrrr .. a headache for me on that one Frank

what setop box do u have? and image installed??
 

Ferret

Marching On Together !
Staff member
Administrator
Messages
17,549
Original dm800hd with oozoon 2.0 oe image on usb and dreamelite 4 in flash

On DE image

Does this not work ?

Blue Button Twice-Device Manager-media/usb

Somewhere in there sure there is format tool ill look when I get home tonight.
 

rhurbarb

Senior Member
Messages
244
Il look tonight i think i did see a format button on the dreamelite image,been a while since i opened that image up.Regards Rhurbarb
 

attentia

Registered
Messages
13
tutorial to install an image DreamElite4.0 usb stick

1) Format a USB drive in FAT32

2) Insert the key into usb port of the dreambox a message system appears at the screen (select yes)

c2sq.png


3) The usb key is recognized by the system but not mount

drj.png


4) Red button for Initialize, a message system appears (yes)

y0u1.png


5) the formatting of the key begins

pbux.png


6) the key is initializes and mount in the media/hdd, but it is a usb key that we so in principle we will modify ( lol )

8bp.png


5) Staying on the image of the key mount/media/hdd (caution it is mandatory), open DCC and /etc edit the fstab file

1sz.png


6) Deletes the full line /dev/disk/by-uuid... / media/hdd... auto auto 0 0 and click Save

u67i.png


7) Now raise ok button on the USB in /media/hdd, a message system appears, selected manually select a mountpoint

v0d4.png


8) Select /media/hdd

kg3.png


9) Ok and selected usb and green button (use)

l3kq.png


10) Now the USB is well recognized in /media/usb make green button (save)

6gaj.png


11) A message system appears (yes)

jrzk.png

 

attentia

Registered
Messages
13
next tuto

12) Now the USB is well fit in /media/usb

tlhc.png


13) To check you can see with DCC the fstab file in /etc

5cz6.png


 
Last edited:

rhurbarb

Senior Member
Messages
244
hi

Thanks but to format the usb stick you first need to format it in fat32 before you intilize it in the dreambox unless im wrong > I have intilized the usb stick before but it doesnt always work so i have to go back to fat32 then intilize it throught the dreamelite image
 
Last edited:

frank087234

Well Known Member
Messages
1,002
I normally do it through the pc ;) but my post was if i could do it through my dm ..Thanks anyway

telnet this to ur box to format

Code:
[B][COLOR="Cyan"][COLOR="Blue"]mkfs.fat32 /dev/sdb1[/COLOR][/COLOR][/B]

ps change sdb1 as per usb mount
 

rhurbarb

Senior Member
Messages
244
My usb is mounted as (sdb) -/media/usb

ive tried mkfs.fat32 /dev/sdb1

and also mkfs.fat32 /dev/usb
but says not found in telnet .ive opkg and it connects to the dreambox no problem .Thanks Frank
 

frank087234

Well Known Member
Messages
1,002
Maybe this could help u understand better. Should be able to apply to dm800se.


Finding/Mounting your USB Memory stick / Pendrive
(using TELNET)

- Use to find it : fdisk -l

What you will see (hdd installed sda, and pendrive sdb) :

root@dm800:~# fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 7296 58605116 83 Linux

Disk /dev/sdb: 4059 MB, 4059561984 bytes
229 heads, 32 sectors/track, 1081 cylinders
Units = cylinders of 7328 * 512 = 3751936 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1082 3964400 b Win95 FAT32

- As you can see the USB device is on /dev/sdb1

- To initialize (to ext3), one time only needed :
mkfs.ext3 /dev/sdb1

- Mounting the External File System / Pendrive
mount /dev/sdb1 /mnt/usb

The line mounts the device at the /dev/sdb1 location to the
/mnt/usb directory. If you want to mount it as hdd then you just
need to send command : mount /dev/sdb1 /mnt/hdd

Now you can reference your pendrive from the command line
using the folder /mnt/usb.

Now your pendrive will be available at cd /media/usb/

- Unmount if you don't use :
umount -f -l /mnt/usb

- See memory amount on devices : df -h (this only once mounted)


- Automount In the Terminal

To have your pendrive mount each time your server is restarted, you must edit your /etc/fstab file. Simply add at the bottom of your /etc/fstab file:

/dev/sdb1 /mnt/usb ext3 defaults 0 0

The first argument (/dev/sdb1) tells the system what device to mount, and the second argument (/mnt/usb) tells the system where to mount it. The third argument is the filesystem type (ext3). The fourth argument (defaults) tells the system what options to apply to the device, so in this case we’ll just use the defaults. The fifth and sixth arguments (both zeros) tell the system if the filesystem should be backed up using the dump utility, and the second zero tells the system whether to process the device when fsck is run. We can leave them both to zero for now.
 
Top